Chris Hill-Scott 8a34fa7e0a Use Flask for routing
This commit:
- replaces links that look like buttons with forms and submit buttons
- splits the view code for SMS into its own file
- moves the routing into the Python by adding handling for `post` requests
- uses Flask’s `url_for` to generate URLs, rather than hard coding them (so that
  it’s easier to change the URLs)
- chages the URLs for sending text messages
2015-12-11 09:49:38 +00:00
2015-12-11 09:49:38 +00:00
2015-12-11 09:49:31 +00:00
2015-12-11 09:49:31 +00:00
2015-12-04 16:27:11 +00:00
2015-12-10 16:47:29 +00:00
2015-12-03 09:40:28 +00:00

Build Status

notifications-admin

Application to handle the admin functions of the notifications application.

Features of this application:

  • Register users
  • Register services
  • Download CSV for an email or sms batch
  • Show history of notifications
  • Reports

Create a virtual environment for this project

mkvirtualenv -p /usr/local/bin/python3 notifications-admin 

GOV.UK frontend toolkit

The GOV.UK frontend toolkit is a submodule of this project. To get the content of the toolkit run the following two commands

git submodule init
git submodule update

Running the application:

pip install -r requirements.txt
./scripts/bootstrap.sh  
./scripts/run_app.sh

Note: the ./scripts/bootstrap.sh script only needs to be run the first time to create the database.

url to test app:

localhost:6012/helloworld

Domain model

All the domain models are defined in the models.py file.

Description
The UI of Notify.gov
Readme 545 MiB
Languages
Python 69.3%
HTML 16.6%
JavaScript 11.1%
SCSS 0.9%
Nunjucks 0.7%
Other 1.4%