Skip to content

Commit

Permalink
format document
Browse files Browse the repository at this point in the history
JIRA: (BIDS-601)
  • Loading branch information
Stefan committed Dec 6, 2022
1 parent 7839b4c commit 49658db
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 274 deletions.
100 changes: 50 additions & 50 deletions templates/charts.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,36 +296,36 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-chart-bar"></i> Charts from the Eth
</div>
</div>
<div id="consensus-charts">
<h3 >Consensus Charts <a class="text-muted cursor-pointer" href="#consensus-charts" onclick="this.setAttribute('data-clipboard-text', window.location.href + '#consensus-charts')" data-clipboard-text="">#</a></h3>
<hr class="mb-4">
<h3>Consensus Charts <a class="text-muted cursor-pointer" href="#consensus-charts" onclick="this.setAttribute('data-clipboard-text', window.location.href + '#consensus-charts')" data-clipboard-text="">#</a></h3>
<hr class="mb-4" />
</div>
<div class="row">
{{ range $i, $e := . }}
{{ if lt .Order 20}}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}">
<div class="card">
<div id="chart-{{ .Order }}">
<div style="height:400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
{{ if .Data.IsNormalChart }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}-nogaps" style="display:none">
{{ if lt .Order 20 }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}">
<div class="card">
<div id="chart-{{ .Order }}-nogaps">
<div style="height: 400px; display: flex; justify-content: center; align-items:center;">
<div id="chart-{{ .Order }}">
<div style="height:400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
{{ end }}
{{ if .Data.IsNormalChart }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}-nogaps" style="display:none">
<div class="card">
<div id="chart-{{ .Order }}-nogaps">
<div style="height: 400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
{{ end }}
<div class="col-md-6 mb-4">
Expand All @@ -345,40 +345,40 @@ <h5 class="mb-0" style="font-size: 18px">Slot Visualization</h5>
</div>
</div>
{{ if $.Mainnet }}
<div id="execution-charts">
<h3 >Execution Charts <a class="text-muted cursor-pointer" href="#execution-charts" onclick="this.setAttribute('data-clipboard-text', window.location.href + '#execution-charts')" data-clipboard-text="asdf">#</a></h3>
<hr class="mb-4">
<div class="row">
{{ range $i, $e := . }}
{{ if gt .Order 19 }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}">
<div class="card">
<div id="chart-{{ .Order }}">
<div style="height:400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
{{ if .Data.IsNormalChart }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}-nogaps" style="display:none">
<div class="card">
<div id="chart-{{ .Order }}-nogaps">
<div style="height: 400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
<div id="execution-charts">
<h3>Execution Charts <a class="text-muted cursor-pointer" href="#execution-charts" onclick="this.setAttribute('data-clipboard-text', window.location.href + '#execution-charts')" data-clipboard-text="asdf">#</a></h3>
<hr class="mb-4" />
<div class="row">
{{ range $i, $e := . }}
{{ if gt .Order 19 }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}">
<div class="card">
<div id="chart-{{ .Order }}">
<div style="height:400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
{{ end }}
{{ if .Data.IsNormalChart }}
<div class="col-md-6 mb-4" id="chart-holder-{{ .Order }}-nogaps" style="display:none">
<div class="card">
<div id="chart-{{ .Order }}-nogaps">
<div style="height: 400px; display: flex; justify-content: center; align-items:center;">
<svg width="80%" height="80%">
<use xlink:href="#ab83d798-7d25-4111-a4e2-42875f6e6704"></use>
</svg>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
{{ end }}
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}
Expand Down
Loading

0 comments on commit 49658db

Please sign in to comment.