diff --git a/uhepp-js/src/components/UheppHistUI.jsx b/uhepp-js/src/components/UheppHistUI.jsx index 8048afc4854d90fb338bd81535f5092bb13e07fe..333c00ec51b0f04e98f7bb8788ba4de1c17c8a82 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 798150ec1aabbb07edc3125987605b6ff6234735..e648b720acab344b7b24639e75aeb061c203cb7a 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 535714b1475d237abed9474d3aaa123d960e1f56..253cc6d751c64ce1fac4a4e977bb3dc9eb406823 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>