Initial commit
This commit is contained in:
51
templates/main.html
Normal file
51
templates/main.html
Normal file
@@ -0,0 +1,51 @@
|
||||
{% extends "layout/default.html" %}
|
||||
|
||||
{% block extend_head %}
|
||||
<style>
|
||||
body {
|
||||
font-size: 5vw;
|
||||
}
|
||||
|
||||
main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
gap: 5%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
main a {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
place-items: center;
|
||||
|
||||
border: 2px solid black;
|
||||
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
|
||||
background-color: transparent;
|
||||
|
||||
transition: .2s ease background-color;
|
||||
}
|
||||
|
||||
main a:hover, main a:focus {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
main a:active {
|
||||
background-color: #555;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<a href="display">
|
||||
<i class="fas fa-desktop fa-2x"></i>
|
||||
<span>Open display</span>
|
||||
</a>
|
||||
<a href="edit">
|
||||
<i class="fas fa-edit fa-2x"></i>
|
||||
<span>Edit display</span>
|
||||
</a>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user