Add bootstrap 4 test page

This commit is contained in:
2020-07-03 14:40:42 +01:00
parent d800a781a5
commit 79eb0cbff0
3 changed files with 2742 additions and 1 deletions

View File

@@ -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

View File

@@ -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

File diff suppressed because it is too large Load Diff