diff ismi-python-neo4jrestclient/static/commentaries.html @ 35:9f0d4fd3a412

cleanup and layout tweaks.
author casties
date Thu, 04 Feb 2016 15:23:15 +0100
parents a6b2a09ea413
children 810ea40a9ef8
line wrap: on
line diff
--- a/ismi-python-neo4jrestclient/static/commentaries.html	Sat Dec 19 23:25:23 2015 -0500
+++ b/ismi-python-neo4jrestclient/static/commentaries.html	Thu Feb 04 15:23:15 2016 +0100
@@ -16,7 +16,7 @@
                             <div class="form-group">
                                 <input type="text" value="jaghmini" placeholder="Search for person name" class="form-control" name="search">
                             </div>
-                            <button class="btn btn-default" type="submit">Search for author id</button>
+                            <button class="btn btn-default" type="submit">Search for author name</button>
                         </form>
                     </li>
                 </ul>
@@ -39,7 +39,7 @@
     <div class="col-md-5">
         <div class="panel panel-default">
             <div class="panel-heading">
-                <span id="author">Titles by this author</span>
+                <b id="author">Titles by this author</b>
                 <span class="clickhide">(click to hide)</span>
                 <span class="clickhide" style="display:none;">(click to show)</span>
             </div>
@@ -59,7 +59,7 @@
     <div class="col-md-7">
         <div class="panel panel-default">
             <div class="panel-heading">
-             <span id="title">Text details</span>
+             <b id="title">Text details</b>
              <span class="clickhide">(click to hide)</span>
              <span class="clickhide" style="display:none;">(click to show)</span>
             </div>
@@ -85,7 +85,7 @@
 <div class="col-lg-12">
     <div class="panel panel-default">
         <div class="panel-heading">
-            <span>Graph of commentaries</span>
+            <span><b>Graph of commentaries</b></span>
             <span class="clickhide">(click to hide)</span>
             <span class="clickhide" style="display:none;">(click to show)</span>
         </div>
@@ -123,7 +123,7 @@
                         if (!data) return;
                         $("#title").text("Title: "+data.title);
                         var $list = $("#info").empty();
-                        $list.append($("<li>Author: " + data.author.label + " [" + data.author.ismi_id + "]</li>")
+                        $list.append($("<li><b>Author:</b> " + data.author.label + " [" + data.author.ismi_id + "]</li>")
                                 .click(function() { 
                                     search(data.author.label, true); 
                                     }));
@@ -133,7 +133,7 @@
                             if (key === "link") {
                                 val = "<a href=\"" + val + "\" target=\"_blank\">" + val + "</a>";
                             }
-                            $list.append($("<li>" + key + ": " + val + "</li>"));
+                            $list.append($("<li><b>" + key + ":</b> " + val + "</li>"));
                         };
                         // re-set selected
                         $("#graph .selected").each(function(){this.classList.remove("selected")});