aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/alert/index.html
blob: 80186ded7f733486f35250643391826ac3069746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[% SET bodyclass = 'alertpage fullwidthpage' %]
[% INCLUDE 'header.html', title = loc('Local RSS feeds and email alerts') %]

<h1>[% loc('Local RSS feeds and email alerts') %]</h1>

[% PROCESS 'alert/_index_text.html' %]

<form method="get" action="/alert/list" class="form-box js-geolocate">
  <fieldset>
    <legend class="visuallyhidden">[% loc('Search for location of email alert or RSS feed') %]</legend>
    <label for="pc">[% loc('Postcode or street name and area') %]</label>
    <p class="form-hint" id="pc-hint">[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]</p>
    <div class="form-txt-submit-box">
      <input class="form-control" type="text" id="pc" name="pc" value="[% pc | html %]" aria-describedby="pc-hint">
      [% INCLUDE 'around/_postcode_submit_button.html' attr='class="green-btn"' %]
    </div>
  </fieldset>
  <a href="/alert/list" id="geolocate_link">&hellip; [% loc('or use my location') %]</a>
</form>

[% IF photos.size %]
<h2>[% loc('Some photos of recent reports') %]</h2>
<div class="alerts__nearby-activity__photos">
  [% FOREACH p IN photos %]
    <a href="/report/[% p.id %]">
        <img border="0" height="100" src="[% p.photos.first.url_tn %]"
        alt="[% p.title | html %]" title="[% p.title | html %]">
    </a>
  [% END %]
</div>
[% END %]

[% INCLUDE 'footer.html' %]