improved L&F
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 13:23:59 +0000 (15:23 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 13:23:59 +0000 (15:23 +0200)
src/psensor/docinfo.html
src/psensor/index.adoc
www/psensor/index.html
www/psensor/nav.js
www/psensor/style.css [new file with mode: 0644]

index 8afb5ff..c85a862 100644 (file)
@@ -1,2 +1,3 @@
+<link rel="stylesheet" href="style.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
 <script src="nav.js"></script>
-
index e825941..aa74020 100644 (file)
@@ -62,7 +62,7 @@ Core 1:      +44.0C  (high = +76.0C, crit = +100.0C)
 ----
 
 Then you can proceed to the installation of `psensor`. For Ubuntu and derivatives,
- you should look at the link:psensor_ubuntu.html[Ubuntu support page].
+ you should look at the link:ubuntu.html[Ubuntu support page].
 
 And finally launch the `psensor` executable.
 
index df5aedb..2c484d3 100644 (file)
@@ -8,8 +8,9 @@
 <title>psensor</title>
 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
 <link rel="stylesheet" href="./asciidoctor.css">
+<link rel="stylesheet" href="style.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
 <script src="nav.js"></script>
-
 </head>
 <body class="article">
 <div id="header">
index 9548a4b..ee905a3 100644 (file)
@@ -1 +1,4 @@
-console.log("OK");
+$( document ).ready(function() {
+        $("#header").prepend("<nav><ul><li><a href='/'>Home</a></li><li><a href='/ppastats'>PPAstats</a></li><li><a href='/psensor'>psensor</a></li></ul></nav>");
+        console.log("END");
+});
diff --git a/www/psensor/style.css b/www/psensor/style.css
new file mode 100644 (file)
index 0000000..80161ea
--- /dev/null
@@ -0,0 +1,48 @@
+nav li {
+        float: left;
+        list-style: none;
+        margin-right: 1em;
+}
+
+h1, nav li {
+        text-transform: uppercase;
+}
+
+nav a, nav a:hover, nav a:visited {
+        text-decoration: none;
+        color: black;
+}
+
+nav a:hover {
+        border-color: red;
+        border-bottom-style: solid;
+        border-bottom-width: 2px;
+}
+
+nav ul {
+        margin: 0;
+}
+
+body {
+        font-family: sans-serif;
+        margin: 1em 1em 1em 2em;
+        padding: 0;
+}
+
+h1 {
+        padding: 0;
+}
+
+#content,#header,h2 {
+        margin: 1em;
+        padding: 0;
+}
+
+#footer {
+        display: none;
+}
+
+pre {
+        margin: 1em 1em 1em 1em;
+        padding: 1em 1em 1em 1em;
+}