summaryrefslogtreecommitdiff
path: root/modules/webcpanel/templates/register.html
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-26 11:22:43 +0000
committerSadie Powell <sadie@witchery.services>2024-03-26 11:22:43 +0000
commit33be5de66ec9aaae870f8accf99915d595a58cc8 (patch)
tree868df238023a048370ad7e8a869bdeb11dfda136 /modules/webcpanel/templates/register.html
parent4399eeaa587e5cb4c4f3b7a6a3a79390e32b7b78 (diff)
Flatten the webcpanel hierarchy slightly.
Diffstat (limited to 'modules/webcpanel/templates/register.html')
-rw-r--r--modules/webcpanel/templates/register.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/modules/webcpanel/templates/register.html b/modules/webcpanel/templates/register.html
new file mode 100644
index 000000000..e71d763f6
--- /dev/null
+++ b/modules/webcpanel/templates/register.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<!--[if IE 7]> <html lang="en" class="ie7"> <![endif]-->
+<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
+<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
+<!--[if !IE]><!-->
+<html lang="en">
+ <!--<![endif]-->
+ <head>
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/static/style.css" media="screen" rel="stylesheet" type="text/css" />
+ <!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
+
+ <title>{TITLE}</title>
+ </head>
+ <body>
+ <div id="frontPages" class="container">
+ <div class="row">
+ <div class="col-lg-offset-4 col-lg-4">
+ <a href="/">
+ <img src="/static/logo.png" class="img-responsive">
+ </a>
+ <a href="/" class="btn btn-lg btn-default btn-block">Back Home</a>
+
+ <h1 class="form-signin-heading">Register</h1>
+
+ {IF EXISTS MESSAGES}
+ <div class="alert alert-danger">
+ {MESSAGES}
+ </div>
+ {END IF}
+
+ <form class="form-horizontal form-signin" action="/confirm" method="post">
+ <input type="text" name="username" class="form-control" placeholder="Username" required="required" autofocus
+ style="margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0;">
+ <input type="password" name="password" class="form-control" placeholder="Password" required="required"
+ style="margin-bottom: -1px; border-radius: 0;">
+
+ {IF EXISTS FORCE_EMAIL}
+ <input type="email" name="email" class="form-control" placeholder="Email" required="required"
+ style="margin-bottom: 15px; border-top-left-radius: 0; border-top-right-radius: 0;">
+ {ELSE}
+ <h4>Optional</h4>
+ <input type="email" name="email" class="form-control" placeholder="Email"
+ style="margin-bottom: 15px;">
+ {END IF}
+
+ <button class="btn btn-lg btn-warning btn-block" type="submit">Register</button>
+ </form>
+ </div>
+ </div>
+
+ <br>
+ <div class="row">
+ <div class="col-lg-offset-3 col-lg-6">
+ <div class="footer text-center">
+ Anope IRC Services - &copy; 2013-2024 Anope Team - <a href="https://www.anope.org/">https://www.anope.org/</a>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+ <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
+ </body>
+</html>