Minor look-and-feel stuff.

This commit is contained in:
Simon Brooke 2017-03-31 10:03:01 +01:00
parent 0cb097a64d
commit 0ad6a3e81b
3 changed files with 7 additions and 1 deletions

View file

@ -126,6 +126,10 @@
/* phones, and, indeed, smaller phones. Adapted to touch; display radically /* phones, and, indeed, smaller phones. Adapted to touch; display radically
* decluttered */ * decluttered */
@media all and (max-device-width: 768px) { @media all and (max-device-width: 768px) {
footer {
display: none;
}
#nav{ #nav{
margin: 0; margin: 0;
padding: 0; padding: 0;

View file

@ -72,7 +72,8 @@
:motd "This is a test version only. There is no real data." :motd "This is a test version only. There is no real data."
;;; the options from among which electors can select. ;;; the options from among which electors can select.
:options [{:id :yes :description "Yes"} {:id :no :description "No"}] :options [{:id :yes :description "Yes"} {:id :no :description "No"}]
;;; the currently displayed 'page' within the app. ;;; the queue of items waiting to be transmitted.
:outqueue () :outqueue ()
;;; the currently displayed page within the app.
:page :home :page :home
}) })

View file

@ -79,6 +79,7 @@
{:addresses {:addresses
(cons new-address (remove old-address (:addresses db))) (cons new-address (remove old-address (:addresses db)))
:address new-address :address new-address
:elector elector
:outqueue (cons (assoc args :action :set-intention) (:outqueue db))})))))) :outqueue (cons (assoc args :action :set-intention) (:outqueue db))}))))))