Commit f1679aff authored by Ryan Graham's avatar Ryan Graham Committed by ryan

More UI tweaks (finishing out most of the rest of the pages). i'm sure there are more to come.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5299 b35dd754-fafc-0310-a699-88a17e54d16e
parent d361268c
This diff is collapsed.
......@@ -21,11 +21,11 @@
<% webManager.init(request, response, session, application, out ); %>
<html>
<head>
<title><fmt:message key="compression.settings.title"/></title>
<meta name="pageID" content="server-compression"/>
</head>
<body>
<head>
<title><fmt:message key="compression.settings.title"/></title>
<meta name="pageID" content="server-compression"/>
</head>
<body>
<% // Get parameters:
boolean update = request.getParameter("update") != null;
......@@ -64,12 +64,16 @@
<fmt:message key="compression.settings.info" />
</p>
<!-- BEGIN compression settings -->
<form action="compression-settings.jsp">
<!--<div class="jive-contentBoxHeader">
</div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<fieldset>
<legend><fmt:message key="compression.settings.client.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<h4><fmt:message key="compression.settings.client.policy" /></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
......@@ -97,15 +101,12 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<br>
<br>
<fieldset>
<legend><fmt:message key="compression.settings.server.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<h4><fmt:message key="compression.settings.server.policy" /></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
......@@ -133,14 +134,12 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END compression settings -->
</body>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
......@@ -54,14 +54,17 @@
%>
<html>
<head><title><fmt:message key="filetransferproxy.settings.title"/></title></head>
<meta name="pageID" content="server-transfer-proxy"/>
<head>
<title><fmt:message key="filetransferproxy.settings.title"/></title>
</head>
<meta name="pageID" content="server-transfer-proxy"/>
<body>
<p>
<fmt:message key="filetransferproxy.settings.info"/>
</p>
<% if (!errors.isEmpty()) { %>
<% if (!errors.isEmpty()) { %>
<div class="jive-error">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
......@@ -78,7 +81,6 @@
</table>
</div>
<br>
<% }
else if (isUpdated) { %>
<div class="jive-success">
......@@ -98,48 +100,48 @@ else { %>
<br>
<% } %>
<form action="file-transfer-proxy.jsp" method="post">
<fieldset>
<legend><fmt:message key="filetransferproxy.settings.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb02"
<%= (isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="filetransferproxy.settings.label_enable"/></b>
- <fmt:message key="filetransferproxy.settings.label_enable_info"/>
</label> <input type="text" size="5" maxlength="10" name="port"
value="<%= port %>" >
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb01"
<%= (!isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="filetransferproxy.settings.label_disable"/></b>
- <fmt:message key="filetransferproxy.settings.label_disable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN 'Proxy Service' -->
<form action="file-transfer-proxy.jsp" method="post">
<div class="jive-contentBoxHeader">
<fmt:message key="filetransferproxy.settings.enabled.legend"/>
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb02"
<%= (isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="filetransferproxy.settings.label_enable"/></b>
- <fmt:message key="filetransferproxy.settings.label_enable_info"/>
</label> <input type="text" size="5" maxlength="10" name="port"
value="<%= port %>" >
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb01"
<%= (!isProxyEnabled ? "checked" : "") %> >
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="filetransferproxy.settings.label_disable"/></b>
- <fmt:message key="filetransferproxy.settings.label_disable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END 'Proxy Service' -->
</body>
</html>
\ No newline at end of file
......@@ -22,11 +22,11 @@
<html>
<head>
<title><fmt:message key="manage-updates.title"/></title>
<meta name="pageID" content="manage-updates"/>
</head>
<body>
<head>
<title><fmt:message key="manage-updates.title"/></title>
<meta name="pageID" content="manage-updates"/>
</head>
<body>
<% // Get parameters
boolean update = request.getParameter("update") != null;
......@@ -101,8 +101,7 @@
</tr>
</tbody>
</table>
</div>
<br>
</div><br>
<% }
else if (updateSucess) { %>
......@@ -113,135 +112,138 @@ else if (updateSucess) { %>
<% } %>
<form action="manage-updates.jsp" method="post">
<fieldset>
<legend><fmt:message key="manage-updates.enabled.legend"/></legend>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="false" id="rb01"
<%= (!serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="manage-updates.label_disable"/></b> - <fmt:message key="manage-updates.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="true" id="rb02"
<%= (serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="manage-updates.label_enable"/></b> - <fmt:message key="manage-updates.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</fieldset>
<br/><br/>
<fieldset>
<legend><fmt:message key="manage-updates.notif.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="false" id="rb03"
<%= (!notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="manage-updates.notif.label_disable"/></b> - <fmt:message key="manage-updates.notif.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="true" id="rb04"
<%= (notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04">
<b><fmt:message key="manage-updates.notif.label_enable"/></b> - <fmt:message key="manage-updates.notif.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br/><br/>
<fieldset>
<legend><fmt:message key="manage-updates.proxy.enabled.legend"/></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb05"
<%= (!proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05">
<b><fmt:message key="manage-updates.proxy.label_disable"/></b> - <fmt:message key="manage-updates.proxy.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb06"
<%= (proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06">
<b><fmt:message key="manage-updates.proxy.label_enable"/></b> - <fmt:message key="manage-updates.proxy.label_enable_info"/>
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap align="right" class="c1">
<fmt:message key="manage-updates.proxy.host" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="proxyHost"
value="<%= ((proxyHost != null) ? proxyHost : "") %>">
</td>
</tr>
<tr valign="top">
<td width="1%" align="right" nowrap class="c1">
<fmt:message key="manage-updates.proxy.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="proxyPort"
value="<%= ((proxyPort > 0) ? proxyPort : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN manage updates settings -->
<form action="manage-updates.jsp" method="post">
<!--<div class="jive-contentBoxHeader">
</div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<h4><fmt:message key="manage-updates.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="false" id="rb01"
<%= (!serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="manage-updates.label_disable"/></b> - <fmt:message key="manage-updates.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="serviceEnabled" value="true" id="rb02"
<%= (serviceEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="manage-updates.label_enable"/></b> - <fmt:message key="manage-updates.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<h4><fmt:message key="manage-updates.notif.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="false" id="rb03"
<%= (!notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03">
<b><fmt:message key="manage-updates.notif.label_disable"/></b> - <fmt:message key="manage-updates.notif.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="notificationsEnabled" value="true" id="rb04"
<%= (notificationsEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04">
<b><fmt:message key="manage-updates.notif.label_enable"/></b> - <fmt:message key="manage-updates.notif.label_enable_info"/>
</label>
</td>
</tr>
</tbody>
</table>
<br/>
<br/>
<h4><fmt:message key="manage-updates.proxy.enabled.legend"/></h4>
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="false" id="rb05"
<%= (!proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05">
<b><fmt:message key="manage-updates.proxy.label_disable"/></b> - <fmt:message key="manage-updates.proxy.label_disable_info"/>
</label>
</td>
</tr>
<tr valign="middle">
<td width="1%" nowrap>
<input type="radio" name="proxyEnabled" value="true" id="rb06"
<%= (proxyEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06">
<b><fmt:message key="manage-updates.proxy.label_enable"/></b> - <fmt:message key="manage-updates.proxy.label_enable_info"/>
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="3" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap align="right" class="c1">
<fmt:message key="manage-updates.proxy.host" />
</td>
<td width="99%">
<input type="text" size="15" maxlength="70" name="proxyHost"
value="<%= ((proxyHost != null) ? proxyHost : "") %>">
</td>
</tr>
<tr valign="top">
<td width="1%" align="right" nowrap class="c1">
<fmt:message key="manage-updates.proxy.port" />
</td>
<td width="99%">
<input type="text" size="10" maxlength="50" name="proxyPort"
value="<%= ((proxyPort > 0) ? proxyPort : "") %>">
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br/>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END manage updates settings -->
</body>
......
......@@ -23,12 +23,12 @@
<% webManager.init(request, response, session, application, out ); %>
<html>
<head>
<title><fmt:message key="offline.messages.title"/></title>
<meta name="pageID" content="server-offline-messages"/>
<meta name="helpPage" content="manage_offline_messages.html"/>
</head>
<body>
<head>
<title><fmt:message key="offline.messages.title"/></title>
<meta name="pageID" content="server-offline-messages"/>
<meta name="helpPage" content="manage_offline_messages.html"/>
</head>
<body>
<c:set var="success" />
......@@ -185,99 +185,100 @@
<b><%= format.format(OfflineMessageStore.getInstance().getSize()/1024.0/1024.0) %> MB</b>
</p>
<form action="offline-messages.jsp">
<fieldset>
<legend><fmt:message key="offline.messages.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= BOUNCE %>" id="rb01"
<%= ((strategy==BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="offline.messages.bounce_option" /></b></label> - <fmt:message key="offline.messages.never_back" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= DROP %>" id="rb02"
<%= ((strategy==DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="offline.messages.drop_option" /></b></label> - <fmt:message key="offline.messages.never_store" />
</td>
</tr>
<tr valign="top" class="">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= STORE %>" id="rb03"
<%= ((strategy==STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="offline.messages.store_option" /></b></label> - <fmt:message key="offline.messages.storage_wildfire" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= ALWAYS_STORE %>" id="rb05"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==ALWAYS_STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05"><b><fmt:message key="offline.messages.always_store" /></b></label> - <fmt:message key="offline.messages.always_store_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_BOUNCE%>" id="rb06"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06"><b><fmt:message key="offline.messages.bounce" /></b></label> - <fmt:message key="offline.messages.bounce_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_DROP %>" id="rb07"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb07"><b><fmt:message key="offline.messages.drop" /></b></label> - <fmt:message key="offline.messages.drop_info" />
</td>
</tr>
<tr>
<td colspan="2">
<fmt:message key="offline.messages.storage_limit" />
<input type="text" size="5" maxlength="12" name="quota"
value="<%= (quota>0 ? ""+format.format(quota) : "") %>"
onclick="this.form.strategy[2].checked=true;">
KB
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<!-- BEGIN 'Offline Message Policy' -->
<form action="offline-messages.jsp">
<div class="jive-contentBoxHeader">
<fmt:message key="offline.messages.policy" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= BOUNCE %>" id="rb01"
<%= ((strategy==BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="offline.messages.bounce_option" /></b></label> - <fmt:message key="offline.messages.never_back" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= DROP %>" id="rb02"
<%= ((strategy==DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="offline.messages.drop_option" /></b></label> - <fmt:message key="offline.messages.never_store" />
</td>
</tr>
<tr valign="top" class="">
<td width="1%" nowrap>
<input type="radio" name="strategy" value="<%= STORE %>" id="rb03"
<%= ((strategy==STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="offline.messages.store_option" /></b></label> - <fmt:message key="offline.messages.storage_wildfire" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
&nbsp;
</td>
<td width="99%">
<table cellpadding="4" cellspacing="0" border="0">
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= ALWAYS_STORE %>" id="rb05"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==ALWAYS_STORE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb05"><b><fmt:message key="offline.messages.always_store" /></b></label> - <fmt:message key="offline.messages.always_store_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_BOUNCE%>" id="rb06"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_BOUNCE) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb06"><b><fmt:message key="offline.messages.bounce" /></b></label> - <fmt:message key="offline.messages.bounce_info" />
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="storeStrategy" value="<%= STORE_AND_DROP %>" id="rb07"
onclick="this.form.strategy[2].checked=true;"
<%= ((storeStrategy==STORE_AND_DROP) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb07"><b><fmt:message key="offline.messages.drop" /></b></label> - <fmt:message key="offline.messages.drop_info" />
</td>
</tr>
<tr>
<td colspan="2">
<fmt:message key="offline.messages.storage_limit" />
<input type="text" size="5" maxlength="12" name="quota"
value="<%= (quota>0 ? ""+format.format(quota) : "") %>"
onclick="this.form.strategy[2].checked=true;">
KB
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END 'Offline Message Policy' -->
</body>
</body>
</html>
\ No newline at end of file
......@@ -22,12 +22,12 @@
<% webManager.init(request, response, session, application, out ); %>
<html>
<head>
<title><fmt:message key="private.data.settings.title"/></title>
<meta name="pageID" content="server-data-settings"/>
<meta name="helpPage" content="set_private_data_storage_policy.html"/>
</head>
<body>
<head>
<title><fmt:message key="private.data.settings.title"/></title>
<meta name="pageID" content="server-data-settings"/>
<meta name="helpPage" content="set_private_data_storage_policy.html"/>
</head>
<body>
<% // Get parameters:
boolean update = request.getParameter("update") != null;
......@@ -64,47 +64,45 @@
<fmt:message key="private.data.settings.info" />
</p>
<!-- BEGIN 'Set Private Data Policy' -->
<form action="private-data-settings.jsp">
<fieldset>
<legend><fmt:message key="private.data.settings.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="true" id="rb01"
<%= (privateEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="private.data.settings.enable_storage" /></b> -
<fmt:message key="private.data.settings.enable_storage_info" />
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="false" id="rb02"
<%= (!privateEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="private.data.settings.disable_storage" /></b> -
<fmt:message key="private.data.settings.disable_storage_info" />
</label>
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<div class="jive-contentBoxHeader">
<fmt:message key="private.data.settings.policy" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="true" id="rb01"
<%= (privateEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01">
<b><fmt:message key="private.data.settings.enable_storage" /></b> -
<fmt:message key="private.data.settings.enable_storage_info" />
</label>
</td>
</tr>
<tr valign="top">
<td width="1%" nowrap>
<input type="radio" name="privateEnabled" value="false" id="rb02"
<%= (!privateEnabled ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02">
<b><fmt:message key="private.data.settings.disable_storage" /></b> -
<fmt:message key="private.data.settings.disable_storage_info" />
</label>
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END 'Set Private Data Policy' -->
</body>
</body>
</html>
\ No newline at end of file
......@@ -24,12 +24,12 @@
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<html>
<head>
<title><fmt:message key="reg.settings.title"/></title>
<meta name="pageID" content="server-reg-and-login"/>
<meta name="helpPage" content="manage_registration_and_login_settings.html"/>
</head>
<body>
<head>
<title><fmt:message key="reg.settings.title"/></title>
<meta name="pageID" content="server-reg-and-login"/>
<meta name="helpPage" content="manage_registration_and_login_settings.html"/>
</head>
<body>
<% // Get parameters
boolean save = request.getParameter("save") != null;
......@@ -99,10 +99,14 @@
<% } %>
<fieldset>
<legend><fmt:message key="reg.settings.inband_account" /></legend>
<div>
<p>
<!-- BEGIN registration settings -->
<!--<div class="jive-contentBoxHeader">
</div>-->
<div class="jive-contentBox" style="-moz-border-radius: 3px;">
<h4><fmt:message key="reg.settings.inband_account" /></h4>
<p>
<fmt:message key="reg.settings.inband_account_info" />
</p>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
......@@ -128,15 +132,12 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<br>
<br>
<fieldset>
<legend><fmt:message key="reg.settings.change_password" /></legend>
<div>
<p>
<h4><fmt:message key="reg.settings.change_password" /></h4>
<p>
<fmt:message key="reg.settings.change_password_info" />
</p>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
......@@ -161,15 +162,12 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<br>
<br>
<fieldset>
<legend><fmt:message key="reg.settings.anonymous_login" /></legend>
<div>
<p>
<h4><fmt:message key="reg.settings.anonymous_login" /></h4>
<p>
<fmt:message key="reg.settings.anonymous_login_info" />
</p>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
......@@ -194,15 +192,12 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br>
<br>
<br>
<fieldset>
<legend><fmt:message key="reg.settings.allowed_ips" /></legend>
<div>
<p>
<h4><fmt:message key="reg.settings.allowed_ips" /></h4>
<p>
<fmt:message key="reg.settings.allowed_ips_info" />
</p>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
......@@ -214,14 +209,15 @@
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<br>
<input type="submit" name="save" value="<fmt:message key="global.save_settings" />">
<input type="submit" name="save" value="<fmt:message key="global.save_settings" />">
</div>
<!-- END registration settings -->
</form>
</body>
</body>
</html>
\ No newline at end of file
......@@ -22,12 +22,12 @@
<% webManager.init(request, response, session, application, out ); %>
<html>
<head>
<title><fmt:message key="session.conflict.title"/></title>
<meta name="pageID" content="server-session-conflict"/>
<meta name="helpPage" content="set_the_server_resource_conflict_policy.html"/>
</head>
<body>
<head>
<title><fmt:message key="session.conflict.title"/></title>
<meta name="pageID" content="server-session-conflict"/>
<meta name="helpPage" content="set_the_server_resource_conflict_policy.html"/>
</head>
<body>
<% // Get parameters
boolean update = request.getParameter("update") != null;
......@@ -82,86 +82,85 @@
<fmt:message key="session.conflict.info" />
</p>
<!-- BEGIN 'Set Conflict Policy' -->
<form action="session-conflict.jsp" method="post">
<fieldset>
<legend><fmt:message key="session.conflict.policy" /></legend>
<div>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="0" id="rb01"
<%= ((kickPolicy==0) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="session.conflict.always_kick" /></b></label> -
<fmt:message key="session.conflict.always_kick_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="<%= SessionManager.NEVER_KICK %>" id="rb02"
<%= ((kickPolicy==SessionManager.NEVER_KICK) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="session.conflict.never_kick" /></b></label> -
<fmt:message key="session.conflict.never_kick_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="1" id="rb04"
<%= ((kickPolicy==1) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04"><b><fmt:message key="session.conflict.allow_one" /></b></label> -
<fmt:message key="session.conflict.resource_conflict" />
</td>
</tr>
<% // Figure out if the kick policy is neither 0 nor SessionManager.NEVER_KICK:
boolean assignedKickPolicy = false;
if (kickPolicy != 0 && kickPolicy != 1 && kickPolicy != SessionManager.NEVER_KICK) {
assignedKickPolicy = true;
}
%>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="<%= Integer.MAX_VALUE %>" id="rb03"
onfocus="this.form.kickValue.focus();"
<%= ((assignedKickPolicy) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="session.conflict.kick_value" /></b></label> -
<fmt:message key="session.conflict.kick_value_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
&nbsp;
</td>
<td width="99%">
<% if (errors.get("kickValue") != null) { %>
<span class="jive-error-text">
<fmt:message key="session.conflict.enter_value" />
</span><br>
<% } %>
<input type="text" name="kickValue" value="<%= ((assignedKickPolicy) ? ""+kickPolicy : "") %>"
size="5" maxlength="10"
onclick="this.form.kickPolicy[3].checked=true;">
</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
<br><br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
<div class="jive-contentBoxHeader">
<fmt:message key="session.conflict.policy" />
</div>
<div class="jive-contentBox">
<table cellpadding="3" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="0" id="rb01"
<%= ((kickPolicy==0) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb01"><b><fmt:message key="session.conflict.always_kick" /></b></label> -
<fmt:message key="session.conflict.always_kick_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="<%= SessionManager.NEVER_KICK %>" id="rb02"
<%= ((kickPolicy==SessionManager.NEVER_KICK) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb02"><b><fmt:message key="session.conflict.never_kick" /></b></label> -
<fmt:message key="session.conflict.never_kick_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="1" id="rb04"
<%= ((kickPolicy==1) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb04"><b><fmt:message key="session.conflict.allow_one" /></b></label> -
<fmt:message key="session.conflict.resource_conflict" />
</td>
</tr>
<% // Figure out if the kick policy is neither 0 nor SessionManager.NEVER_KICK:
boolean assignedKickPolicy = false;
if (kickPolicy != 0 && kickPolicy != 1 && kickPolicy != SessionManager.NEVER_KICK) {
assignedKickPolicy = true;
}
%>
<tr valign="middle">
<td width="1%">
<input type="radio" name="kickPolicy" value="<%= Integer.MAX_VALUE %>" id="rb03"
onfocus="this.form.kickValue.focus();"
<%= ((assignedKickPolicy) ? "checked" : "") %>>
</td>
<td width="99%">
<label for="rb03"><b><fmt:message key="session.conflict.kick_value" /></b></label> -
<fmt:message key="session.conflict.kick_value_info" />
</td>
</tr>
<tr valign="middle">
<td width="1%">
&nbsp;
</td>
<td width="99%">
<% if (errors.get("kickValue") != null) { %>
<span class="jive-error-text">
<fmt:message key="session.conflict.enter_value" />
</span><br>
<% } %>
<input type="text" name="kickValue" value="<%= ((assignedKickPolicy) ? ""+kickPolicy : "") %>"
size="5" maxlength="10"
onclick="this.form.kickPolicy[3].checked=true;">
</td>
</tr>
</tbody>
</table>
<br>
<input type="submit" name="update" value="<fmt:message key="global.save_settings" />">
</div>
</form>
<!-- END 'Set Conflict Policy' -->
</body>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
......@@ -700,6 +700,14 @@ A.cal:Hover {
font-size: 10pt;
color: #09345b;
}
.jive-contentBox h4 {
margin: 0px 0px 4px 0px;
padding: 3px 0px 3px 4px;
color: #34679a;
background-color: #fcfcfc;
font-size: 10pt;
border: 1px solid #e9e9e9;
}
.jive-contentBox form {
margin: 0px;
padding: 0px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment