@igea/oac_frontend 1.0.92 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +55 -5
- package/src/public/css/sparnatural copy.css +1418 -0
- package/src/public/css/sparnatural.css +669 -669
- package/src/public/css/style.css +1 -0
- package/src/public/v2/css/v2.css +69 -9
- package/src/public/v2/images/banner.pdn +0 -0
- package/src/public/v2/images/banner.png +0 -0
- package/src/public/v2/images/banner_old.png +0 -0
- package/src/public/v2/images/changes.png +0 -0
- package/src/public/v2/images/dip_biologia.jpg +0 -0
- package/src/public/v2/images/eu.png +0 -0
- package/src/public/v2/images/italiadomani.png +0 -0
- package/src/public/v2/images/lgeu.png +0 -0
- package/src/public/v2/images/logo.png +0 -0
- package/src/public/v2/images/logo.svg +76 -0
- package/src/public/v2/images/miur.png +0 -0
- package/src/public/v2/images/sapienza.png +0 -0
- package/src/views/v2/layout.twig +1 -1
- package/src/views/v2/login.twig +37 -0
- package/src/views/v2/partials/footer.twig +28 -6
- package/src/views/v2/partials/header.twig +3 -2
- package/src/views/v2/presentazione/bibliografia.twig +94 -0
- package/src/views/v2/presentazione/contatti.twig +21 -0
- package/src/views/v2/presentazione/crediti.twig +20 -0
- package/src/views/v2/presentazione/finalita.twig +0 -2
- package/src/views/v2/presentazione/modelli.twig +21 -0
- package/src/views/v2/presentazione/partecipanti.twig +1 -1
- package/src/views/v2/search/index.twig +8 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -127,7 +127,7 @@ getPort.default({
|
|
|
127
127
|
// Application routes
|
|
128
128
|
// ---------------------------------------------------------------------
|
|
129
129
|
app.get(`/${serviceName}`, (req, res) => {
|
|
130
|
-
res.render('login', { root: serviceName, title: 'Login' });
|
|
130
|
+
res.render('v2/login', { root: serviceName, title: 'Login' });
|
|
131
131
|
});
|
|
132
132
|
app.get(`/${serviceName}/password_recovery`, (req, res) => {
|
|
133
133
|
res.render('password_recovery', { root: serviceName, title: 'Password recovery' });
|
|
@@ -196,6 +196,55 @@ getPort.default({
|
|
|
196
196
|
res.render('v2/presentazione/sistema', data.toJson());
|
|
197
197
|
});
|
|
198
198
|
|
|
199
|
+
app.get('/frontend/v2/modelli', (req, res) => {
|
|
200
|
+
let data = new DataModel(req, {
|
|
201
|
+
root: 'frontend/v2',
|
|
202
|
+
title: 'Modelli',
|
|
203
|
+
|
|
204
|
+
activeMenu: 'introduction',
|
|
205
|
+
activeSidebar: 'presentazione',
|
|
206
|
+
activeSidebarItem: 'modelli'
|
|
207
|
+
});
|
|
208
|
+
res.render('v2/presentazione/modelli', data.toJson());
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
app.get('/frontend/v2/bibliografia', (req, res) => {
|
|
213
|
+
let data = new DataModel(req, {
|
|
214
|
+
root: 'frontend/v2',
|
|
215
|
+
title: 'Bibliografia',
|
|
216
|
+
|
|
217
|
+
activeMenu: 'introduction',
|
|
218
|
+
activeSidebar: 'presentazione',
|
|
219
|
+
activeSidebarItem: 'bibliografia'
|
|
220
|
+
});
|
|
221
|
+
res.render('v2/presentazione/bibliografia', data.toJson());
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
app.get('/frontend/v2/crediti', (req, res) => {
|
|
225
|
+
let data = new DataModel(req, {
|
|
226
|
+
root: 'frontend/v2',
|
|
227
|
+
title: 'Crediti',
|
|
228
|
+
|
|
229
|
+
activeMenu: 'introduction',
|
|
230
|
+
activeSidebar: 'presentazione',
|
|
231
|
+
activeSidebarItem: 'crediti'
|
|
232
|
+
});
|
|
233
|
+
res.render('v2/presentazione/crediti', data.toJson());
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
app.get('/frontend/v2/contatti', (req, res) => {
|
|
237
|
+
let data = new DataModel(req, {
|
|
238
|
+
root: 'frontend/v2',
|
|
239
|
+
title: 'Contatti',
|
|
240
|
+
|
|
241
|
+
activeMenu: 'introduction',
|
|
242
|
+
activeSidebar: 'presentazione',
|
|
243
|
+
activeSidebarItem: 'contatti'
|
|
244
|
+
});
|
|
245
|
+
res.render('v2/presentazione/contatti', data.toJson());
|
|
246
|
+
});
|
|
247
|
+
|
|
199
248
|
app.get('/frontend/v2/investigation/form', async (req, res) => {
|
|
200
249
|
let data = new DataModel(req, {
|
|
201
250
|
root: 'frontend/v2',
|
|
@@ -214,12 +263,12 @@ activeSidebar: 'investigation',
|
|
|
214
263
|
title: 'Ricerca',
|
|
215
264
|
activeMenu: 'search',
|
|
216
265
|
activeSidebar: 'search',
|
|
217
|
-
activeSidebarItem: 'fast',
|
|
218
|
-
fastType: 1,
|
|
219
|
-
schema: 'fast_' + 1
|
|
266
|
+
//activeSidebarItem: 'fast',
|
|
267
|
+
//fastType: 1,
|
|
268
|
+
//schema: 'fast_' + 1
|
|
220
269
|
});
|
|
221
270
|
|
|
222
|
-
res.render('v2/search/
|
|
271
|
+
res.render('v2/search/index', data.toJson());
|
|
223
272
|
});
|
|
224
273
|
|
|
225
274
|
|
|
@@ -240,6 +289,7 @@ app.get('/frontend/v2/admin', (req, res) => {
|
|
|
240
289
|
|
|
241
290
|
|
|
242
291
|
|
|
292
|
+
|
|
243
293
|
// ---------------------------------------------------------------------
|
|
244
294
|
// Start listing on the specified port
|
|
245
295
|
app.listen(port, async () => {
|