Chris Hill-Scott
73ccea4d1f
Add GOV.UK Elements as a submodule
...
Since GOV.UK Elements is versionned now it makes sense to bring it in as a
dependency. This enforces a separation between what generic stuff we’re using
from Elements and what is specific to our app.
The benefit is that when the generic stuff changes it will be easy to bring
those changes in.
This commit also bumps GOV.UK frontend toolkit to the latest version (v4.5.0).
2015-12-11 09:49:31 +00:00
Chris Hill-Scott
1f39a0fe61
Hard code some data in the Python
...
This commit adds some stubbed data for the pages. The structure of the data
is just a proposal, but it gives the templates something to work with for now.
2015-12-11 09:48:59 +00:00
Chris Hill-Scott
b46872d2b9
Add a template filter for message placeholders
...
As a first guess placeholders can be added to messages with the
`((placeholder))` syntax.
This commit adds a Jinja template filter to convert strings containing
said-formatted strings into HTML, which can then be styled to highlight which
parts will be substituted in messages.
2015-12-11 09:48:59 +00:00
Chris Hill-Scott
a5f4580a7f
Get SASS compilation working
...
Main thing that was missing was including the main CSS file in the template.
There are a few hacky bits here, like moving the whole of toolkit inside the
stylesheets directory.
Would arguably be cleaner using something that isn’t Flask Assets, but that’s
something for later.
2015-12-11 09:48:59 +00:00
Chris Hill-Scott
2f980ab622
Move all pages into their own directory
...
There are a lot of pages. It seems like a good idea to keep them in one place,
so they don’t get mixed up with partials and layouts.
2015-12-11 09:48:52 +00:00
minglis
3b327c9986
Merge pull request #22 from alphagov/implement_two_factor
...
Implement two factor
2015-12-09 14:20:29 +00:00
Chris Heathcote
b60b4f6d3a
Merge pull request #23 from alphagov/change_labels
...
Change labels
2015-12-09 14:14:38 +00:00
Rebecca Law
f19cebd5fc
Use the labels in the template rather than the form
2015-12-09 12:02:59 +00:00
Rebecca Law
5afb36cf71
Put the label in the templates rather than use the form label.
...
Just to make it easier.
2015-12-09 12:01:07 +00:00
Pete Herlihy
b038e00fab
Added mange templates link to the dashboard
2015-12-09 11:14:45 +00:00
Pete Herlihy
80461e330c
Added an add template button to manage templates page
2015-12-09 11:09:29 +00:00
Pete Herlihy
c145a07072
Added link to template edit page
2015-12-09 10:58:01 +00:00
Pete Herlihy
65c661d8d7
Created an initial page for editing templates [ci skip]
2015-12-09 10:52:09 +00:00
Pete Herlihy
7f1cdd2d27
Added initial template manage page [ci skip]
2015-12-09 10:47:38 +00:00
Rebecca Law
2e59870490
109638656: Implement two factor verify flow
...
When user enters valid sms code they are redirected to the dashboard.
Otherwise, form errors are present.
2015-12-09 10:17:09 +00:00
Rebecca Law
16618e80f9
109526520: Implement verify flow
...
When a person registers with a valid mobile number and email address,
a code will be sent to each. That person can enter the verify codes and continue to the add-service page.
2015-12-09 10:12:21 +00:00
Rebecca Law
60ed0c541b
Remove the temporary endpoint to create users.
2015-12-08 09:03:48 +00:00
Chris Heathcote
12cbc04080
Changed main GOV.UK link depending on whether user is logged in or not
...
Goes to / for not logged in, /dashboard for logged in.
2015-12-07 16:18:05 +00:00
Lorena Sutherland
782d68a071
Add line break
2015-12-07 11:49:29 +00:00
Lorena Sutherland
1803fea9ab
Fix bullet layout
2015-12-07 11:44:32 +00:00
Lorena Sutherland
851026970c
Amend text
2015-12-07 11:16:14 +00:00
Lorena Sutherland
f91f5b5f02
Add line break to label
2015-12-07 10:04:51 +00:00
Lorena Sutherland
e9c9b8c271
Amend text
2015-12-04 15:12:48 +00:00
Lorena Sutherland
619df26690
Amend text
2015-12-04 15:08:41 +00:00
Lorena Sutherland
30f55321b2
Amend text
2015-12-04 15:07:21 +00:00
Lorena Sutherland
aadad35d71
Amend text and add password prompt
2015-12-04 15:05:51 +00:00
Lorena Sutherland
e8839c3300
Amend text
2015-12-04 15:02:00 +00:00
Lorena Sutherland
3c99eb2d3a
Amend text
2015-12-04 14:57:16 +00:00
Lorena Sutherland
dc313a601c
Amend text
2015-12-04 14:56:23 +00:00
Lorena Sutherland
9be1612c09
Amend text
2015-12-04 14:54:40 +00:00
Lorena Sutherland
7836241f48
Amend text
2015-12-04 14:50:23 +00:00
Lorena Sutherland
b2cae0d162
Amend text
2015-12-04 14:46:01 +00:00
Lorena Sutherland
0af88bb99f
Amend intro text & delete email/phone prompts
2015-12-04 12:53:25 +00:00
Lorena Sutherland
7c3ff23ee2
Amend intro text and add password prompt
2015-12-04 12:51:06 +00:00
Lorena Sutherland
8ade276c3c
Amend intro and sign-in text
2015-12-04 12:49:38 +00:00
Lorena Sutherland
437e4f52bd
Amend intro and sign-in text
2015-12-04 12:47:23 +00:00
Chris Heathcote
da80013ec9
Adding beta phase banner
2015-12-03 16:01:00 +00:00
Lorena Sutherland
ff1c35e7a0
Amend line of text
2015-12-02 16:03:31 +00:00
Lorena Sutherland
47a7b79b21
Amend heading text
...
New heading corresponds to design pattern for confirming accounts
2015-12-02 15:44:07 +00:00
Lorena Sutherland
71f9be2b7e
Amend line of text
2015-12-02 15:33:24 +00:00
Lorena Sutherland
f4140ea49b
Amend line of text
2015-12-02 15:32:21 +00:00
Lorena Sutherland
f6967a8f23
Amend line of text
2015-12-02 11:56:59 +00:00
Rebecca Law
64d2cbb927
108536366: Implement register flow
...
Includes validation for gov.uk email address, mobile number with +44, password at least 10 char.
Form validation errors will be added to template in a later story.
User is created when form validates.
2015-12-01 16:41:49 +00:00
Chris Heathcote
00efed12ec
Merge pull request #9 from alphagov/ph-title
...
Updates to the page titles, removed hello world things.
2015-12-01 10:24:35 +00:00
Rebecca Law
48b7a7dc37
108536490: Adding the login manager and csrf token.
...
Still need to figure out how to override the load_user method, currently it is not working.
2015-12-01 10:00:06 +00:00
Rebecca Law
7f96ef5a25
108536490: Initial effort to implement log in
...
Add endpoint for post to /sign-in
Initialise role data
2015-12-01 10:00:06 +00:00
Pete Herlihy
2a39d3a3da
Updated html title [ci skip]
2015-12-01 09:56:46 +00:00
Pete Herlihy
a541ef2164
Updated html title [ci skip]
2015-12-01 09:56:06 +00:00
Pete Herlihy
42fa80dd90
Updated html title [ci skip]
2015-12-01 09:55:37 +00:00
Pete Herlihy
bd2826f584
Updated html title [ci skip]
2015-12-01 09:54:58 +00:00