Skip to content

Commit

Permalink
- added lock symbol for restart- and stutdown-buttons on Status-page …
Browse files Browse the repository at this point in the history
  • Loading branch information
karlchenofhell committed Feb 16, 2007
1 parent b2a9d32 commit a46dc43
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 20 deletions.
10 changes: 8 additions & 2 deletions htroot/Status.html
Expand Up @@ -13,8 +13,14 @@ <h2>System-, Index- and Peer-Status</h2>

<form action="Steering.html" method="get" class="PeerControl">
<fieldset>#(restartEnabled)#::
<input type="submit" name="restart" value="Restart" />#(/restartEnabled)#
<input type="submit" name="shutdown" value="Shutdown" />
<button type="submit" name="restart" value="Restart">
<img src="/env/grafics/lock.gif" alt="Only the administrator may restart this peer" />
Restart
</button>#(/restartEnabled)#
<button type="submit" name="shutdown" value="Shutdown">
<img src="/env/grafics/lock.gif" alt="Only the administrator may shutdown this peer" />
Shutdown
</button>
</fieldset>
</form>

Expand Down
4 changes: 2 additions & 2 deletions htroot/Status_p.inc
Expand Up @@ -134,6 +134,6 @@
::
Enabled: Updating periodically to file #[seedFile]#.
Last upload: #[lastUpload]# ago.
#(/seedServer)#
</td><td>&nbsp;</td></tr>
#(/seedServer)#</td>
</tr>
</table>
30 changes: 15 additions & 15 deletions skins/dark.css
@@ -1,21 +1,21 @@
/* Skin */
body { color: #777; background-color: #000; }
body { color: #777; background-color: #000; }

a:link, a:visited { color: #888; }
a:hover { color: #999; }
a:hover { color: #999; }


/* Menu */
.menugroup h3,
.SubMenugroup h3,
.SubMenu h3 { background-color: #222; color: #777; }
.SubMenu h3 { background-color: #222; color: #777; }

a.MenuItemLink,
ul.SubMenu em { background-color: #444; color: #888; }
ul.SubMenu em { background-color: #444; color: #888; }
a:hover.MenuItemLink { color:#AAA; }

/* Head */
div.head h1 { background-color: #333; color: #AAA; }
div.head h1 { background-color: #333; color: #AAA; }

/* Tables */
.TableHeader { color: #777; background-color: #333; }
Expand All @@ -27,8 +27,8 @@ div.head h1 { background-color: #333; color: #AAA; }

/* Blog and Wiki*/
.Post { background-color: #222; }
.PostSubject { background-color: #555; }
.PostSubject a { color: #666; }
.PostSubject { background-color: #555; }
.PostSubject a { color: #666; }
.PostInfo { background-color:#333; }
.PostInfo a { color: #666; }
.PostBody { color: #666; }
Expand All @@ -38,7 +38,7 @@ div.head h1 { background-color: #333; color: #AAA; }

a.unknown { color: #666; }
a.known { color: #600; }
a.known:hover { color: #722; }
a.known:hover { color: #722; }
a.extern { color: #635; }

/* in Bookmarks */
Expand All @@ -64,7 +64,7 @@ a.bookmarkAction { color: #999999; }
.ProgressBarFill { background-color: #944; }

/* Copyright info */
.info { border-top: 1px solid gray; }
.info { border-top: 1px solid gray; }

/* Searchresults */
.searchresults { border-top: 1px #000 dashed; }
Expand All @@ -80,12 +80,12 @@ a.bookmarkAction { color: #999999; }

/* other */
.settingsValue { color: #556699; }
.Headline { background-color: #4070a0; color: white; }
.Heading { background-color: #4070a0; }
.Headline { background-color: #4070a0; color: white; }
.Heading { background-color: #4070a0; }
.error, .warning { color: red; }
.success { color: green; }
.Message { background-color: #eeeeee; }
.example { background-color: #D3D3D3; }
.success { color: green; }
.Message { background-color: #eeeeee; }
.example { background-color: #D3D3D3; }
.hides:hover .hoverShow { background-color: #111; border-color: #333; }

/* Log */
Expand All @@ -96,4 +96,4 @@ fieldset { color: #777; background-color: #222; border: 1px solid #555; }
legend { color: #777; background-color: #2A2A2A; }
form dt, dl.pairs dt { background-color: #2A2A2A; }
form dd, dl.pairs dd { background-color: #222; }
input, select, textarea { color: #777; background-color: #000; }
input, select, textarea, button { color: #777; background-color: #000; }
2 changes: 1 addition & 1 deletion skins/default.css
Expand Up @@ -228,7 +228,7 @@ fieldset {
border:1px solid #aaa;
}

input, select, textarea {
input, select, textarea, button {
color: black;
background-color: white;
}
Expand Down

0 comments on commit a46dc43

Please sign in to comment.