diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-04 19:57:59 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-04 19:57:59 +0100 |
commit | 67802ddb9b61d9831b01bdd26c8a9b0e6fab41c8 (patch) | |
tree | 03aade4ec76fd3236c922fe7930822a03df2b4d4 | |
parent | 5adb3f33342dda3d2a904c8dda2a4281366094c3 (diff) |
Put most of the non geo stuff into the template
-rw-r--r-- | templates/web/default/alert/list.html | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html index fd55d5504..4408a931a 100644 --- a/templates/web/default/alert/list.html +++ b/templates/web/default/alert/list.html @@ -7,7 +7,43 @@ <h1>[% title %]</h1> +<form id="alerts" name="alerts" method="post" action=""> + <input type="hidden" name="type" value="local"> + <input type="hidden" name="pc" value="[% pc | html %]"> -[%# FIXME - put in blurb here %] + [%# FIXME cobrands and pics here %] + + <p> + [% IF pretty_pc %] + [% tprintf( loc('Here are the types of local problem alerts for %s.'), pretty_pc ) %] + [% END %] + [% loc('Select which type of alert you\'d like and click the button for an RSS feed, or enter your email address to subscribe to an email alert') %] + </p> + + <p> + [% loc('The simplest alert is our geographic one') %] + </p> + + [%# FIXME errors here %] + + [%# FIXME rss options here %] + + <p> + <input type="submit" name="rss" value="[% loc('Give me an RSS feed') %]"> + <p> + + <p id="aler_or"> + or + </p> + + <p> + [% loc('Your email:') %] <input type="text" id="rznvy" name="rznvy" value="[% rznvy | html %]" size="30"> + </p> + + <p> + <input type="submit" name="alert" value="[% loc('Subscribe me to an email alert') %]"> + </p> + </div> <!-- ???? --> + </form> [% INCLUDE 'footer.html' %] |