More I2Ptunnels page surgery. Not out of the woods yet!

This commit is contained in:
z3d
2009-07-17 13:09:05 +00:00
parent 46970f5a4a
commit 2772a0e5e4
3 changed files with 19 additions and 11 deletions

View File

@ -74,7 +74,7 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
</div> </div>
<div class="statusHeaderField rowItem"> <div class="statusHeaderField rowItem">
<label>Status:</label> <label>Status:</label>
<hr /> </div> </div>
<% <%
for (int curServer = 0; curServer < indexBean.getTunnelCount(); curServer++) { for (int curServer = 0; curServer < indexBean.getTunnelCount(); curServer++) {
@ -118,7 +118,8 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
<% <%
switch (indexBean.getTunnelStatus(curServer)) { switch (indexBean.getTunnelStatus(curServer)) {
case IndexBean.STARTING: case IndexBean.STARTING:
%><div class="statusStarting text">Starting...</div> %><div class="separator"></div>
<div class="statusStarting text">Starting...</div>
<a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curServer%>">Stop</a> <a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curServer%>">Stop</a>
<% <%
break; break;
@ -194,7 +195,6 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
</div> </div>
<div class="separator"> <div class="separator">
<hr />
</div> </div>
<% <%
for (int curClient = 0; curClient < indexBean.getTunnelCount(); curClient++) { for (int curClient = 0; curClient < indexBean.getTunnelCount(); curClient++) {
@ -221,7 +221,7 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
<% <%
switch (indexBean.getTunnelStatus(curClient)) { switch (indexBean.getTunnelStatus(curClient)) {
case IndexBean.STARTING: case IndexBean.STARTING:
%><div class="statusStarting text">Starting...</div> %><div class="statusStarting text">Starting...</div> <div class="separator></div>
<a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curClient%>">Stop</a> <a class="control" title="Stop this Tunnel" href="index.jsp?nonce=<%=indexBean.getNextNonce()%>&amp;action=stop&amp;tunnel=<%=curClient%>">Stop</a>
<% <%
break; break;
@ -291,5 +291,6 @@ p-equiv="Content-Type" content="text/html; charset=UTF-8" />
</div> </div>
<div id="pageFooter"> <div id="pageFooter">
</div> </div>
</div>
</body> </body>
</html> </html>

View File

@ -29,7 +29,7 @@ label {
height: 28px; height: 28px;
font-weight: normal; font-weight: normal;
text-align: right; text-align: right;
font-size: 7pt; font-size: 8pt;
font-style: italic; font-style: italic;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
@ -122,8 +122,11 @@ hr {
.separator, .subdivider { .separator, .subdivider {
clear: both; clear: both;
height: 1px; height: 1px;
margin: 3px 0px 3px 0px; margin: 1px 0px 1px 0px;
border-bottom: 1px solid #225; border-bottom: 1px solid #225;
/*
display: none;
*/
} }
.subdivider { .subdivider {
@ -150,7 +153,7 @@ hr {
} }
.control { .control {
margin: 4px 0 0 0 !important; margin: 4px 0 0 4px !important;
padding: 2px; padding: 2px;
overflow: hidden; overflow: hidden;
/* /*
@ -171,7 +174,7 @@ hr {
} }
.control:active { .control:active {
border: 2px inset; border: 1px inset;
background-color: #003; background-color: #003;
color: #ff6600; color: #ff6600;
} }

View File

@ -83,10 +83,14 @@
height: 100px; height: 100px;
padding: 0 0 0 4px; padding: 0 0 0 4px;
margin: 1px 0 4px 0; margin: 1px 0 4px 0;
background-color: #000088; background-color: #005;
color: #fff; color: #fff;
font-family: "Lucida Console", "Andale Mono", "Courier New", Courier, mono; font-family: "Lucida Console", "DejaVu Sans Mono", "Andale Mono", "Courier New", Courier, mono;
border: 1px inset #002; border: 2px inset #002;
font-size: 10pt !important;
font-weight: bold;
text-align: justify !important;
background: url(images/darkbluetile.png);
} }
#tunnelListPage .footer .control { #tunnelListPage .footer .control {