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 /_includes | |
download | xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.tar.gz xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.tar.bz2 xmpp-site-lite-2277bbda4e361750395251df8372aba9e69931fb.zip |
Starting Out
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/about.html | 34 | ||||
-rw-r--r-- | _includes/analytics.html | 13 | ||||
-rw-r--r-- | _includes/clients.html | 28 | ||||
-rw-r--r-- | _includes/footer.html | 21 | ||||
-rw-r--r-- | _includes/header.html | 15 | ||||
-rw-r--r-- | _includes/menu.html | 19 | ||||
-rw-r--r-- | _includes/registration.html | 98 |
7 files changed, 228 insertions, 0 deletions
diff --git a/_includes/about.html b/_includes/about.html new file mode 100644 index 0000000..c9f4b7d --- /dev/null +++ b/_includes/about.html @@ -0,0 +1,34 @@ + <div id="feature-about" style=""> + <div class="container offsetanchor"> + <div class="section-headder"><center><span class="fa fa-info-circle" style="font-size:80px;" aria-hidden="true"></span><h1>About</h1></center></div> + <div class="col-md-5 pull-right"> + <h2>Contact Information</h2> + <p>This site is maintained by Matt Rude (<a href="https://keyserver.mattrude.com/d/0xc4909ee495b0761f">0xc4909ee495b0761f</a>). If you would like to report any problems or bugs, please send a email or XMPP messsage to the email address listed in one of my public keys.</p> + <p>You may also see my profile on <a href="https://keybase.io/mattrude">keybase.io/mattrude</a>.</p> + <ul style="font-size:2em;margin:0 auto;"> + <li class="list-inline"><b><a href="mailto:[email protected]" title="Email Address"><i class="fa fa-envelope"></i></a></b></li> + <li class="list-inline"><b><a href="https://www.twitter.com/mdrude" title="Twitter Profile Page"><i class="fa fa-twitter-square"></i></a></b></li> + <li class="list-inline"><b><a href="https://www.facebook.com/mattrude" title="Facebook Profile Page"><i class="fa fa-facebook-official"></i></a></b></li> + <li class="list-inline"><b><a href="https://www.instagram.com//mattdrude" title="Instagram Profile Page"><i class="fa fa-instagram"></i></a></b></li> + <li class="list-inline"><b><a href="https://github.com/mattrude" title="Github Profile Page"><i class="fa fa-github"></i></a></b></li> + <li class="list-inline"><b><a href="xmpp:[email protected]" title="XMPP/Jabber ID"><i class="fa fa-commenting"></i></a></b></li> + <li class="list-inline"><b><a href="https://mattrude.com" title="Website"><i class="fa fa-link"></i></a></b></li> + <li class="list-inline"><b><a href="https://keyserver.mattrude.com/search/vindex/hash/fingerprint/0xc4909ee495b0761f" title="PGP Public Key"><i class="fa fa-key"></i></a></b></li> + </ul> + </div> + <div class="col-md-7"> + <h2 id="this-service">This Service</h2> + <p>This server provides instant messaging service, via the XMPP protocol, to users with an account on this domain. An XMPP server provides + basic messaging, <a href="https://{{ site.url }}/help/definitions/#presence">presence</a>, and XML routing features.</p> + <p>This site is running <a href="https://prosody.im">prosody</a> version 0.10 on <a href="http://www.ubuntu.com/">Ubuntu</a> version 16.04 LTS.. + The source for prosody may be found at <a href="https://hg.prosody.im/">hg.prosody.im</a>. The program prosody is licensed under the + <a href="https://prosody.im/source/mit">MIT/X11 license</a>.</p> + + <h2 id="site-source-locations">Site Source Locations</h2> + <p>The source for this website may be found in the github repository <a href="https://github.com/mattrude/xmpp-site-lite">xmpp-site-lite</a>. + The site is licensed under the + <a href="https://github.com/mattrude/xmpp-site-lite/blob/master/LICENSE">GNU General Public License, version 3 (GPLv3)</a>, + and may be used or modified under the terms of that license.</p> + </div> + </div> + </div> diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..8c7e4e5 --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,13 @@ +{% if site.google_analytics_id %} + <!-- Google Analytics (http://google.com/analytics) --> + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', '{{ site.google_analytics_id }}', 'auto'); + ga('send', 'pageview'); + + </script> +{% endif %} diff --git a/_includes/clients.html b/_includes/clients.html new file mode 100644 index 0000000..a4352e6 --- /dev/null +++ b/_includes/clients.html @@ -0,0 +1,28 @@ +<h2>List of Available Servers</h2> + +<table class='table' style='width:100%'> + <thead> + <tr> + <th>Service Name</th> + <th>Registration Method</th> + <th>Website Language</th> + <th><a href='https://xmpp.org/extensions/xep-0375.html'>XEP-0375</a> complient</th> + <th><a href='https://xmpp.org/extensions/xep-0368.html'>XEP-0368</a> complient</th> + <th>Tor Service</th> + <th>Price</th> + </tr> + </thead> + <tbody> +{% for service in site.data.clients-compliance %} + <tr> + <td style="min-width:150px;"><a href='{{ service.url }}'>{{ service.name }}</a></td> + <td style="min-width:150px;">{% if service.registration-url %}<a href="{{ service.registration-url }}">{{ service.registration }}</a>{% elsif service.registration %}{{ service.registration}}{% else %}<i>Unknown</i>{% endif %}</td> + <td>{{ service.language }}</td> + {% if service.xep-375 == 1 %}<td class=PASSED style="width:75px;"><center>Yes</center></td>{% else %}<td class=FAILED><center>No</center></td>{% endif %} + {% if service.xep-368 == 1 %}<td class=PASSED style="width:75px;"><center>Yes</center></td>{% else %}<td class=FAILED><center>No</center></td>{% endif %} + {% if service.tor %}<td class=PASSED><center>{{ service.tor }}</center></td>{% else %}<td class=FAILED><center>No</center></td>{% endif %} + <td><center>{% if service.price %}{{ service.price }}{% else %}Free{% endif %}<center></td> + </tr> +{% endfor %} + </tbody> +</table> diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..a661bee --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,21 @@ +</div> +</div><!-- Closing wrapper class --> +<div class="footer"> + <div class="container offsetanchor" style="padding:30px 0 20px 0;" id="features"> + <div id="footer"><!-- Starting Footer Section --> + <div class="pull-left"> + <p><a href="https://status.im.mattrude.com/{{ site.xmpp-url }}">Status</a></p> + </div> + <div class="pull-right"> + <p>© {{ site.time | date: "%Y" }} by <a href="https://mattrude.com">{{ site.owner_name }}</a></p> + </div> + </div><!-- Closing Footer Section --> + </div><!-- Closing Menu Section (from header) --> +</div> +</body> +<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> +<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>{% if page.url == "/files/register_web/register.html" %} +<script src="{{ site.url }}/assets/js/validator.js"></script>{% endif %}{% if page.url == "/" and site.register-web == 1 %} +<script src="{{ site.url }}/assets/js/validator.js"></script>{% endif %} +</html> diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..ac792ef --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,15 @@ +<html lang="en" class=""> +<head> + <meta charset="utf-8"> + <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> + {% if page.description %}<meta name="description" content="{{ page.description }}">{% else %}{% endif %} + {% if page.tags %}<meta name="keywords" content="{{ page.tags }}">{% else %}{% endif %} + <meta name="viewport" content="width=device-width"> + <meta name="description" content="{{ site.description }}"> + <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}"> + <link rel="shortcut icon" href="{{ "/assets/img/favicon.ico" | prepend: site.url }}"/> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> + <link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.url }}"> +</head> +<body id="navbar-main" data-spy="scroll" data-target="#navbar-main"> diff --git a/_includes/menu.html b/_includes/menu.html new file mode 100644 index 0000000..9b3c537 --- /dev/null +++ b/_includes/menu.html @@ -0,0 +1,19 @@ + <nav id="navbar-main" class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> + <a class="navbar-brand" href="{{ site.url }}">XMPP Communication Service</a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarCollapse"> + <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">{% if page.url == "/" %}{% if site.site.register-web == 2 %} + <li class="nav-item"><a class="nav-link" href="#register">Register</a></li>{% endif %} + <li class="nav-item"><a class="nav-link" href="#history">History</a></li> + <li class="nav-item"><a class="nav-link" href="#file">File Sharing</a></li> + <li class="nav-item"><a class="nav-link" href="#mobile">Mobile</a></li> + <li class="nav-item"><a class="nav-link" href="#about">About</a></li> + <li class="nav-item"><a class="nav-link" href="#security">Privacy</a></li> + </ul>{% endif %} + {% if site.register-web >= 1 %} + <a href="/register" class="btn btn-success">Register</a> + {% endif %} + </div> + </nav> diff --git a/_includes/registration.html b/_includes/registration.html new file mode 100644 index 0000000..5219815 --- /dev/null +++ b/_includes/registration.html @@ -0,0 +1,98 @@ + <center><h1 style="padding-bottom:25px;">New Account Registration</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 {{ site.xmpp-url }}. Your new JID will be created in the form + <code>username@{{ site.xmpp-url }}</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;">@{{ site.xmpp-url }}</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> + </div> |