Project

General

Profile

« Previous | Next » 

Revision 630

Added by berkley about 24 years ago

changed replication interface to make it easier to see the servers.

View differences:

replControl.html
1
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0//EN">
2
<html>
1
  <HTML>
2
  <HEAD>
3
  <TITLE>MetaCat</TITLE>
4
  <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
5
  </HEAD> 
6
  <FRAMESET COLS="*" FRAMEBORDER=0 BORDER=0>
3 7

  
4
<head>
5
  <title>Metacat Replication Control Panel</title>
6
  <link rel="stylesheet" type="text/css" href="@web-base-url@/default.css">
7
</head>
8
<body>
8
    <FRAMESET ROWS="*,200"  FRAMEBORDER=0 BORDER=0>
9
    
10
    <FRAME SRC="replMain.html" BORDER=0 NAME="top">
9 11

  
10
<table class="tabledefault">
11
<tr><td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"></td>
12
<td colspan="7">
13
<div class="title">Metacat Replication Control Panel</div>
14
</td>
15
</tr>
16
<tr>
17
  <td><a href="." class="toollink"> KNB </a></td>
18
  <td><a href="data.html" class="toollink"> Data </a></td>
19
  <td><a href="people.html" class="toollink"> People </a></td>
20
  <td><a href="informatics" class="toollink"> Informatics </a></td>
21
  <td><a href="biodiversity" class="toollink"> Biodiversity </a></td>
22
  <td><a href="education" class="toollink"> Education </a></td>
23
  <td><a href="software" class="toollink"> Software </a></td>
24
</tr>
25
</table>
12
    <FRAME SRC="@replication-path@?action=servercontrol&subaction=list"
13
           name="bottom">
26 14

  
27
<p>&nbsp;</p>
28

  
29
<table border="0" cellpadding="4" cellspacing="0" width="100%" 
30
       class="tablepanel">
31
  <tr class="tablehead">
32
    <td><b>Time Handler</b></td>
33
  </tr>
34
  <tr>
35
    <td rowspan="2" width="50%">
36
    <form action="@replication-path@" method="POST">
37
      <input type="radio"  name="action" value="start">Start 
38
      &nbsp;&nbsp; Delta T: <input value="30" size="4" name="rate"> seconds<br>
39
      <input type="radio"  name="action" value="stop">Stop <br><br>
40
      <input type="submit" value="Submit">
41
    </form>
42
    </td>
43
  </tr>
44
</table>
45
<table border="0" cellpadding="4" cellspacing="0" width="100%" 
46
       class="tablepanel">
47
  <tr class="tablehead">
48
    <td><b>Force Replication</b></td>
49
  </tr>
50
  <tr>
51
    <td rowspan="2" width="50%">
52
    <form action="@replication-path@" method="POST">
53
      <input type="radio"  name="action" value="getall"> Get All - bring all updated
54
      documents from remote hosts to this server<br><br>
55
      
56
      <input type="submit" value="Submit">
57
    </form>
58
    </td>
59
  </tr>
60
</table>
61
<table border="0" cellpadding="4" cellspacing="0" width="100%" 
62
       class="tablepanel">
63
  <tr class="tablehead">
64
    <td><b>Servers</b></td>
65
  </tr>
66
  <tr>
67
    <td rowspan="2" width="50%">
68
    <form action="@replication-path@" method="POST">
69
      <input type="hidden" name="action" value="servercontrol">
70
      <input type="radio" name="subaction" value="delete"> Remove this server<br>
71
      <input type="radio" name="subaction" value="add"> Add this server<br>
72
      <input type="radio" name="subaction" value="list"> List the current servers<br>
73
      <input size="30" name="server" > <br>Replicate To (1 or 0)?:
74
      <input size="2" name="replicate">
75
      <br><br>
76
      <input type="submit" value="Submit">
77
    </form>
78
    </td>
79
  </tr>
80
</table>
81
</body>
82
</html>
15
    </FRAMESET>
16
  </FRAMESET>

Also available in: Unified diff