From 529e4cf954048fdcd15b9cde00a0497cb10d8c36 Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <frank@sauerburger.com>
Date: Tue, 5 Jan 2021 21:56:37 +0100
Subject: [PATCH] Remove ladida modifier

---
 uhepp-js/src/components/UheppHistUI.jsx          | 16 +++++++++-------
 .../uhepp_vault/templates/uhepp_vault/base.html  |  4 ++--
 .../uhepp_vault/templates/uhepp_vault/home.html  |  2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/uhepp-js/src/components/UheppHistUI.jsx b/uhepp-js/src/components/UheppHistUI.jsx
index 8048afc..333c00e 100644
--- a/uhepp-js/src/components/UheppHistUI.jsx
+++ b/uhepp-js/src/components/UheppHistUI.jsx
@@ -49,16 +49,16 @@ const UheppHistUI = ({width, height, uhepp}) => {
 			<li className="nav-item">
 				<a className="nav-link" id="binning-tab" data-toggle="tab" href="#binning" role="tab" aria-controls="binning" aria-selected="true">Binning</a>
 			</li>
-			<li className="nav-item">
+			{ /*<li className="nav-item">
 				<a className="nav-link" id="other-tab" data-toggle="tab" href="#other" role="tab" aria-controls="other" aria-selected="false">Other</a>
-			</li>
+			</li> */}
 			<li className="nav-item">
 				<a className="nav-link" id="reset-tab" data-toggle="tab" href="#reset" role="tab" aria-controls="reset" aria-selected="false">Reset</a>
 			</li>
 		</ul>
 
 		<div className="tab-content" id="view-options-content">
-			<div className="tab-pane show active" id="info" role="tabpanel" aria-labelledby="binning-tab">
+			<div className="tab-pane show active p-3" id="info" role="tabpanel" aria-labelledby="binning-tab">
 				<dl>
 					<dt>Author</dt>
 					<dd>{ uhepp.metadata.author || <i>None</i>}</dd>
@@ -87,7 +87,7 @@ const UheppHistUI = ({width, height, uhepp}) => {
 							) }</dd>
 				</dl>
 			</div>
-			<div className="tab-pane" id="binning" role="tabpanel" aria-labelledby="binning-tab">
+			<div className="tab-pane p-3" id="binning" role="tabpanel" aria-labelledby="binning-tab">
 				<form>
 					<div className="form-group">
 						<label htmlFor="rebin">Bin edges</label>
@@ -131,10 +131,12 @@ const UheppHistUI = ({width, height, uhepp}) => {
 					</div>
 				</form>
 			</div>
-			<div className="tab-pane" id="other" role="tabpanel" aria-labelledby="other-tab">
+			{ /*<div className="tab-pane" id="other" role="tabpanel" aria-labelledby="other-tab">
 				<h1>La di da</h1>
-			</div>
-			<div className="tab-pane" id="reset" role="tabpanel" aria-labelledby="reset-tab">
+			</div> */}
+			<div className="tab-pane p-3" id="reset" role="tabpanel" aria-labelledby="reset-tab">
+        <p>Reset all view modifications. Pull the plot to make permanent
+        changes.</p>
 				<button className="btn btn-secondary m-1" type="button" onClick={() => setData(uhepp)}>
 					Reset view
 				</button>
diff --git a/uhepp_org/uhepp_vault/templates/uhepp_vault/base.html b/uhepp_org/uhepp_vault/templates/uhepp_vault/base.html
index 798150e..e648b72 100644
--- a/uhepp_org/uhepp_vault/templates/uhepp_vault/base.html
+++ b/uhepp_org/uhepp_vault/templates/uhepp_vault/base.html
@@ -20,7 +20,7 @@
   </style>
 </head>
 <body>
-<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
+<nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow-sm">
 <div class="container">
   <a class="navbar-brand" href="/">{% svg 'logo' %}</a>
   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
@@ -91,7 +91,7 @@
     <p>Copyright 2020-{% now "Y" %}, Frank Sauerburger<p>
   </div>
   <div class="col-md-2" style="text-align: center;">
-    <i title="Made with passion" class="fas fa-wave-square"></i>
+    <i title="Made with Poisson" class="fas fa-wave-square"></i>
   </div>
   <div class="col-md-5" style="text-align: right">
     <ul>
diff --git a/uhepp_org/uhepp_vault/templates/uhepp_vault/home.html b/uhepp_org/uhepp_vault/templates/uhepp_vault/home.html
index 535714b..253cc6d 100644
--- a/uhepp_org/uhepp_vault/templates/uhepp_vault/home.html
+++ b/uhepp_org/uhepp_vault/templates/uhepp_vault/home.html
@@ -2,7 +2,7 @@
 {% load pygmentify_tags %}
 
 {% block teaser %}
-<div class="jumbotron jumbo-fluid plot-background">
+<div class="jumbotron jumbo-fluid plot-background shadow">
 <div class="container">
   <h1 class="display-4">uhepp hub</h1>
   <h2>Home of {{ plot_count }} plots</h2>
-- 
GitLab