mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-14 19:16:23 +01:00
Replace third party client libraries with CDN delivered versions (#709)
* Correct invalid html * Add bundle files for CDN CSS and javascript * Replace static javascript refs with bundles * Change password reset templates to use a basefile And switch to use bundles * Remove third party libraries * Remove awkward margin styling on navbars
This commit is contained in:
7
stock/templates/bundles/bootstrap-css.html
Normal file
7
stock/templates/bundles/bootstrap-css.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% load staticfiles %}
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">
|
||||
<!-- Extra Bootstrap CSS -->
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/startbootstrap-sb-admin-2/3.3.7+1/css/sb-admin-2.min.css" rel="stylesheet">
|
||||
<!-- End Bootstrap CSS -->
|
||||
6
stock/templates/bundles/bootstrap-js.html
Normal file
6
stock/templates/bundles/bootstrap-js.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% load static %}
|
||||
<!-- Start Bootstrap + jQuery js -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
<!-- End Bootstrap + jQuery js -->
|
||||
4
stock/templates/bundles/fontawesome.html
Normal file
4
stock/templates/bundles/fontawesome.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% load staticfiles %}
|
||||
<!-- Font Awesome Bundle -->
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
<!-- End Font Awesome Bundle -->
|
||||
4
stock/templates/bundles/jquery-datetimepicker-css.html
Normal file
4
stock/templates/bundles/jquery-datetimepicker-css.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% load static %}
|
||||
<!-- Start jQuery datetimepicker CSS -->
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.3.7/jquery.datetimepicker.min.css" rel="stylesheet" type="text/css">
|
||||
<!-- End jQuery datetimepicker CSS -->
|
||||
4
stock/templates/bundles/jquery-datetimepicker-js.html
Normal file
4
stock/templates/bundles/jquery-datetimepicker-js.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% load static %}
|
||||
<!-- Start jQuery datetimepicker js -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.3.7/jquery.datetimepicker.min.js"></script>
|
||||
<!-- End jQuery datetimepicker js -->
|
||||
Reference in New Issue
Block a user