Project

General

Profile

« Previous | Next » 

Revision 6669

move replication configuration actions to the admin servlet and out of the replication servlet
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528

View differences:

replMain.html
60 60
  </tr>
61 61
  <tr>
62 62
    <td rowspan="2" width="50%">
63
    <form action="../../../servlet/replication" method="POST" target="bottom">
63
    <form action="../../../admin" method="POST" target="bottom">
64
      <input type="hidden" name="configureType" value="replication">    
64 65
      <input type="radio"  name="action" value="start">Start 
65 66
      &nbsp;&nbsp; Delta T: <input value="172800000" size="15" name="rate"> milliseconds &nbsp;&nbsp; First Time <input value="10:00 PM" size="8" name="firsttime">&nbsp;(The format should be 10:00 AM) <br>
66 67
      <input type="radio"  name="action" value="stop">Stop <br><br>
......
76 77
  </tr>
77 78
  <tr>
78 79
    <td rowspan="2" width="50%">
79
    <form action="../../../servlet/replication" method="POST" target="bottom">
80
      <input type="hidden"  name="action" value="getall"> 
81
      Get All - bring all updated documents from remote hosts to this server<br><br>
82
      
80
    <form action="../../../admin" method="POST" target="bottom">
81
      <input type="hidden" name="action" value="getall">
82
      <input type="hidden" name="configureType" value="replication">    
83
      Get All - bring all updated documents from remote hosts to this server
84
      <br>
85
      <br>
83 86
      <input type="submit" value="Submit" target="bottom">
84 87
    </form>
85 88
    </td>
......
92 95
  </tr>
93 96
  <tr>
94 97
    <td rowspan="2" width="50%">
95
    <form action="../../../servlet/replication" method="POST" target="bottom">
98
    <form action="../../../admin" method="POST" target="bottom">
99
      <input type="hidden" name="configureType" value="replication">    
96 100
      <input type="hidden" name="action" value="servercontrol">
97 101
      <input type="radio" name="subaction" value="delete"> Remove this server<br>
98 102
      <input type="radio" name="subaction" value="add"> Add this server<br>
......
109 113
    </td>
110 114
  </tr>
111 115
</table>
112
<a href="../../../servlet/replication?action=servercontrol&subaction=list" target="bottom">
116
<a href="../../../admin?configureType=replication&action=servercontrol&subaction=list" target="bottom">
113 117
Refresh Server List</a>
114 118
</body>
115 119
</html>

Also available in: Unified diff