Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

Created initial Sign In & Register pages, added more info to the header #5

Merged
merged 2 commits into from
Feb 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions frontend/src/pages/create-account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<!DOCTYPE html>
<html class="no-js" lang="en">

<!--#include virtual="includes/head.html" -->

<body>
<!--#include virtual="includes/header.html" -->
<div class="large-12 columns pnl-title pnl-summary">
<h1>Register</h1>
<div class="large-8 row">
<form id="sign-up" method="POST" action="">
<div class="small-12 large-6 column">
<label for="fname">First name:</label>
<input type="text" name="fname" placeholder="First Name" required>
</div>
<div class="small-12 large-6 column">
<label for="sname">Surname name:</label>
<input type="text" name="sname" placeholder="Surname" required>
</div>
<div class="small-12 large-6 column">
<label for="email">Email:</label>
<input type="email" name="email" placeholder="Email" required>
</div>
<div class="small-12 large-6 column">
<label for="cemail">Confirm Email:</label>
<input type="email" name="cemail" placeholder="Confirm Email" required>
</div>
<div class="small-12 large-6 column">
<label for="phone">Telephone:</label>
<input type="tel" name="phone" placeholder="Telephone" required>
</div>
<div class="small-12 large-6 column">
<label for="country">Country:</label>
<input type="text" name="country" placeholder="Country" required>
</div>
<div class="small-12 large-6 column">
<label for="city">City:</label>
<input type="text" name="city" placeholder="City" required>
</div>
<div class="small-12 large-6 column">
<label for="postcode">Post Code:</label>
<input type="tel" name="phone" placeholder="Post Code" required>
</div>
<div class="small-12 large-6 column">
<label for="password">Password:</label>
<input type="tel" name="phone" placeholder="Password" required>
</div>
<div class="small-12 large-6 column">
<label for="cpassword">Confirm Password:</label>
<input type="password" name="cpassword" placeholder="Confirm Password">
</div>
<div class="small-12 large-6 column">
<label for="position">Current Position:</label>
<input type="text" name="city" placeholder="Current Position" required>
</div>
<div class="small-12 large-12 column inline-select">
<label>I am a:</label>
<select name="usertype">
<option value="cause" selected>Marketer</option>
<option value="marketer">Cause</option>
</select>
</div>
<div class="small-12 large-12 column inline-select">
<label><input type="checkbox" name="terms" checked="checked"> I agree to the terms &amp; conditions</label>
</div>
<div class="small-12 large-12 column">
<input class="button left" type="submit" value="Submit">
</div>

</form>
</div>
</div>

<!--#include virtual="includes/footer.html" -->

<!--#include virtual="includes/mobile-menu-end.html" -->

<!--#include virtual="includes/foot.html" -->

</body>
</html>


4 changes: 2 additions & 2 deletions frontend/src/pages/includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<footer class="row pnl-footer">
<footer>

<!-- Footer -->
<div class="large-12 columns">
<div class="large-12">
&#169; Pimp My Cause.
</div>

Expand Down
13 changes: 11 additions & 2 deletions frontend/src/pages/includes/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pimp Foundation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="created" content="13th Dec 2015 04:37">
<meta name="author" content="Pimp My Cause">
<title>Pimp My Cause | Marketing Volunteering - pro bono marketing for charities and social enterprises.</title>
<meta name="keywords" content = "Marketing volunteering - pro bono marketing for charities and social enterprises" />
<meta name="description" content = "Marketing volunteering - pro bono marketing for charities and social enterprises."/>
<meta name="copyright" content="All text content and images copyright pimpmycause.org">
<meta name="company" content="Pimp My Cause">
<link rel="shortcut icon" href="img/icons/icon.png" type="image/x-icon">

<!-- fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
Expand All @@ -16,4 +24,5 @@
window.Modernizr || document.write('<script src="scripts/vendor/modernizr.js">\x3C/script>')
</script>

<!--[if IE]><script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
8 changes: 4 additions & 4 deletions frontend/src/pages/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
<div class="row header-row-position-relative">

<!-- Logo -->
<div class="large-2 columns show-for-medium-up header-column-position-static">
<a href="index.html" class="large-2 columns show-for-medium-up header-column-position-static">
<img class="logo vertical-align-center" src="img/logo.png"/>
</div> <!-- end large-2 -->
</a> <!-- end large-2 -->


<!-- Navigation -->
Expand Down Expand Up @@ -95,12 +95,12 @@

<!-- Sign in button -->
<div class="header-sign-in">
<a href="#" class="button round">Sign in</a>
<a href="login.html" class="button round">Sign in</a>
</div>

<!-- Not registered link -->
<div class="header-register">
<a href="#">Not registered?</a>
<a href="create-account.html">Not registered?</a>
</div>

<!-- </div>-->
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ <h1>Sign-up to our newsletter</h1>
<!--#include virtual="includes/foot.html" -->

</body>

</html>


31 changes: 31 additions & 0 deletions frontend/src/pages/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html class="no-js" lang="en">

<!--#include virtual="includes/head.html" -->

<body>
<!--#include virtual="includes/header.html" -->
<div class="large-12 columns pnl-title pnl-summary">
<h1>Log In</h1>
<form id="sign-in" method="POST" action="" class="large-4 row">
<label for="email">Email:</label>
<input type="email" name="email" placeholder="Username" required>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change the placeholder to Email Address? Just to make it explicitly clear it's the email address the user should enter

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tanyapowell I followed the wireframe exactly, I will check with Jeanette if that is OK as it is a visual change too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's cool! I had a conversation with my dad at lunchtime about filling in an online form and made me realise how important it is to be ridiculously clear on what you are asking for

<label for="password">Password:</label>
<input type="password" name="password" placeholder="Password">
<a href="#" class="row">Forgot Password</a>
<input class="button right" type="submit" value="Sign in">
<a href="create-account.html" class="underline row txt-right">Not Registered? Start here</a>
</form>

</div>

<!--#include virtual="includes/footer.html" -->

<!--#include virtual="includes/mobile-menu-end.html" -->

<!--#include virtual="includes/foot.html" -->

</body>
</html>


4 changes: 3 additions & 1 deletion frontend/src/styles/base/_colours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ $grey: #c8c7c7;
// 200 199 199
$aluminium: #dbdbdb;
// 219 219 219
$black: #3c3c3c;


// Text
$colr-txt: $white;
$colr-txt-dark: $black;
$colr-txt-dropdown: $purple;
$colr-txt-accent: $purple;
$colr-txt-menu-item: $aluminium;
Expand All @@ -40,7 +42,7 @@ $colr-pnl-summary: $white;
$colr-pnl-talkabout: $purple;
$colr-pnl-contactus: $grey;
$colr-pnl-signup: $pink;
$colr-pnl-footer: $white;
$colr-pnl-footer: $purple;
// Hero Panel
$colr-hero-tile: $green;
$colr-hero-tile2: $mustard;
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/styles/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
// padding-top: rem-calc(24.4);
//}

.underline {
text-decoration: underline;
}
7 changes: 6 additions & 1 deletion frontend/src/styles/layout/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
LAYOUT / FOOTER
================================= */

.pnl-footer {
footer {
background-color: $colr-pnl-footer;
height: 5em;
margin: 0;
width: 100%;
color: $colr-txt;
text-align: center;
}
32 changes: 31 additions & 1 deletion frontend/src/styles/layout/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
/* =================================
LAYOUT / FORMS
================================= */
================================= */

#sign-in, #sign-up {
margin: 0 auto;
label {
display: none;
}
a {
color: $colr-txt-dark;
display: block;
margin: 0;
}
.txt-right {
text-align: right;
clear: both;
}
}

#sign-up {
.inline-select {
display: inline-block;
label {
display: inline-block;
}
select {
width: auto;
min-width: 7em;
}
}

}