Commit ebe4ba23 authored by Leigh Stoller's avatar Leigh Stoller

Minor fixes.

parent fe8cc493
......@@ -169,10 +169,16 @@ $(function ()
$("#showtopo_container").removeClass("invisible");
$('#quicktabs_ul a[href="#topology"]').tab('show');
ShowRspec(record.rspec);
if (manifests.length) {
$('#quicktabs_ul li').removeClass('hidden');
$('#quicktabs_content .tab-pane').removeClass('hidden');
$('#quicktabs_ul a[href="#topology"]').tab('show');
ShowViewer('#showtopo_statuspage', manifests);
}
else {
$('#quicktabs_ul a[href="#rspec"]').tab('show');
}
ShowRspec(record.rspec);
if (logfiles.length) {
ShowLogfiles(logfiles);
}
......
......@@ -130,26 +130,26 @@
<div class='panel-body'>
<div id='quicktabs_div'>
<ul id='quicktabs_ul' class='nav nav-tabs'>
<li class='active'>
<li class='hidden'>
<a href='#topology' data-toggle='tab'>Topology View</a>
</li>
<li>
<li class='hidden'>
<a href='#listview' data-toggle='tab'>List View</a>
</li>
<li>
<li class="active">
<a href='#rspec' id='show_rspec_tab'
data-toggle='tab'>Rspec</a>
</li>
<li>
<li class='hidden'>
<a href='#manifest' id='show_manifest_tab'
data-toggle='tab'>Manifest</a>
</li>
</ul>
<div id='quicktabs_content' class='tab-content'>
<div class='tab-pane active' id='topology'>
<div class='tab-pane hidden' id='topology'>
<div id='showtopo_statuspage' class='jacks'></div>
</div>
<div class='tab-pane' id='listview'>
<div class='tab-pane hidden' id='listview'>
<div id='showtopo_listview'>
<table class='table table-striped table-hover table-condensed'
id='listview_table'>
......@@ -166,10 +166,10 @@
</table>
</div>
</div>
<div class='tab-pane' id='rspec'>
<div class='tab-pane active' id='rspec'>
<div id='rspec_textarea' style='width: 100%;'></div>
</div>
<div class='tab-pane' id='manifest'>
<div class='tab-pane hidden' id='manifest'>
<div id='manifest_textarea' style='width: 100%;'></div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment