Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/delibero.git

Renamed summary to support.

AuthorDave Jarvis <email>
Date2013-11-11 21:34:50 GMT-0800
Commitffdac8b9aca16f363b13682335b3e48e30916b24
Parent55f9603
css/support.css
+div.policy-title {
+ padding-bottom: 0.5em;
+}
+
+div.support {
+ border-top: 1px solid #182945;
+ border-bottom: 1px solid #182945;
+}
+
+div.support-votes {
+ float: left;
+}
+
+div.support-container {
+ display: inline-block;
+ width: 85%;
+}
+
+div.support-votes {
+ margin-top: 0.5em;
+ padding-right: 1em;
+ text-align: center;
+ font-size: 16pt;
+}
+
+h2.support-implication {
+ color: #A1C436;
+ padding: 0;
+ margin: 0;
+ margin-top: 0.5em;
+}
+
+h2.support-title {
+ margin: 0;
+ padding: 0;
+}
+
+div.support-vote-pro {
+ color: #A1C436;
+}
+
+div.support-vote-con {
+ color: #888;
+}
+
+div.support-feedback {
+ float: right;
+ padding-top: 0.5em;
+}
+
+a.support-feedback-link {
+ color: #888;
+ font-size: 12pt;
+}
+
js/support.js
+var index = 0;
+var tours = [
+ {
+ "a": 150,
+ "d": -35,
+ "e": "div.support-vote-pro",
+ "t": 'Users can vote to agree with an implication.'
+ },
+ {
+ "a": 150,
+ "d": -5,
+ "e": "div.support-vote-con",
+ "t": 'Users can vote to disagree with an implication.'
+ },
+ {
+ "a": 93,
+ "d": -285,
+ "e": "h2.support-implication",
+ "t": 'Summary clearly marked as a benefit or drawback.'
+ },
+ {
+ "a": 135,
+ "d": -5,
+ "e": "h2.support-title",
+ "t": 'Summary title is repeated for context.'
+ },
+ {
+ "a": 135,
+ "d": -5,
+ "e": "a.definition",
+ "t": 'Users can select hyperlinked definitions to learn contextual meaning.'
+ },
+ {
+ "a": 135,
+ "d": -5,
+ "e": "a.video",
+ "t": 'Links can trigger embedded videos.'
+ },
+ {
+ "a": -15,
+ "d": 10,
+ "e": "#support-feedback-discuss",
+ "t": 'Returns user to discussion page.'
+ },
+ {
+ "a": -15,
+ "d": 10,
+ "e": "#support-feedback-edit",
+ "t": 'Users can suggest edits to supporting text (subject to moderation).'
+ },
+ {
+ "a": -15,
+ "d": 10,
+ "e": "#support-feedback-flag",
+ "t": 'Users can bring support page content to the attention of moderators.'
+ },
+];
+
+function nextTour() {
+ $(tours[index].e).grumble({
+ text: tours[index].t,
+ angle: tours[index].a,
+ distance: tours[index].d,
+ hideOnClick: true,
+ onHide: function( grumble, button ) {
+ index++;
+
+ if( index < tours.length ) {
+ nextTour();
+ }
+ }
+ });
+}
+
+$(document).ready( function() {
+ nextTour();
+});
+
support.html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>World Politics: A System for Rational, Moderated Debate</title>
+
+ <link rel="stylesheet" media="screen" href="css/theme.css" />
+ <link rel="stylesheet" media="screen" href="css/support.css" />
+ <link rel="stylesheet" media="screen" href="tour/tour.css" />
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="author" content="Dave Jarvis">
+ <meta name="description" content="A website for engaging the public about upcoming policies.">
+ <meta name="robots" content="all">
+</head>
+<body id="world-politics">
+
+<div id="header">
+</div>
+
+<div id="main" class="main">
+ <div id="policies" class="policies">
+ <div class="policy">
+ <div class="policy-support">
+ <div class="policy-title">
+ <h1 class="policy-title">Water Sustainability Act</h1>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div id="support" class="support">
+ <div id="support-votes" class="support-votes">
+ <div id="support-vote-pro" class="support-vote-pro">
+ 4,253<br />
+ &#x25B2;
+ </div>
+ <br />
+ <div id="support-vote-con" class="support-vote-con">
+ &#x25BC;<br />
+ 701
+ </div>
+ </div>
+ <div id="support-container" class="support-container">
+ <h2 id="support-implication" class="support-implication">Benefit</h2>
+ <h2 id="support-title" class="support-title">
+ Simplify aquifer status and usage metrics collection.
+ </h2>
+ <p>
+ <a class="definition" href="">Large water</a> users would be required to measure and
+ report on water use. Regulations would detail the requirements and who
+ would be responsible for reporting.
+ </p>
+ <p>
+ Good business sense implies improving efficiency to maximise the
+ use of limited water resources. Although many
+ <a href="">licence holders</a> have improved their water use efficiency,
+ mechanisms in the <a class="external-link" href="">Water Act</a> to
+ allow them to make better use of their water savings should be
+ reviewed. In addition, there are many benefits to thinking differently
+ about how we design water related infrastructure to reduce costs and
+ seek future benefits like making energy from waste, recycling water or
+ reusing <a class="internal-link video" href="">waste water</a> for other
+ purposes.
+ </p>
+ <p>
+ Measuring water use encourages efficiency, establishes compliance,
+ helps identify leaks, and can optimize water use practices. This
+ information could be shared on a watershed basis. Identifying and
+ communicating water savings has potential to:
+ </p>
+ <ul>
+ <li>bring more lands into production;</li>
+ <li>restore ecological health;</li>
+ <li>allow for other economic activities in the community; or</li>
+ <li>adapt to changing stream flow conditions.</li>
+ </ul>
+ </div>
+ </div>
+
+ <div id="support-feedback" class="support-feedback">
+ <a id="support-feedback-discuss" class="support-feedback-link" href="discuss.html">discuss</a> |
+ <a id="support-feedback-edit" class="support-feedback-link" href="">edit</a> |
+ <a id="support-feedback-flag" class="support-feedback-link" href="">flag</a>
+ </div>
+</div>
+
+<div id="footer">
+ <p>&nbsp;</p>
+ <p>&nbsp;</p>
+</div>
+
+<script
+ src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+<script type="text/javascript" src="tour/tour.js"></script>
+<script type="text/javascript" src="js/support.js"></script>
+</body>
+</html>
+
Delta232 lines added, 0 lines removed, 232-line increase