Skip to content

Commit

Permalink
update some dependencies (requires "npm install")
Browse files Browse the repository at this point in the history
  • Loading branch information
floriannari committed Feb 19, 2024
1 parent 7e15e04 commit f7f736e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 20 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"express": "^4.17.3",
"express-session": "~1.15.5",
"express-socket.io-session": "1.3.*",
"jade": "^1.9.2",
"pug": "^3.0.2",
"jquery": "3.6.1",
"materialize-css": "0.97.7",
"materialize-css": "0.97.8",
"morgan": ">=1.9.1",
"passport": "^0.6.0",
"passport": "^0.7.0",
"passport-apereo-cas": "0.2.0",
"request": "2.88.*",
"socket.io": "^4.5.2",
"socket.io-client": "^4.5.2",
"serve-favicon": "2.5.*",
"vue": "2.0.0"
"vue": "2.7.16"
}
}
1 change: 1 addition & 0 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ var sockets = require('./sockets');

// view engine setup
app.set('views', path.join(__dirname + '/..', 'views'));
app.engine('jade', require('pug').__express); // to avoid renaming all .jade to .pug
app.set('view engine', 'jade');
app.set('trust proxy', properties.esup.trustedProxies);

Expand Down
24 changes: 12 additions & 12 deletions views/dashboard.jade
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
extends layout
extends layout.jade

block content

include templates/user-dashboard
include templates/push-method
include templates/bypass-method
include templates/totp-method
include templates/random_code-method
include templates/random_code_mail-method
include templates/manager-dashboard
include templates/user-view
include templates/admin-dashboard
include templates/home
include templates/esupnfc-method
include templates/user-dashboard.jade
include templates/push-method.jade
include templates/bypass-method.jade
include templates/totp-method.jade
include templates/random_code-method.jade
include templates/random_code_mail-method.jade
include templates/manager-dashboard.jade
include templates/user-view.jade
include templates/admin-dashboard.jade
include templates/home.jade
include templates/esupnfc-method.jade
#app.container
header(v-if="messages.api")
nav#target.top-nav
Expand Down
2 changes: 1 addition & 1 deletion views/error.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends layout
extends layout.jade

block content
h1= message
Expand Down
2 changes: 1 addition & 1 deletion views/forbidden.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends layout
extends layout.jade

block content
.container-fluid
Expand Down
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends layout
extends layout.jade

block content
#app.container
Expand Down
2 changes: 1 addition & 1 deletion views/splash.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extends layout
extends layout.jade

block content
h1= title
Expand Down

0 comments on commit f7f736e

Please sign in to comment.