Skip to content

Commit

Permalink
add setting form and style
Browse files Browse the repository at this point in the history
  • Loading branch information
paulej72 committed Mar 5, 2015
1 parent 45912dc commit 9c635de
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
11 changes: 10 additions & 1 deletion plugins/Admin/templates/modBomb;admin;default
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ __template__


<div id="modBomb">


<form method="post" id="mb_settings"[% END %] action="[% gSkin.rootdir %]/admin.pl">
<input type="hidden" name="op" value="mod_bombs">
<label>Downmod Floor</label>
<input type="text" name="mod_floor" size="2" maxlength="2" value="[% mod_floor %]">
<label>Time Span (in hours)</label>
<input type="text" name="time_span" size="3" maxlength="3" value="[% time_span %]">
<input type="submit" name="submit" value="Update">
</form>

[% PROCESS titlebar width="100%" title="List of Recent Down Moderations" %]
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="data">
<tr class="data_head">
Expand Down
15 changes: 15 additions & 0 deletions themes/default/htdocs/admin.cssraw
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,21 @@ body .adminstoryform legend { display: none;}
padding: 0.3em 0.6em;
}

#modBomb #mb_settings label{
display: inline;
margin-left: 10px;
}

#modBomb #mb_settings input{
display: inline;
margin-right: 20px;
}

#modBomb #mb_settings {
font-size: .875em;
margin-bottom: 10px;
}




0 comments on commit 9c635de

Please sign in to comment.