Minor improvements
This commit is contained in:
parent
ab208912e6
commit
2396c8cee2
|
@ -1,4 +1,8 @@
|
||||||
package unix_dog;
|
package unix_dog;
|
||||||
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
|
use experimental 'signatures';
|
||||||
|
|
||||||
use Mojo::Base 'Mojolicious', -signatures;
|
use Mojo::Base 'Mojolicious', -signatures;
|
||||||
|
|
||||||
# This method will run once at server start
|
# This method will run once at server start
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
package unix_dog::Controller::Account;
|
package unix_dog::Controller::Account;
|
||||||
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
|
use experimental 'signatures';
|
||||||
|
|
||||||
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
||||||
use Net::LDAPS;
|
use Net::LDAPS;
|
||||||
use Net::LDAP::Extension::SetPassword;
|
use Net::LDAP::Extension::SetPassword;
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
package unix_dog::Controller::Main;
|
package unix_dog::Controller::Main;
|
||||||
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
|
use experimental 'signatures';
|
||||||
|
|
||||||
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
||||||
use Net::LDAPS;
|
use Net::LDAPS;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
package unix_dog::Controller::Register;
|
package unix_dog::Controller::Register;
|
||||||
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
|
use experimental 'signatures';
|
||||||
|
|
||||||
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
use Mojo::Base 'Mojolicious::Controller', -signatures;
|
||||||
use Net::LDAPS;
|
use Net::LDAPS;
|
||||||
use Net::LDAP::Extension::SetPassword;
|
use Net::LDAP::Extension::SetPassword;
|
||||||
|
|
|
@ -61,6 +61,6 @@
|
||||||
%= label_for curPasswd => 'Current password:'
|
%= label_for curPasswd => 'Current password:'
|
||||||
%= password_field 'curPasswd', id => 'curPasswd'
|
%= password_field 'curPasswd', id => 'curPasswd'
|
||||||
</p>
|
</p>
|
||||||
<input type="text" name="username" hidden="true" value="<%= $username %>">
|
<input type="text" name="username" hidden value="<%= $username %>">
|
||||||
%= submit_button 'Update!'
|
%= submit_button 'Update!'
|
||||||
% end
|
% end
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
% layout 'default';
|
|
||||||
% title 'Welcome';
|
|
||||||
<h2><%= $msg %></h2>
|
|
||||||
<p>
|
|
||||||
This page was generated from the template "templates/example/welcome.html.ep"
|
|
||||||
and the layout "templates/layouts/default.html.ep",
|
|
||||||
<%= link_to 'click here' => url_for %> to reload the page or
|
|
||||||
<%= link_to 'here' => '/index.html' %> to move forward to a static page.
|
|
||||||
</p>
|
|
|
@ -9,6 +9,9 @@
|
||||||
<meta property="og:title" content="<%= title %>">
|
<meta property="og:title" content="<%= title %>">
|
||||||
<meta property="og:type" content="webpage">
|
<meta property="og:type" content="webpage">
|
||||||
<meta property="og:url" content="https://unix.dog/">
|
<meta property="og:url" content="https://unix.dog/">
|
||||||
|
<meta property="og:description" content="UNIX for barkers :3">
|
||||||
|
<meta property="og:image" content="https://unix.dog/favicon.ico">
|
||||||
|
<meta property="description" content="UNIX for barkers :3">
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -14,7 +14,10 @@
|
||||||
<p>
|
<p>
|
||||||
We provide a public server running Gentoo Linux for use by our members.
|
We provide a public server running Gentoo Linux for use by our members.
|
||||||
You get a webpage under unix.dog you can fully customize, and a working
|
You get a webpage under unix.dog you can fully customize, and a working
|
||||||
email you can send and receive from.
|
email you can send and receive from. We also provide more services—check the link at the top :3
|
||||||
|
<br>
|
||||||
|
Happy barking!
|
||||||
|
<br>
|
||||||
Server specifications:
|
Server specifications:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -35,7 +38,7 @@
|
||||||
UNIX.dog provides many useful services to promote a healthy
|
UNIX.dog provides many useful services to promote a healthy
|
||||||
federated sphere. XMPP, EMail, and Akkoma are provided to all
|
federated sphere. XMPP, EMail, and Akkoma are provided to all
|
||||||
registered users. If you have a suggestion for a service, please
|
registered users. If you have a suggestion for a service, please
|
||||||
email alpha at this domain; we're interesting in hosting more
|
email alpha at this domain; we're interested in hosting more
|
||||||
useful services for everyone!
|
useful services for everyone!
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -26,11 +26,6 @@
|
||||||
If you have more concerns about your registration, feel free
|
If you have more concerns about your registration, feel free
|
||||||
to contact alpha at this domain.
|
to contact alpha at this domain.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
Self-service password management and SSH key management will
|
|
||||||
be coming soon, but if you know how, you can update all your
|
|
||||||
information over LDAP under cn=username,ou=Dogs,dc=unix,dc=dog.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
%= form_for register => (method => 'POST') => begin
|
%= form_for register => (method => 'POST') => begin
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue