Skip to content

Commit

Permalink
for #7332 improve xxl layout
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep committed Nov 1, 2024
1 parent d5d8f54 commit 84f3b9b
Showing 1 changed file with 63 additions and 60 deletions.
123 changes: 63 additions & 60 deletions sirepo/package_data/static/html/openmc-visualization.html
Original file line number Diff line number Diff line change
@@ -1,71 +1,74 @@
<div class="container-fluid">
<div class="row">
<div class="col-md-6 col-xxl-4">
<div data-basic-editor-panel="" data-view-name="settings"></div>
</div>
<div class="col-md-6 col-xxl-4">
<div data-simple-panel="simulationStatus">
<div data-sim-status-panel="visualization.simState" data-start-function="visualization.startSimulation()"></div>
<div class="row">
<div class="col-md-offset-2 col-md-8" data-ng-show="visualization.eigenvalue.length">
<table class="table">
<caption style="text-align: center; font-weight: bold;">Eigenvalues</caption>
<thead>
<th>Batch</th>
<th>k</th>
<th>&lt;k&gt;</th>
<th>σ</th>
</thead>
<tbody>
<tr data-ng-repeat="e in visualization.eigenvalue.slice(-visualization.eigenvalueHistory()) track by $index">
<td>{{ e.batch }}</td>
<td>{{ e.val[0] }}</td>
<td>{{ e.val[1] || 'N/A' }}</td>
<td>{{ e.val[2] || 'N/A' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-offset-2 col-md-8" data-ng-show="visualization.results.length">
<table class="table">
<caption style="text-align: center; font-weight: bold;">Results</caption>
<thead>
<th>Quantity</th>
<th>Value</th>
<th>σ</th>
</thead>
<tbody>
<tr data-ng-repeat="r in visualization.results track by $index">
<td>{{ r[0] }}</td>
<td>{{ r[1] }}</td>
<td>{{ r[2] }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12" data-ng-if="visualization.hasWeightWindowsFile">
<div class="col-sm-12"><a data-ng-attr-href="{{ visualization.weightWindowsFileURL() }}">
<span class="glyphicon glyphicon-cloud-download"></span> Computed Weight Windows</a>
<buttontype="button" class="btn btn-sm btn-default" data-ng-click="visualization.applyWeightWindows()">Apply Weight Windows</button>
<div class="col-sm-12 col-xxl-4">
<div class="row">
<div class="col-sm-6 col-xxl-12">
<div data-basic-editor-panel="" data-view-name="settings"></div>
</div>
<div class="col-sm-6 col-xxl-12">
<div data-simple-panel="simulationStatus">
<div data-sim-status-panel="visualization.simState" data-start-function="visualization.startSimulation()"></div>
<div class="row">
<div class="col-md-offset-2 col-md-8" data-ng-show="visualization.eigenvalue.length">
<table class="table">
<caption style="text-align: center; font-weight: bold;">Eigenvalues</caption>
<thead>
<th>Batch</th>
<th>k</th>
<th>&lt;k&gt;</th>
<th>σ</th>
</thead>
<tbody>
<tr data-ng-repeat="e in visualization.eigenvalue.slice(-visualization.eigenvalueHistory()) track by $index">
<td>{{ e.batch }}</td>
<td>{{ e.val[0] }}</td>
<td>{{ e.val[1] || 'N/A' }}</td>
<td>{{ e.val[2] || 'N/A' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-offset-2 col-md-8" data-ng-show="visualization.results.length">
<table class="table">
<caption style="text-align: center; font-weight: bold;">Results</caption>
<thead>
<th>Quantity</th>
<th>Value</th>
<th>σ</th>
</thead>
<tbody>
<tr data-ng-repeat="r in visualization.results track by $index">
<td>{{ r[0] }}</td>
<td>{{ r[1] }}</td>
<td>{{ r[2] }}</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12" data-ng-if="visualization.hasWeightWindowsFile">
<div class="col-sm-12"><a data-ng-attr-href="{{ visualization.weightWindowsFileURL() }}">
<span class="glyphicon glyphicon-cloud-download"></span> Computed Weight Windows</a>
<buttontype="button" class="btn btn-sm btn-default" data-ng-click="visualization.applyWeightWindows()">Apply Weight Windows</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="row" data-ng-if="visualization.simState.hasFrames()">
<div class="col-sm-8">
<div data-report-panel="tallyViewer" data-model-name="openmcAnimation" data-panel-title="{{visualization.tallyTitle()}}"></div>
</div>
<div class="col-sm-4">
<div data-simple-panel="tallySettings">
<div data-advanced-editor-pane="" data-view-name="'tallySettings'" data-want-buttons=""
data-field-def="basic"></div>
<div data-ng-if="visualization.simState.hasFrames()">
<div class="col-md-8 col-lg-7 col-xl-6 col-xxl-4">
<div data-report-panel="tallyViewer" data-model-name="openmcAnimation" data-panel-title="{{visualization.tallyTitle()}}"></div>
</div>
<div data-ng-if="visualization.showEnergyPlot()">
<div data-report-panel="parameter" data-model-name="energyAnimation" data-panel-title="Energy Spectrum">
<div data-advanced-editor-pane="" data-view-name="'energyAnimation'" data-field-def="basic"></div>
<div class="col-md-4 col-lg-5 col-xl-6 col-xxl-3">
<div data-simple-panel="tallySettings">
<div data-advanced-editor-pane="" data-view-name="'tallySettings'" data-want-buttons=""
data-field-def="basic"></div>
</div>
<div data-ng-if="visualization.showEnergyPlot()">
<div data-report-panel="parameter" data-model-name="energyAnimation" data-panel-title="Energy Spectrum">
<div data-advanced-editor-pane="" data-view-name="'energyAnimation'" data-field-def="basic"></div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 84f3b9b

Please sign in to comment.