Eliminate third-party resources
Inline select2. Remove Roboto web font (just be happy about what the system offers us, it's gonna be all right).
This commit is contained in:
parent
43d8607ddc
commit
13b846461c
7 changed files with 14 additions and 13 deletions
1
app/static/css/bootstrap.css
vendored
1
app/static/css/bootstrap.css
vendored
|
@ -1,4 +1,3 @@
|
||||||
@import url("//fonts.googleapis.com/css?family=Roboto:300,400,500,700");
|
|
||||||
/*!
|
/*!
|
||||||
* bootswatch v3.3.4+1
|
* bootswatch v3.3.4+1
|
||||||
* Homepage: http://bootswatch.com
|
* Homepage: http://bootswatch.com
|
||||||
|
|
3
app/static/css/bootstrap.min.css
vendored
3
app/static/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
1
app/static/css/select2.min.css
vendored
Normal file
1
app/static/css/select2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
app/static/js/select2.min.js
vendored
Normal file
2
app/static/js/select2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -142,13 +142,13 @@
|
||||||
|
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.min.css" rel="stylesheet" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2.min.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/print.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/print.css') }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.min.js"></script>
|
<script src="{{ url_for('static', filename='js/select2.min.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var select = $('.select').select2({
|
var select = $('.select').select2({
|
||||||
'sorter': function(results) {
|
'sorter': function(results) {
|
||||||
|
|
|
@ -59,13 +59,13 @@
|
||||||
|
|
||||||
{% block styles -%}
|
{% block styles -%}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/css/select2.min.css" rel="stylesheet" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2.min.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-datetimepicker.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-datetimepicker.min.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}" />
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
{% block scripts -%}
|
{% block scripts -%}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/js/select2.min.js"></script>
|
<script src="{{ url_for('static', filename='js/select2.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/moment.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/moment.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/bootstrap-datetimepicker.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/bootstrap-datetimepicker.min.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -74,13 +74,13 @@
|
||||||
|
|
||||||
{% block styles -%}
|
{% block styles -%}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/css/select2.min.css" rel="stylesheet" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2.min.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-datetimepicker.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-datetimepicker.min.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/select2-bootstrap.min.css') }}" />
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
{% block scripts -%}
|
{% block scripts -%}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/js/select2.min.js"></script>
|
<script src="{{ url_for('static', filename='js/select2.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/moment.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/moment.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/bootstrap-datetimepicker.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/bootstrap-datetimepicker.min.js') }}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in a new issue