Modified login app to work in dashboard context
This commit is contained in:
parent
e8063b1de7
commit
755cb03aaf
36 changed files with 22251 additions and 24 deletions
40
templates/base.html
Normal file
40
templates/base.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<script src="/static/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/static/js/jquery-3.6.0.min.js"></script>
|
||||
<script src="/static/js/js.cookie.min.js"></script>
|
||||
<script src="/static/base.js"></script>
|
||||
<title>Stackspin Account</title>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<script>
|
||||
var api_url = '{{ api_url }}';
|
||||
|
||||
// Actions
|
||||
$(document).ready(function() {
|
||||
check_flow_expired();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div class="loginpanel">
|
||||
|
||||
<div id="contentFlowExpired"
|
||||
class='alert alert-warning'
|
||||
style='display:none'>Your request is expired. Please resubmit your request faster.</div>
|
||||
|
||||
|
||||
<img src='/static/logo.svg'/><br/><br/>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
|
||||
</div>
|
||||
Reference in a new issue