Change HTML indent to 4

This commit is contained in:
Kristjan Komlosi
2020-07-14 09:59:04 +02:00
parent 7e09a1e51f
commit a71d8565c4
+87 -86
View File
@@ -2,96 +2,97 @@
<html> <html>
<head> <head>
<meta charset="utf8"> <meta charset="utf8">
<link rel="stylesheet" href="static/bootstrap.min.css"> <link rel="stylesheet" href="static/bootstrap.min.css">
<link rel="stylesheet" href="static/stylesheet.css"> <link rel="stylesheet" href="static/stylesheet.css">
<title>TeraHz</title> <title>TeraHz</title>
<!-- script imports --> <!-- script imports -->
<script src="static/bootstrap.bundle.min.js"></script> <script src="static/bootstrap.bundle.min.js"></script>
<script src="static/jquery-3.4.1.min.js"></script> <script src="static/jquery-3.4.1.min.js"></script>
<script src="static/flot/jquery.flot.js"></script> <script src="static/flot/jquery.flot.js"></script>
<script src="static/frontend.js"></script> <script src="static/frontend.js"></script>
<script src="static/flot/jquery.canvaswrapper.js"></script> <script src="static/flot/jquery.canvaswrapper.js"></script>
<script src="static/flot/jquery.colorhelpers.js"></script> <script src="static/flot/jquery.colorhelpers.js"></script>
<script src="static/flot/jquery.flot.js"></script> <script src="static/flot/jquery.flot.js"></script>
<script src="static/flot/jquery.flot.saturated.js"></script> <script src="static/flot/jquery.flot.saturated.js"></script>
<script src="static/flot/jquery.flot.browser.js"></script> <script src="static/flot/jquery.flot.browser.js"></script>
<script src="static/flot/jquery.flot.drawSeries.js"></script> <script src="static/flot/jquery.flot.drawSeries.js"></script>
<script src="static/flot/jquery.flot.uiConstants.js"></script> <script src="static/flot/jquery.flot.uiConstants.js"></script>
</head> </head>
<body> <body>
<div class="container text-center"> <div class="container text-center">
<h1><img src="static/logo-sq.png" height="64px">TeraHz</h1> <h1><img src="static/logo-sq.png" height="64px">TeraHz</h1>
</div> </div>
<div class="container"> <div class="container">
<button id="update" onclick="updateData()" class="btn btn-primary">Get data</button> <button id="update" onclick="updateData()" class="btn btn-primary">Get data</button>
<button id="download" class="btn btn-primary">Download</button> <button id="download" class="btn btn-primary">Download</button>
<button id="debug" class="btn btn-danger">DEBUG</button> <button id="debug" class="btn btn-danger">DEBUG</button>
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm"> <div class="col-sm">
<h4>Spectrogram</h4> <h4>Spectrogram</h4>
<div id="graph" style="height:480px;width:720px"></div> <div id="graph" style="height:480px;width:720px"></div>
</div> </div>
<div class="col-sm"> <div class="col-sm">
<h4>Visible+IR spectrum</h4> <h4>Visible+IR spectrum</h4>
<table class="table table-dark table-sm" id="specter"> <table class="table table-dark table-sm" id="specter">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th>Band</th> <th>Band</th>
<th>Wavelength [nm]</th> <th>Wavelength [nm]</th>
<th>Irradiance [μW/cm²]</th> <th>Irradiance [μW/cm²]</th>
</tr> </tr>
</thead> </thead>
{% for band, irr in data[0] %} {% for band, irr in data[0] %}
<tr id="{{band}}"> <tr id="{{band}}">
<td> <td>
{{band}} {{band}}
</td> </td>
<td> <td>
{{wld[band]}} {{wld[band]}}
</td> </td>
<td> <td>
{{irr}} {{irr}}
</td> </td>
</tr> </tr>
</table> {% endfor %}
</div> </table>
</div>
<div class="col-sm">
<h4>UV+Illuminance</h4> <div class="col-sm">
<table class="table-dark table table-sm" id="luxuv"> <h4>UV+Illuminance</h4>
<thead class="thead-dark"> <table class="table-dark table table-sm" id="luxuv">
<tr> <thead class="thead-dark">
<th>Parameter</th> <tr>
<th>Value</th> <th>Parameter</th>
</tr> <th>Value</th>
</thead> </tr>
<tr> </thead>
<td>Illuminance [lx]</td> <tr>
<td id="lx">{{data[1]}}</td> <td>Illuminance [lx]</td>
</tr> <td id="lx">{{data[1]}}</td>
<tr> </tr>
<td>UVA irradiance [μW/cm²]</td> <tr>
<td id="uva">{{data[2][0]}}</td> <td>UVA irradiance [μW/cm²]</td>
</tr> <td id="uva">{{data[2][0]}}</td>
<tr> </tr>
<td>UVB irradiance [μW/cm²]</td> <tr>
<td id="uvb">{{data[2][1]}}</td> <td>UVB irradiance [μW/cm²]</td>
</tr> <td id="uvb">{{data[2][1]}}</td>
<tr> </tr>
<td>UVA/UVB average [μW/cm²]</td> <tr>
<td id="uvi">{{data[2][2]}}</td> <td>UVA/UVB average [μW/cm²]</td>
</tr> <td id="uvi">{{data[2][2]}}</td>
</table> </tr>
</div> </table>
</div>
</div>
</div> </div>
</div>
</body> </body>
</html> </html>