diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-23 12:45:53 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-23 12:45:53 +0000 |
commit | 3b3bde31a1f812b6720bbd61e8523aade56eb67d (patch) | |
tree | d6f3f671deeb15acee89729a082977e9dd067bd5 | |
parent | baaa3e949ad045029465d7c6a0381f98c9cc7e5e (diff) |
Add a page footer that you can call as a parameter of the footer include
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r-- | templates/web/fixmystreet/footer.html | 5 | ||||
-rwxr-xr-x | templates/web/fixmystreet/reports/index.html | 3 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/base.scss | 7 |
3 files changed, 13 insertions, 2 deletions
diff --git a/templates/web/fixmystreet/footer.html b/templates/web/fixmystreet/footer.html index 6f323ed47..a2fdda105 100644 --- a/templates/web/fixmystreet/footer.html +++ b/templates/web/fixmystreet/footer.html @@ -1,3 +1,8 @@ + [% IF pagefooter %] + <footer id="site-footer" role="content-info"> + <p>Some footer text</p> + </footer> + [% END %] </div><!-- .content role=main --> </div><!-- .container --> diff --git a/templates/web/fixmystreet/reports/index.html b/templates/web/fixmystreet/reports/index.html index 57b9dfe33..180b651ea 100755 --- a/templates/web/fixmystreet/reports/index.html +++ b/templates/web/fixmystreet/reports/index.html @@ -32,5 +32,4 @@ [% END %] </table> -[% INCLUDE 'footer.html' %] - +[% INCLUDE 'footer.html' pagefooter = 'yes' %]
\ No newline at end of file diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 43cf82617..c64bb1588 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -580,6 +580,13 @@ p.label-valid { } } + +#site-footer { + border-top:3px solid $primary; + margin:1em -1em 0 -1em; + padding:1em; +} + /*BUTTONS*/ // Default style set for buttons, inputs and .btn class. Red and green class available. |