diff options
author | Matt Rude <[email protected]> | 2018-02-01 15:23:41 -0600 |
---|---|---|
committer | Matt Rude <[email protected]> | 2018-02-01 15:23:41 -0600 |
commit | 2277bbda4e361750395251df8372aba9e69931fb (patch) | |
tree | 69cf8c45fe38924f95869e1878668afe088f7571 /register_web | |
download | xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.tar.gz xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.tar.bz2 xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.zip |
Starting Out
Diffstat (limited to 'register_web')
-rw-r--r-- | register_web/recaptcha.html | 26 | ||||
-rw-r--r-- | register_web/register.html | 102 | ||||
-rw-r--r-- | register_web/simplecaptcha.html | 7 | ||||
-rw-r--r-- | register_web/success.html | 67 |
4 files changed, 202 insertions, 0 deletions
diff --git a/register_web/recaptcha.html b/register_web/recaptcha.html new file mode 100644 index 0000000..456ac6d --- /dev/null +++ b/register_web/recaptcha.html @@ -0,0 +1,26 @@ +--- +permalink: /files/register_web/recaptcha.html +sitemap: false +--- + <script src="https://www.google.com/recaptcha/api.js" async defer></script> + <div class="g-recaptcha" data-sitekey="{recaptcha_public_key}" style="transform:scale(0.88);-webkit-transform:scale(0.88);transform-origin:0 0;-webkit-transform-origin:0 0;"></div> + <noscript> + <div style="width: 261px; height: 352px;"> + <div style="width: 261px; height: 352px; position: relative;"> + <div style="width: 261px; height: 352px; position: absolute;"> + <iframe src="https://www.google.com/recaptcha/api/fallback?k={recaptcha_public_key}" + frameborder="0" scrolling="no" + style="width: 261px; height:352px; border-style: none;"> + </iframe> + </div> + <div style="width: 250px; height: 80px; position: absolute; border-style: none; + bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;"> + <textarea id="g-recaptcha-response" name="g-recaptcha-response" + class="g-recaptcha-response" + style="width: 250px; height: 80px; border: 1px solid #c1c1c1; + margin: 0px; padding: 0px; resize: none;" value=""> + </textarea> + </div> + </div> + </div> + </noscript> diff --git a/register_web/register.html b/register_web/register.html new file mode 100644 index 0000000..db84238 --- /dev/null +++ b/register_web/register.html @@ -0,0 +1,102 @@ +--- +layout: default +title: XMPP Account Registration Page +sitemap: false +permalink: /files/register_web/register.html +--- + + <center><h1 style="padding-bottom:25px;">New XMPP Account Registration Page</h1></center> + <div class="row"> + <div id="register-text" class="col-md-8"> + <div class="row"> + <p>This page allows you to create a new XMPP/Jabber account in this server for the domain {hostname}. Your new JID will be created in the form + <code>username@{hostname}</code>.</p> + <div class="alert alert-warning" style="margin:0 auto;" role="alert"> + Please read the sites <a href="{{ site.url }}/privacy-policy/" title="Privacy Policy">privacy policy</a> + before registering a new account. + </div> + + <div class="client-mobile"> + <h3>Clients</h3> + <p>After creating an account, you must use a software client to login into the server. + Below is a small list of clients you may use, but really any XMPP client can work.</p> + <p>Once you have logged into the server, you may then chat with users on nearly any XMPP server.</p> + <div class="row"> + <div class="col-md-3"> + <center><a href="https://conversations.im/" title="Conversations User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/conversations_logo.png" height="80px" width="80px"></a></center> + <center><h4>Conversations</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://swift.im/" title="Swift User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/swift_logo.svg" height="80px" width="80px"></a></center> + <center><h4>Swift</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://chatsecure.org/" title="Chatsecure User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/chatsecure_logo.png" height="80px" width="80px"></a></center> + <center><h4>ChatSecure</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://gajim.org/" title="Gajim User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/gajim_logo.png" height="80px" width="80px"></a></center> + <center><h4>Gajim</h4></center> + </div> + </div> + <hr style="color:grey"> + <p>Please see the <a href="{{ site.url }}/help/clients/">client list</a> for a longer list of available clients that may be used.</p> + </div> + </div> + </div> + <div id="loginbox" class="mainbox col-md-4 col-sm-8 col-sx-offset-2"> + <div class="row"> + <div class="card" style="border-color:#9FCF6C;margin-left:25px;"> + <div class="panel-heading" style="background-color:#9FCF6C;border-color:transparent;color:rgb(52, 68, 35);"> + <div class="panel-title"><center><h4>Registration Form</h4></center></div> + </div> + <div class="panel-body" style="margin-bottom: 15px;"> + <h3 class="text-center text-danger" style="margin-top:0px;">{notice}</h3> + <form action="{{ site.url }}/register/" method="post" class="form-horizontal needs-validation" style="padding: 15px;" novalidate> + <div style="margin-bottom: 25px" class="input-group"> + <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> + <div class="input-group"> + <input type="text" class="form-control" name="username" placeholder="Username" id="username" required /> + <div class="input-group-append"> + <span class="input-group-text" style="font-size:0.8em;font-weight:bold;">@{hostname}</span> + </div> + <div class="invalid-feedback" style="width: 100%;">Your username is required.</div> + </div> + </div> + <div style="margin-bottom: 25px" class="input-group"> + <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> + <div class="input-group"> + <input type="password" class="form-control" name="password" placeholder="Password" id="password" required /> + </div> + </div> + <div style="margin-bottom: 25px" class="input-group"> + <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> + <div class="input-group"> + <input type="password" class="form-control" name="confirm_password" placeholder="Confirm Password" id="confirm-password" required /> + </div> + </div> + <div style="margin-bottom: 25px" class="input-group"> + <span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span> + <div class="input-group"> + <input type="email" class="form-control" name="email" placeholder="E-Mail" id="email" required /> + <div class="invalid-feedback" style="width: 100%;">Your email address is required.</div> + </div> + </div> + <div style="margin-bottom:25px;margin:0 auto;" class="input-group test"> + {captcha} + </div> + <div style="margin-top:15px;margin-bottom:0;" class="form-group"> + <div class="col-sm-12 controls"> + <input type="submit" value="Register" class="btn btn-success pull-right" /> + <input type="reset" value="Clear" class="btn btn-default pull-right" style="margin-right:15px" /> + </div> + </div> + </form> + </div> + </div> + </div> + </div> diff --git a/register_web/simplecaptcha.html b/register_web/simplecaptcha.html new file mode 100644 index 0000000..6c23e82 --- /dev/null +++ b/register_web/simplecaptcha.html @@ -0,0 +1,7 @@ +--- +permalink: /files/register_web/simplecaptcha.html +sitemap: false +--- +<span class="input-group-addon">What is {x} {op} {y}?</span> +<input name="captcha_challenge" type="hidden" value="{challenge}"> +<input name="captcha_reply" class="form-control" required type="number"> diff --git a/register_web/success.html b/register_web/success.html new file mode 100644 index 0000000..26c3bc0 --- /dev/null +++ b/register_web/success.html @@ -0,0 +1,67 @@ +--- +layout: default +title: Account Registration succeeded! +sitemap: false +permalink: /files/register_web/success.html +--- + + <div id="loginbox" style="margin-top:50px;" class="mainbox"> + <div class="panel panel-success"> + <div class="panel-heading"><h1>Registration Succeeded!</h1></div> + <div class="panel-body"> + <p><strong>Your new JID is <code>{jid}</code>.</strong></p> + <div class="row"> + <div id="register-text" class="col-md-7"> + <div class="row"> + <p>This page allows you to create a new XMPP/Jabber account in this server for the domain {hostname}. Your new JID will be created in the form + <code>username@{hostname}</code>.</p> + <div class="alert alert-warning" style="margin:0 auto;" role="alert"> + Please read the sites <a href="{{ site.url }}/privacy-policy/" title="Privacy Policy">privacy policy</a> + before registering a new account. + </div> + <div class="client-mobile"> + <h3>Clients</h3> + <p>After creating an account, you must use a software client to login into the server. + Below is a small list of clients you may use, but really any XMPP client can work.</p> + <div class="row"> + <div class="col-md-3"> + <center><a href="https://conversations.im/" title="Conversations User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/conversations_logo.png" height="80px" width="80px"></a></center> + <center><h4>Conversations</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://swift.im/" title="Swift User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/swift_logo.svg" height="80px" width="80px"></a></center> + <center><h4>Swift</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://chatsecure.org/" title="Chatsecure User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/chatsecure_logo.png" height="80px" width="80px"></a></center> + <center><h4>ChatSecure</h4></center> + </div> + <div class="col-md-3"> + <center><a href="https://gajim.org/" title="Gajim User Guide" target=”_blank”> + <img src="{{ site.url }}/assets/img/clients/gajim_logo.png" height="80px" width="80px"></a></center> + <center><h4>Gajim</h4></center> + </div> +<hr style="color:grey"> + <p>Once you have logged into the server, you may then chat with users on nearly any XMPP server.</p> + </div> + </div> + </div> + </div> + <div class="col-md-5 col-sm-6"> + <h2>Connecting...</h2> + <ul> + <li>JID: <b>{jid}</b></li> + <li>Port: <b>5222</b></li> + <li>Domain: <b>{{ site.xmpp-url }}</b></li> + <li>Server Name: <b>{{ site.xmpp-host }}</b></li>{% if site.xmpp-conference-url and site.xep-0045 == 1 %} + <li>Rooms: <b>{{ site.xmpp-conference-url }}</b></li>{% endif %}{% if site.xmpp-proxy-url and site.xep-0065 == 1 %} + <li>Socks 5 Proxy: <b>{{ site.xmpp-proxy-url }}</b></li>{% endif %}{% if site.xmpp-upload-url and site.xep-0363 == 1 %} + <li>File Uploads: <b>{{ site.xmpp-upload-url }}</b></li>{% endif %} + </ul> + </div> + </div> + </div> +</div> |