Skip to content
Write to your MP, MEP, & other elected representatives. http://www.writetothem.com
PHP HTML Perl CSS Bluespec JavaScript Other
Latest commit 2d6a263 @abimysoc abimysoc Merge pull request #294 from mysociety/293-silencefax
Remove fax monitoring
Failed to load latest commit information.
bin Remove fax monitoring
commonlib @ dd132fd
conf
db Output CSV of cobrand counts.
doc
perllib Fix reference to law subsection.
phplib
t Change cobranding URLs and tests to be HTTPS aware.
templates
web-admin Optimize PNGs using pngquant
web
.gitignore
.gitmodules
LICENSE.txt
README.md Add workaround for Chrome bug #153768.

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.

Something went wrong with that request. Please try again.