Skip to content

Commit

Permalink
#21 use ng-if instead of ng-hide to remove DOM nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
p-a-s-c-a-l committed May 28, 2020
1 parent 730cd71 commit 4ccd2f8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
padding: 20px 30px;">
<div class="row" style="margin-bottom: 20px;" ng-hide="true">
<div class="row" style="margin-bottom: 20px;" ng-if="false">
<div class="col-lg-12" style="margin-top: 15px;">
<div class="row">
<div class="col-lg-6 col-md-6">
Expand Down Expand Up @@ -116,7 +116,7 @@
</div>

<!-- Indicator / Criteria Table ####################################################### -->
<div class="row" id="indicatorCriteriaTable" name="indicatorCriteriaTable">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading"
style="display:table;width:100%">
Expand All @@ -128,7 +128,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
{{forCriteriaTable ? 'Criteria' : 'Indicator'}} table
</a>
</h3>
<div class="pull-right" ng-hide="true">
<div class="pull-right" ng-if="false">
<div class="input-group">
<div class="input-group-btn " style="display: block">
<button type="button" class="btn btn-sm btn-primary dropdown-toggle"
Expand Down Expand Up @@ -165,7 +165,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
</div>
</div>
<!-- Indicator Bar Charts ####################################################### -->
<div class="row" id="indicatorBarCharts" name="indicatorBarCharts">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading"
style="display:table;width:100%">
Expand Down Expand Up @@ -196,7 +196,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
</div>

<!-- Worldstate Ranking Table ####################################################### -->
<div class="row" ng-hide="true">
<div class="row" ng-if="false">
<div class="panel panel-default" role="tablist">
<div class="panel-heading" role="tab" id="rankingTableHeading"
style="display:table;width:100%">
Expand All @@ -209,7 +209,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
Worldstate Ranking Table
</a>
</h3>
<div class="pull-right" ng-hide="true">
<div class="pull-right" ng-if="false">
<div class="input-group">
<div class="input-group-btn " style="display: block">
<button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown"
Expand Down Expand Up @@ -268,7 +268,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
Worldstate Relation Analysis Chart
</a>
</h3>
<div class="btn-group pull-right" ng-hide="true">
<div class="btn-group pull-right" ng-if="false">
<button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" ng-disabled="disabled">
Change Mode <span class="caret"></span>
</button>
Expand Down Expand Up @@ -298,7 +298,7 @@ <h3 style="display:table-cell;vertical-align: middle" class="panel-title">
</div>
</div>
<!-- Criteria Radar Chart Comparison ####################################################### -->
<div class="row" ng-hide="true">
<div class="row" ng-if="false">
<div class="panel panel-default">
<div class="panel-heading"
style="display:table;width:100%">
Expand Down Expand Up @@ -377,7 +377,7 @@ <h3 class="panel-title ng-binding">
</tab>
<!--end analysis tab-->
<!--start criteria function manager tab-->
<tab ng-hide="true">
<tab ng-if="false">
<tab-heading>
Edit criteria functions
</tab-heading>
Expand Down Expand Up @@ -423,7 +423,7 @@ <h3 class="panel-title ng-binding">
</tab>
<!--start criteria function manager tab-->
<!--start decision strategy manager tab-->
<tab ng-hide="true">
<tab ng-if="false">
<tab-heading>
Edit decision strategies
</tab-heading>
Expand Down

0 comments on commit 4ccd2f8

Please sign in to comment.