Refactor integrations of sso
This commit is contained in:
parent
ce5a7d05ac
commit
f377b4ce45
46 changed files with 154 additions and 249 deletions
40
web/templates/base.html
Normal file
40
web/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