Write to your MP, MEP, & other elected representatives.
PHP HTML Perl CSS Bluespec JavaScript Other
Latest commit 4e635f8 Aug 12, 2016 @dracos dracos Update commonlib.
Permalink
Failed to load latest commit information.
bin
commonlib @ 977b8d8
conf Check DMARC status of domain upon sending. Dec 11, 2015
db
doc
perllib
phplib
t Change cobranding URLs and tests to be HTTPS aware. Oct 17, 2013
templates
web-admin
web
.gitignore
.gitmodules
LICENSE.txt Adding license Jan 26, 2010
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.