Permalink
Browse files

+ added violations lookup table

+ added styles for violation level highlighting
  • Loading branch information...
1 parent 3544f35 commit 57e9300a6f9cc489f78dac7783b0a3011cd9d6f2 Derek Eder committed Apr 8, 2012
View
@@ -3,6 +3,7 @@
<head>
<title>About - Chicago Food Inspections</title>
<link href='styles/map.css' media='all' rel='stylesheet' type='text/css' />
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="/source/analytics_lib.js" type="text/javascript"></script>
</head>
<body>
@@ -11,11 +12,12 @@
<ul id='header-nav'>
<li><a href="index.html">Home</a></li>
<li><a href='about.html'>About</a></li>
+ <li><a href='violations.html'>Violations</a></li>
</ul>
<a href='index.html'><h1>Chicago Food Inspections</h1></a>
<hr />
- <h1>About Chicago Food Inspections</h1>
+ <h1>About</h1>
<ul id="faq">
<li><a href="#what-do-these-inspection-results-mean">What do these inspection results mean?</a></li>
View
@@ -32,6 +32,7 @@
<ul id='header-nav'>
<li><a href="index.html">Home</a></li>
<li><a href='about.html'>About</a></li>
+ <li><a href='violations.html'>Violations</a></li>
</ul>
<a href='index.html'><h1>Chicago Food Inspections</h1></a>
<hr />

Large diffs are not rendered by default.

Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -174,4 +174,22 @@ td .options-h, td .options-v { margin: 0; }
.label-purple { color: #cc66cc; }
.label-red { color: #d73e3e; }
-#resultCount { float: right; font-weight: bold; font-size: 15px; margin-top: 8px; }
+.violation-critical { color: #d73e3e; }
+.violation-serious { color: #cccc33; }
+.violation-minor { color: #60c660; }
+
+#resultCount { float: right; font-weight: bold; font-size: 15px; margin-top: 8px; }
+
+/* Tables */
+.data { width: 100%; font-size: 15px; padding-bottom: 15px; }
+.data td, .data th { border: 1px solid #ccc; padding: 0.5em; }
+.data th { background: #e9f0f8; font-weight: bold; }
+.data thead th { border: 1px solid #ccc; }
+.data th { background-position: 0.5em 50%; background-repeat: no-repeat; cursor: pointer; padding: 0.5em; }
+.data th.sorting { color: #366CB3; }
+.data th.sorting_asc { background-image: url(images/arrow-secondary-up.gif); color: #366CB3; padding-left: 20px; }
+.data th.sorting:hover { text-decoration: underline; }
+.data th.sorting_desc { background-image: url(images/arrow-secondary-down.gif); color: #366CB3; padding-left: 20px; }
+.dataTables_filter { font-size: 1.2em; margin-bottom: 10px; }
+.dataTables_filter input { padding: 0.2em; }
+tr.alt, tr.even { background: #FAFAFF; }
Oops, something went wrong.

0 comments on commit 57e9300

Please sign in to comment.