mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 08:52:15 +00:00
Add bootstrap 4 test page
This commit is contained in:
@@ -6,6 +6,7 @@ from django.contrib.auth.decorators import login_required
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.views.decorators.clickjacking import xframe_options_exempt
|
from django.views.decorators.clickjacking import xframe_options_exempt
|
||||||
from django.contrib.auth.views import LoginView
|
from django.contrib.auth.views import LoginView
|
||||||
|
from django.views.generic import TemplateView
|
||||||
from registration.backends.default.views import RegistrationView
|
from registration.backends.default.views import RegistrationView
|
||||||
from PyRIGS.decorators import permission_required_with_403
|
from PyRIGS.decorators import permission_required_with_403
|
||||||
import RIGS
|
import RIGS
|
||||||
@@ -35,4 +36,5 @@ if settings.DEBUG:
|
|||||||
import debug_toolbar
|
import debug_toolbar
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^__debug__/', include(debug_toolbar.urls)),
|
url(r'^__debug__/', include(debug_toolbar.urls)),
|
||||||
|
path('bootstrap/', TemplateView.as_view(template_name="bootstrap.html")),
|
||||||
] + urlpatterns
|
] + urlpatterns
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ function browserSyncReload(done) {
|
|||||||
function watchFiles() {
|
function watchFiles() {
|
||||||
gulp.watch("RIGS/static/scss/**/*.scss", styles);
|
gulp.watch("RIGS/static/scss/**/*.scss", styles);
|
||||||
// TODO This prevents reload looping, but means we don't reload if new third party scripts are added
|
// TODO This prevents reload looping, but means we don't reload if new third party scripts are added
|
||||||
gulp.watch("RIGS/static/js/src/*", scripts);
|
gulp.watch("RIGS/static/js/src/**/*.js", scripts);
|
||||||
gulp.watch(['templates/**/*.html', 'RIGS/templates/**/*.html', 'assets/templates/**/*.html', 'versioning/templates/**/*.html'], browserSyncReload);
|
gulp.watch(['templates/**/*.html', 'RIGS/templates/**/*.html', 'assets/templates/**/*.html', 'versioning/templates/**/*.html'], browserSyncReload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2739
templates/bootstrap.html
Normal file
2739
templates/bootstrap.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user