Write to your MP, MEP, & other elected representatives.
PHP HTML Perl CSS Bluespec JavaScript Other
Latest commit c23a31d Nov 4, 2016 @abimysoc abimysoc committed on GitHub Replace David Cameron with Theresa May
The site already has Theresa May set as `prime_minister` but as the text is hard coded it still admonishes people not to write to David Cameron on her page. Fixes #349.
Permalink
Failed to load latest commit information.
bin handle new questionnaire responses in bounce handler Oct 7, 2016
commonlib @ 977b8d8 Update commonlib. Aug 12, 2016
conf
db
doc Add Retry button for failed messages. Don't time out things put back Feb 5, 2007
perllib
phplib
t
templates
web-admin Optimize PNGs using pngquant Oct 15, 2015
web Merge branch 'stats-table-fixed-header' Oct 21, 2016
.gitignore Ignore any .sass-cache directory. Sep 17, 2015
.gitmodules
LICENSE.txt
README.md

README.md

WriteToThem

WriteToThem lets you contact elected representatives in the United Kingdom.

If you want to build your own site for writing to people, we recommend you take a look at WriteIt instead. WriteToThem is a legacy project with many particular quirks, whereas WriteIt was built from the start to be more flexible and easier to use.

Developing WriteToThem

Stylesheets

WriteToThem uses the Foundation framework, and styles are compiled using Compass. Before you start editing files you will need some prerequisites, which can be installed as follows (you may need to use sudo):

  • gem install zurb-foundation will install the necessary components of the framework.
  • gem install compass will install Compass, ready to compile assets.

The Sass files used to compile styles are located in web/static/sass. To compile them, cd to the web/static directory and run compass compile. If you are making frequent changes, compass watch will watch the directory for changes and recompile when necessary.

Acknowledgements

Thanks to Browserstack who let us use their web-based cross-browser testing tools for this project.