summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates/chanserv/drop.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/templates/chanserv/drop.html')
-rw-r--r--modules/webcpanel/templates/chanserv/drop.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/webcpanel/templates/chanserv/drop.html b/modules/webcpanel/templates/chanserv/drop.html
new file mode 100644
index 000000000..3a160dbb1
--- /dev/null
+++ b/modules/webcpanel/templates/chanserv/drop.html
@@ -0,0 +1,32 @@
+{INCLUDE layout/header.loggedin.html}
+{INCLUDE chanserv/chanlist.html}
+ <div class="panel-heading">Channels you can drop</div>
+ <div class="panel-body">
+ {FOR M IN MESSAGES}
+ <div class="alert alert-info">
+ {M}<br>
+ </div>
+ {END FOR}
+
+ {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="/chanserv/drop">
+ <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-4" 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-4 col-lg-4">
+ <button type="submit" class="btn btn-danger">Drop</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ {END IF}
+ </div>
+{INCLUDE layout/footer.loggedin.html}