From 2fcf4421830acb6490aa569ed88c22467ee3de55 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 8 Nov 2016 21:19:16 +0100 Subject: [PATCH] worked on ui design --- app.py | 2 +- static/css/starter-template.css | 6 ++++ views/default.tpl | 55 +++++++++++++++++++++++++++++++++ views/login.tpl | 5 ++- 4 files changed, 64 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index bbfff3d..52ecb10 100644 --- a/app.py +++ b/app.py @@ -8,7 +8,7 @@ from bottle import route, run, template, error, get, \ # config # load config from configfile instead of defining it here cookie_secret='.0)>ZCqL Fvi3m$;c VY-$&^65 r3Yg,$vC +U?1#zy] 2[]rUsru .yd4-GiE *i#i4Wr[' -cookie_max_age=3600 #seconds +cookie_max_age=1800 #seconds app_name='accounts' static_files="/home/david/Git/accounts/static" #miab_admin='someuser@socialnerds.org' diff --git a/static/css/starter-template.css b/static/css/starter-template.css index 4af7a61..1e71e4c 100644 --- a/static/css/starter-template.css +++ b/static/css/starter-template.css @@ -5,3 +5,9 @@ body { padding: 40px 15px; text-align: center; } + +@media (min-width: 600px) { + .container{ + max-width: 600px; + } +} diff --git a/views/default.tpl b/views/default.tpl index 926b2f3..08ae3e0 100644 --- a/views/default.tpl +++ b/views/default.tpl @@ -48,8 +48,63 @@

{{ username }}

You are logged in. (logout)

+

This is your SocialNerds account self-service page.

+

It is free software and its code is hosted here.

+
+

Change password

+
+ +
+
+ +
+
+ +
+ +
+ + +
+ + +
+

Manage aliases

+
+

Aliases are additional email addresses which will be forwarded to your account. Besides your primary email address you can use them to send emails.
Be aware the limit of five active aliases.

+

david@aundas.org (delete)

+

david@socialnerds.org (delete)

+

hugo17@socialnerds.org (delete)

+ +
+
+ +
+ +
+ + +
+ +
+

Delete account

+
+

This will nuke your account. Are you absolutely certain that you want to delete your SocialNerds account? (Your account will be rendered unavailable immediadely. Removal from our servers will happen within a week.)

+ +
+
+ +
+ +
+ + +
+ + + diff --git a/views/login.tpl b/views/login.tpl index 07da707..64eae48 100644 --- a/views/login.tpl +++ b/views/login.tpl @@ -10,7 +10,6 @@ {{ app_name }} - @@ -23,12 +22,12 @@