Always show the Installation tab in the help.

master
Pacman Ghost 1 year ago
parent 35c9ee5d53
commit f4553ca42f
  1. 2
      vasl_templates/webapp/static/help/index.html
  2. 1
      vasl_templates/webapp/static/help/main.css
  3. 7
      vasl_templates/webapp/static/help/main.js

@ -19,7 +19,7 @@
<!-- ----------------------------------------------------------------- -->
<div id="app-name" style="display:none;"> VASL Templates </div>
<div id="app-name" style="display:none;"> VASL Templates<span id="app-version"></span> </div>
<div id="helptabs" style="display:none;">

@ -12,6 +12,7 @@ li { margin: 0.2em 0 0 1em ; }
/* -------------------------------------------------------------------- */
#app-name { position: fixed ; top: 2px ; left: 10px ; font-size: 1.8em ; color: #444 ; }
#app-version { font-size: 50% ; }
#helptabs { width: 100% ; height: calc(100% - 50px) ; background: none ; border: none ; }
#helptabs-content { height: 100% ; margin-top: 10px ; overflow: auto ; }

@ -7,7 +7,7 @@ $(document).ready( function() {
var $caption = $( "#app-name" ) ;
var version = getUrlParam( "version" ) ;
if ( version )
$caption.html( $caption.html() + " <small>(" + version + ")</small>" ) ;
$( "#app-version" ).text( " (" + version +")" ) ;
$caption.fadeIn( 500 ) ;
// catch clicks on links
@ -58,11 +58,6 @@ $(document).ready( function() {
}
// initialize the tabs
if ( getUrlParam( "embedded" ) ) {
// update the UI
$( "#helptabs li:contains('Installation')" ).remove() ;
$( "#helptabs-installation" ).remove() ;
}
$("#loader").fadeOut( 500 ) ;
$("#helptabs").tabs().fadeIn( 500 ) ;
$("#helptabs .ui-tabs-nav a").click( function() { $(this).blur() ; } ) ;

Loading…
Cancel
Save