mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
pedagogy: clean up guide page
This commit is contained in:
parent
3bff09b04c
commit
2404edd289
@ -1703,7 +1703,22 @@ $pedagogy-white-text: #f0f0f0;
|
||||
}
|
||||
}
|
||||
|
||||
#dynamic_view {
|
||||
font-family: "Fira Sans";
|
||||
font-size: 1.1em;
|
||||
|
||||
table {
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#search_form {
|
||||
font-family: "Fira Sans";
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
|
||||
@ -1742,6 +1757,10 @@ $pedagogy-white-text: #f0f0f0;
|
||||
.radio_guide label:hover {
|
||||
background-color: #0e97ce;
|
||||
}
|
||||
|
||||
#radioAUTUMN + label {
|
||||
margin-left: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
#pedagogy {
|
||||
@ -1764,6 +1783,7 @@ $pedagogy-white-text: #f0f0f0;
|
||||
|
||||
> p {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1771,6 +1791,7 @@ $pedagogy-white-text: #f0f0f0;
|
||||
grid-area: grade-stars;
|
||||
color: $pedagogy-white-text;
|
||||
background-color: $pedagogy-blue;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.uv-infos {
|
||||
|
@ -7,6 +7,13 @@
|
||||
|
||||
{% block content %}
|
||||
<form id="search_form" action="{{ url('pedagogy:guide') }}" method="get">
|
||||
{% if can_create_uv(user) %}
|
||||
<p>
|
||||
<a href="{{ url('pedagogy:uv_create') }}">{% trans %}Create UV{% endtrans %}</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ url('pedagogy:moderation') }}">{% trans %}Moderate comments{% endtrans %}</a>
|
||||
</p>
|
||||
<p>
|
||||
<input class="input_search" type="text" name="search">
|
||||
<button class="button_search">{% trans %}Search{% endtrans %}</button>
|
||||
@ -27,16 +34,12 @@
|
||||
<input type="radio" name="credit_type" id="radioQC" value="QC"><label for="radioQC">{% trans %}QC{% endtrans %}</label>
|
||||
<input type="radio" name="credit_type" id="radioOM" value="OM"><label for="radioOM">{% trans %}OM{% endtrans %}</label>
|
||||
|
||||
<input type="checkbox" name="semester" id="radioAUTUMN" value="AUTUMN"><label for="radioAUTUMN">A</label>
|
||||
<input type="checkbox" name="semester" id="radioSPRING" value="SPRING"><label for="radioSPRING">P</label>
|
||||
<input type="checkbox" name="semester" id="radioAUTUMN" value="AUTUMN"><label for="radioAUTUMN"><i class="fa fa-leaf"></i></label>
|
||||
<input type="checkbox" name="semester" id="radioSPRING" value="SPRING"><label for="radioSPRING"><i class="fa fa-sun-o"></i></label>
|
||||
<span><input type="checkbox" name="semester" id="radioAP" value="AUTUMN_AND_SPRING"><label for="radioAP">AP</label></span>
|
||||
</div>
|
||||
<input type="text" name="json" hidden>
|
||||
</form>
|
||||
{% if can_create_uv(user) %}
|
||||
<p>
|
||||
<a href="{{ url('pedagogy:uv_create') }}">{% trans %}Create UV{% endtrans %}</a>
|
||||
</p>
|
||||
<br>
|
||||
{% endif %}
|
||||
<table id="dynamic_view">
|
||||
|
Loading…
Reference in New Issue
Block a user