Skip to content

Commit 85d537a

Browse files
committed
New theme
1 parent 5a03150 commit 85d537a

10 files changed

Lines changed: 1621 additions & 21 deletions

File tree

apps/home/views/index.pug

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
extends ../../../src/views/base.pug
22

33
block navbar
4-
.jumbotron
5-
h1 Welcome...
6-
p #{ config.about.text }
7-
p: a( href=config.about.link.url, target="_blank").btn.btn-primary #{ config.about.link.text }
8-
.bg
94

105
block contents
6+
.row
7+
.col-md-12
8+
h2
9+
strong #{ config.organisation }
10+
br
11+
| #{ config.title }
12+
h4 #{ config.about.text }
13+
p: a( href=config.about.link.url, target="_blank").btn #{ config.about.link.text }
14+
.bg
1115
.row
1216
.col-md-6
1317
.page-header
14-
h2 Join
15-
p: a( href="/join" ).btn.btn-primary.btn-block Join Now
18+
h3 New member
19+
p Becoming a new member is straightforward, click below to get started.
20+
a( href="/join" ).btn.btn-primary Join
1621
.col-md-6
1722
.page-header
18-
h2 Login
23+
h3 Existing member
1924
include ../../login/views/partials/form.pug
25+

apps/join/views/index.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ block contents
5252
.form-group
5353
label( for="address" ).col-md-3 Address
5454
.col-md-5
55-
textarea( name="address" )#address.form-control #{ user.address }
55+
textarea( name="address", rows=4 )#address.form-control #{ user.address }
5656
hr
5757
.form-group
5858
.col-md-12
5959
button.btn.btn-primary.pull-right Next
6060
span.glyphicon.glyphicon-chevron-right
6161
.col-md-4
6262
.page-header
63-
h2 Already a member?
63+
h2 Existing member
6464
p If you are already a member you can just login...
6565
include ../../login/views/partials/form.pug

apps/login/views/partials/form.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ form( method="post", action="/login" )
99
.form-group
1010
button( role="button" ).btn.btn-primary Login
1111
|  
12-
a( href="/password-reset" ).btn.btn-default Reset Password
12+
a( href="/password-reset" ).btn.btn-default Forgotten Password

apps/members/views/member.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ block contents
2525
.row
2626
.col-md-6
2727
.page-header
28-
h2 Profile
28+
h3 Profile
2929
if access == 'superadmin'
3030
a( href="/members/" + member.uuid + "/profile" ).btn.btn-default.pull-right
3131
span.glyphicon.glyphicon-pencil
@@ -58,7 +58,7 @@ block contents
5858
.row
5959
.col-md-6
6060
.page-header
61-
h3 Membership System
61+
h3 System
6262
if access == 'superadmin'
6363
.btn-group.pull-right
6464
a( href="/members/" + member.uuid + "/activation" ).btn.btn-default

src/views/base.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ html
1010
title #{ config.title } — #{ config.organisation }
1111
block head
1212
block css
13-
link( rel="stylesheet", href="/css/bootstrap.min.css" )
13+
link( rel="stylesheet", href="/css/theme.min.css" )
1414
link( rel="stylesheet", href="/css/style.css" )
1515
block js
1616
script( src="/js/jquery.js" )

src/views/partials/navbar.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nav.navbar.navbar-default
1+
nav.navbar.navbar-inverse
22
.container-fluid
33
.navbar-header
44
button( type="button", data-toggle="collapse", data-target="#menu", aria-expanded="false" ).navbar-toggle.collapsed

static/css/password-requirements.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
.pw:before {
1212
font-family: "Glyphicons Halflings";
1313
content: "\e014";
14-
color: #d9534f;
14+
color: #ff0000;
1515
margin-right: 0.5em;
1616
vertical-align: middle;
1717
}
1818

1919
.pw.pass:before {
2020
content: "\e013";
21-
color: #5cb85c;
21+
color: #54cc54;
2222
}

static/css/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,23 @@ body {
5050
.btn-link:hover {
5151
color: #23527c;
5252
}
53+
.page-header {
54+
margin-top: 0;
55+
}
56+
.navbar {
57+
box-shadow: none;
58+
-webkit-box-shadow: none;
59+
}
5360
.navbar .container-fluid {
5461
padding-left: 0;
5562
}
5663
.navbar .container-fluid .collapse.navbar-collapse {
5764
padding-left: 0;
5865
padding-right: 0;
5966
}
67+
.navbar ul.nav.navbar-nav li a {
68+
border-radius: 3px;
69+
}
70+
ul.nav.nav-tabs {
71+
margin-bottom: 15px;
72+
}

0 commit comments

Comments
 (0)