Dave Jarvis' Repositories

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

Added edit and flagging to tags. Made UI consistent with other screens.

AuthorDave Jarvis <email>
Date2014-11-24 17:48:54 GMT-0800
Commit42ec29a36d1a865113af5f317d33ac9f1a9d1f10
Parent0d78fbe
xml/css/tags.css
+@import url( "support.css" );
+@import url( "xref.css" );
+@import url( "edit-discuss-flag.css" );
+
+/* ***********************************************************************
+ *
+ * Sets up the tag editor code.
+ *
+ * ***********************************************************************/
div.columns, div.breadcrumb {
border-top-left-radius: 0.4em 0.4em;
}
-div.breadcrumb > span:after {
+div.breadcrumb > span::after {
content: " \25B8";
}
li:nth-child(odd) {
background-color: #EEE;
+}
+
+/* ***********************************************************************
+ *
+ * Sets up the remainder of the web page.
+ *
+ * ***********************************************************************/
+h1 {
+ padding-bottom: 1em;
}
+.description {
+ padding-bottom: 1em;
+ border-bottom: 1px solid black;
+}
xml/tags.xml
</tag>
</tags>
+
+ <related>
+ <edit id="1" />
+ <flag id="1" />
+ </related>
</policy>
xml/tags.xsl
</ul>
</div>
+ <div class="description">
+ <h1>Gas</h1>
+ <p>
+ The <b>gas</b> tag refers to
+ <a href="http://en.wikipedia.org/wiki/Natural_gas">natural gas</a>.
+ </p>
+ </div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="js/columns.js"></script>
Delta35 lines added, 1 line removed, 34-line increase