Skip to content
Snippets Groups Projects

Resolve "Manually enrolling students: button broken"

2 files
+ 10
1
Compare changes
  • Side-by-side
  • Inline

Files

@@ -257,7 +257,7 @@
Total # of pending requests: <span>[[${requests.size()}]]</span>
<div class="col-sm-8 mb-3">
<div class="row">
<div class="col-sm-4" th:each="slot : ${timeslots}"
<div class="col-sm-4 slot" th:each="slot : ${timeslots}"
th:value="${slot.getOpensAt()}">
<span style="cursor:pointer" href="#"
class="badge badge-pill toggler" data-toggle="tooltip"
@@ -425,6 +425,14 @@
<script type="text/javascript">
$(".chosen-select").chosen({disable_search_threshold: 1, width: '33%'});
</script>
<script type="text/javascript">
$(function () {
$(".slot").on("click", function() {
$(".slot").css({"z-index": "0"});
$(this).css({"z-index": "1"});
});
});
</script>
</section>
</body>
</html>
Loading