diff options
| author | Adam <adam@sigterm.info> | 2013-08-21 20:17:20 -0700 |
|---|---|---|
| committer | Adam <adam@sigterm.info> | 2013-08-21 20:17:20 -0700 |
| commit | 52535cf6fb360e3483da40eee0032d8ff95624d1 (patch) | |
| tree | 44b4b898bedcde58948903819cd77e49dde8cc9b /modules/extra/webcpanel/templates/default/chanserv/drop.html | |
| parent | 765943062e94fdc23cdc3f2622f0c21d30fd0503 (diff) | |
| parent | 121d0a6e5b47fe3be2b1402f7bc5d8366f104a92 (diff) | |
Merge pull request #19 from Phr33d0m/1.9
A completely rewritten Control Panel
Diffstat (limited to 'modules/extra/webcpanel/templates/default/chanserv/drop.html')
| -rw-r--r-- | modules/extra/webcpanel/templates/default/chanserv/drop.html | 48 |
1 files changed, 30 insertions, 18 deletions
diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html index 35f0283f2..7852bfde6 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/drop.html +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -1,22 +1,34 @@ {INCLUDE header.html} - {IF EXISTS MESSAGES} {FOR M IN MESSAGES} - {M}<br/> + <div class="alert alert-info"> + {M}<br> + </div> {END FOR} - {END IF} - <h3>Channels you can drop:</h3> - <div class="scroll"> - {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - <a href="/chanserv/drop?channel={ECH}">{CH}</a></br> - {END FOR} - </div> - {IF EXISTS CHANNEL_DROP} - <h3>Drop Channel {CHANNEL_DROP}?</h3> - <form method="post" name="dropForm" action="/chanserv/drop"> - <input type="hidden" value="{CHANNEL_DROP}" name="channel"> - Enter Channel For Confirmation: <input type="text" name="confChan"> - <input type="hidden" value="yes" name="drop"> - <input type="submit" value="Drop"> - </form> - {END IF} + + <h2>Channels you can drop</h2> + <div class="scroll"> + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + <a href="/chanserv/drop?channel={ECH}">{CH}</a></br> + {END FOR} + </div> + {IF EXISTS CHANNEL_DROP} + <div class="alert alert-danger" style="margin-top: 15px; margin-bottom: 0; padding-bottom: 0;"> + <h4>Drop Channel <strong>{CHANNEL_DROP}</strong>?</h4> + <form class="form-horizontal" method="post" action="/operserv/akill"> + <input type="hidden" value="{CHANNEL_DROP}" name="channel"> + <input type="hidden" value="yes" name="drop"> + <div class="form-group"> + <label class="control-label col-lg-3" for="confChan">Confirm channel name:</label> + <div class="col-lg-4"> + <input class="form-control" type="text" name="confChan" id="confChan" placeholder="This cannot be undone!"> + </div> + </div> + <div class="form-group"> + <div class="col-lg-offset-3 col-lg-4"> + <button type="submit" class="btn btn-danger">Drop</button> + </div> + </div> + </form> + </div> + {END IF} {INCLUDE footer.html}
\ No newline at end of file |
