mirror of https://github.com/JohnHammond/CTFd.git
* Separate out admin theme from core more to fix #1200bulk-clear-sessions
parent
b8d0f80d01
commit
d5128c2fa4
|
@ -0,0 +1 @@
|
|||
@import "~codemirror/lib/codemirror.css";
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -118,6 +118,6 @@
|
|||
var CHALLENGE_ID = {{ challenge.id }};
|
||||
var CHALLENGE_NAME = {{ challenge.name | tojson }};
|
||||
</script>
|
||||
<script defer src="{{ url_for('views.themes', theme='core', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='admin', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ request.script_root }}{{ update_script }}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "admin/base.html" %}
|
||||
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('views.themes', theme='core', path='css/codemirror.css') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('views.themes', theme='admin', path='css/codemirror.css') }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form id="user-info-create-form">
|
||||
<form id="user-info-create-form" method="POST">
|
||||
<input type="hidden" name="id">
|
||||
<div class="form-group">
|
||||
<label for="name">User Name</label>
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script defer src="{{ url_for('views.themes', theme='core', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='core', path='js/graphs.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='admin', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='admin', path='js/graphs.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block entrypoint %}
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script defer src="{{ url_for('views.themes', theme='core', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='core', path='js/graphs.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='admin', path='js/plotly.bundle.js') }}"></script>
|
||||
<script defer src="{{ url_for('views.themes', theme='admin', path='js/graphs.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block entrypoint %}
|
||||
|
|
|
@ -31,6 +31,7 @@ const roots = {
|
|||
'css': {
|
||||
'admin': 'assets/css/admin.scss',
|
||||
'challenge-board': 'assets/css/challenge-board.scss',
|
||||
'codemirror': 'assets/css/codemirror.scss',
|
||||
},
|
||||
'js': {
|
||||
'pages/main': 'assets/js/pages/main.js',
|
||||
|
|
Loading…
Reference in New Issue