aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-05-31 09:09:43 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-05-31 15:36:08 +0100
commit54988561abba0ffdb44cc0baf0c2042ba9770b18 (patch)
treefe5faa225e297f460f35a1b3f9e16e159559c074 /templates/web
parent38e2918987677253b6a337f5287c2e29685b9c78 (diff)
Consolidate CSS clearfix handling.
Remove duplicate/alternate definitions, and settle on the name clearfix.
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/base/report/_main.html2
-rw-r--r--templates/web/base/report/update-form.html2
-rw-r--r--templates/web/bromley/header_logo.html2
-rw-r--r--templates/web/zurich/admin/report_edit-sdm.html2
-rw-r--r--templates/web/zurich/report/_main.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html
index c079b9ebd..aaa167108 100644
--- a/templates/web/base/report/_main.html
+++ b/templates/web/base/report/_main.html
@@ -1,6 +1,6 @@
[% moderating = c.user && c.user.has_permission_to('moderate', problem.bodies_str) %]
-<div class="problem-header cf" problem-id="[% problem.id %]">
+<div class="problem-header clearfix" problem-id="[% problem.id %]">
[% IF moderating %]
[% original = problem_original %]
diff --git a/templates/web/base/report/update-form.html b/templates/web/base/report/update-form.html
index 29529e5a1..f6ce265bf 100644
--- a/templates/web/base/report/update-form.html
+++ b/templates/web/base/report/update-form.html
@@ -21,7 +21,7 @@
[% END %]
[% IF c.user_exists %]
[% INCLUDE 'report/update/form_name.html' %]
- <div class="cf"><input class="final-submit green-btn" type="submit" id="update_post" value="[% loc('Post') %]"></div>
+ <div class="clearfix"><input class="final-submit green-btn" type="submit" id="update_post" value="[% loc('Post') %]"></div>
[% ELSIF oauth_need_email %]
[% INCLUDE 'report/update/form_user_loggedout_email.html' required = 1 %]
<div id="form_sign_in">
diff --git a/templates/web/bromley/header_logo.html b/templates/web/bromley/header_logo.html
index 92ff771f9..8c49d9145 100644
--- a/templates/web/bromley/header_logo.html
+++ b/templates/web/bromley/header_logo.html
@@ -1,4 +1,4 @@
- <div class="bromley-header cf">
+ <div class="bromley-header clearfix">
<a href="http://www.bromley.gov.uk/" id="site-logo">[% site_name %]</a>
<ul class="linear-links subtext float-right top-links">
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html
index a0ff1038d..63c6b5e6f 100644
--- a/templates/web/zurich/admin/report_edit-sdm.html
+++ b/templates/web/zurich/admin/report_edit-sdm.html
@@ -133,7 +133,7 @@
</script>
</p>
-<p class="cf screen-only">
+<p class="clearfix screen-only">
<input style="float:left" type="submit" name="Submit changes" value="[% loc('Submit changes') %]" >
<input style="float:right" type="submit" name="no_more_updates" value="[% loc('No further updates') %]">
</p>
diff --git a/templates/web/zurich/report/_main.html b/templates/web/zurich/report/_main.html
index d80eeb9a4..34aa71590 100644
--- a/templates/web/zurich/report/_main.html
+++ b/templates/web/zurich/report/_main.html
@@ -1,4 +1,4 @@
-<div class="problem-header cf">
+<div class="problem-header clearfix">
<h1>[% tprintf( loc('Reported in the %s category'), problem.category ) %]</h1>
<p class="sub">
[% prettify_dt( problem.created, 'zurich' ) %]