mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +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.views.decorators.clickjacking import xframe_options_exempt
|
||||
from django.contrib.auth.views import LoginView
|
||||
from django.views.generic import TemplateView
|
||||
from registration.backends.default.views import RegistrationView
|
||||
from PyRIGS.decorators import permission_required_with_403
|
||||
import RIGS
|
||||
@@ -35,4 +36,5 @@ if settings.DEBUG:
|
||||
import debug_toolbar
|
||||
urlpatterns = [
|
||||
url(r'^__debug__/', include(debug_toolbar.urls)),
|
||||
path('bootstrap/', TemplateView.as_view(template_name="bootstrap.html")),
|
||||
] + urlpatterns
|
||||
|
||||
@@ -84,7 +84,7 @@ function browserSyncReload(done) {
|
||||
function watchFiles() {
|
||||
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
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
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