Link to mock building view/edit

This commit is contained in:
Tom Russell 2018-08-09 17:18:05 +01:00
parent cf15db78fd
commit ece5a99e91
3 changed files with 19 additions and 15 deletions

View File

@ -198,9 +198,11 @@
</dl> </dl>
</ul> </ul>
<h2 class="h2">Building</h2> <h2 class="h2">Building</h2>
<pre id="building-detail"> <pre id="building-detail">Click a building to see data.</pre>
Click a building to see data. <div class="buttons-container">
</pre> <a href="building-view.html" class="btn btn-primary">View building</a>
<a href="building-edit.html" class="btn btn-success">Edit data</a>
</div>
</div> </div>
</main> </main>
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"

View File

@ -530,16 +530,16 @@ form .btn {
.buttons-container.btn-center { .buttons-container.btn-center {
text-align: center; text-align: center;
} }
@media (min-width: 768px) {
.btn.btn-half { .btn.btn-half {
width: 49%; width: 49%;
margin-left: 0; margin-left: 0;
margin-right: 2%; margin-right: 2%;
min-width: 11.45em;
} }
.btn.btn-half:nth-child(2n) { .btn.btn-half:nth-child(2n) {
margin-right: 0; margin-right: 0;
} }
}
/** /**
* Colours * Colours
*/ */

View File

@ -192,9 +192,11 @@
</dl> </dl>
</ul> </ul>
<h2 class="h2">Building</h2> <h2 class="h2">Building</h2>
<pre id="building-detail"> <pre id="building-detail">Click a building to see data.</pre>
Click a building to see data. <div class="buttons-container">
</pre> <a href="building-view.html" class="btn btn-primary">View building</a>
<a href="building-edit.html" class="btn btn-success">Edit data</a>
</div>
</div> </div>
</main> </main>
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"