Introduce a basic card-based layout
This commit is contained in:
parent
6a82e9e925
commit
ec2e72e2db
@ -12,7 +12,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chart-box {
|
.chart-box {
|
||||||
border: 1px solid grey;
|
/*border: 1px solid grey;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This container will allow scaling svg, so we don't need to care about it in d3.js */
|
/* This container will allow scaling svg, so we don't need to care about it in d3.js */
|
||||||
|
29
index.html
29
index.html
@ -34,9 +34,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
<main role="main" class="container">
|
<main role="main" class="container">
|
||||||
<div class="content-box">
|
|
||||||
|
<!-- Navigation card -->
|
||||||
|
<div class="card" id="selector-card">
|
||||||
|
<div class="card-header">Welches Rennen interessiert dich?</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<!-- Year selector -->
|
||||||
<form>
|
<form>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="seasonByYearSelector">Wähle ein Jahr aus!</label>
|
<label for="seasonByYearSelector">Wähle ein Jahr aus!</label>
|
||||||
@ -45,24 +49,37 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
|
<!-- Course selector -->
|
||||||
<div class="content-box strecken-selector">
|
<div class="content-box strecken-selector">
|
||||||
<div class="frame">
|
<div class="frame">
|
||||||
<ul class="slidee" id="courseSelection">
|
<ul class="slidee" id="courseSelection"><!-- This will be filled by JS. --></ul>
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="scrollbar">
|
<div class="scrollbar">
|
||||||
<div class="handle"></div>
|
<div class="handle"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- card-body -->
|
||||||
|
</div> <!-- card -->
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<!-- Diagram card -->
|
||||||
|
<div class="card" id="diagram-card">
|
||||||
|
<div class="card-header">Diagramm</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
<div class="content-box chart-box">
|
<div class="content-box chart-box">
|
||||||
<div id="lineGraphBox"></div>
|
<div id="lineGraphBox"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- card-body -->
|
||||||
|
</div> <!-- card -->
|
||||||
|
|
||||||
</main><!-- /.container -->
|
</main><!-- /.container -->
|
||||||
|
|
||||||
|
<!-- Other utility infrastructure -->
|
||||||
<div id="loading-dialog" class="modal fade" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" aria-hidden="true" style="padding-top:15%; overflow-y:visible;">
|
<div id="loading-dialog" class="modal fade" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" aria-hidden="true" style="padding-top:15%; overflow-y:visible;">
|
||||||
<div class="modal-dialog modal-m">
|
<div class="modal-dialog modal-m">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
Loading…
Reference in New Issue
Block a user