From ec1d036cae1618820f81f31fb0c3bc2827717974 Mon Sep 17 00:00:00 2001 From: Viren Mohindra Date: Tue, 24 Jan 2017 00:44:58 -0500 Subject: [PATCH] button -> tab, superscript citations in revamp.html - changed buttons to tab in revamp.html - superscript citations for more space --- js/revamp.js | 6 ++++++ revamp.html | 32 +++++++++++++++++++++++++------- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/js/revamp.js b/js/revamp.js index 6448a6e..7809f4b 100644 --- a/js/revamp.js +++ b/js/revamp.js @@ -14,6 +14,12 @@ $('[data-toggle="tooltip"]').tooltip() }); + // tabs + $('#myTabs a').click(function (e) { + e.preventDefault() + $(this).tab('show') + }); + // Find any within a facet function foundAny(facets, compareItem) { // No facets selected, show all for this facet diff --git a/revamp.html b/revamp.html index b46f296..241a731 100644 --- a/revamp.html +++ b/revamp.html @@ -103,6 +103,21 @@ layout: page_revamp + +
+
+ +
+ + +
--> +
@@ -126,12 +142,12 @@ layout: page_revamp - ID + Category Promise - Sources + Actions @@ -162,11 +178,13 @@ layout: page_revamp {% endfor %} --> - {{ promise.title }} - - {% for source in promise.sources %} + {{ promise.title }} + + {% for source in promise.sources %} {{ forloop.index }} - {% endfor %} + {% endfor %} + +