styling updates, button functions
This commit is contained in:
@@ -10,8 +10,11 @@
|
||||
{% block window-title %}{% endblock %}
|
||||
</div>
|
||||
<div class="title-bar-controls">
|
||||
<button aria-label="Help"></button>
|
||||
<button aria-label="Close"></button>
|
||||
<button aria-label="Help" onclick="resetWindow()"></button>
|
||||
<form action="{% url 'oidc_logout' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<button aria-label="Close" onclick="hideWindow()"></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="window-body">
|
||||
@@ -46,6 +49,15 @@
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
function hideWindow() {
|
||||
document.getElementById("main-window").classList.add("hide");
|
||||
}
|
||||
|
||||
function resetWindow() {
|
||||
position.reset()
|
||||
document.getElementById("main-window").style.transform = '';
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user