desy-html 7.1.2 → 7.3.0
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/docs/_global.foot.njk +9 -9
- package/docs/_global.head.njk +1 -1
- package/docs/_include.template-header.njk +8 -0
- package/docs/_macro.example-render.njk +177 -147
- package/docs/_macro.render-caller.njk +1 -1
- package/docs/ds/_ds.example.border.njk +1 -1
- package/docs/ds/_ds.example.color-de-interaccion.njk +5 -5
- package/docs/ds/_ds.example.colores-cabecera.njk +7 -7
- package/docs/ds/_ds.example.colores-de-soporte.njk +72 -5
- package/docs/ds/_ds.example.colores-neutros.njk +12 -12
- package/docs/ds/_ds.example.layout.njk +2 -2
- package/docs/ds/_ds.example.typography.njk +1 -1
- package/docs/ds/_ds.macro.code-snippet.njk +28 -9
- package/docs/ds/_ds.section.color.njk +7 -65
- package/docs/ds/_ds.section.espaciado.njk +4 -295
- package/docs/ds/_ds.section.layout.njk +5 -5
- package/docs/ds/_ds.section.textos.njk +32 -54
- package/docs/ds/_ds.section.typography.njk +239 -236
- package/docs/index.html +12 -0
- package/docs/pagina-accesibilidad.html +104 -0
- package/docs/pagina-mapa-web.html +131 -0
- package/docs/pagina-prueba.html +95 -0
- package/docs/plantilla-con-header-advanced.html +7 -0
- package/docs/plantilla-editar-con-cabecera-fija-y-sidebar-sticky.html +147 -0
- package/docs/plantilla-editar-con-cabecera-fija.html +10 -0
- package/docs/plantilla-logueado-con-cabecera-fija-headroom.html +8 -0
- package/docs/plantilla-logueado-con-cabecera-fija.html +8 -0
- package/docs/plantilla-logueado-con-selector-de-app-y-sidebar.html +157 -0
- package/docs/plantilla-logueado-con-selector-de-app-y-subheader.html +9 -0
- package/docs/plantilla-logueado-con-selector-de-app.html +7 -0
- package/docs/plantilla-logueado-con-titulo-de-app.html +7 -0
- package/docs/plantilla-sin-loguear.html +7 -0
- package/docs/plantillas.html +88 -0
- package/docs/spinner-plantilla-con-header-advanced.html +2 -0
- package/docs/spinner-plantilla-editar-con-cabecera-fija.html +5 -0
- package/docs/spinner-plantilla-logueado-con-cabecera-fija.html +2 -0
- package/docs/spinner-plantilla-logueado-con-selector-de-app-y-subheader.html +4 -0
- package/docs/spinner-plantilla-logueado-con-titulo-de-app.html +2 -0
- package/docs/spinner-plantilla-sin-loguear.html +18 -0
- package/package.json +1 -1
- package/src/css/component.headroom.css +31 -0
- package/src/css/styles.css +1 -0
- package/src/js/aria/dataGrid.js +21 -6
- package/src/js/headroom.min.js +7 -0
- package/src/js/index.js +0 -7
- package/src/js/popper.min.js +6 -0
- package/src/js/prism/clipboard.min.js +7 -0
- package/src/js/prism/prism-copy-to-clipboard.min.js +1 -0
- package/src/js/prism/prism-normalize-whitespace.min.js +1 -0
- package/src/js/prism/prism-toolbar.min.js +1 -0
- package/src/js/prism/prism-twig.min.js +1 -0
- package/src/js/prism/prism-yaml.min.js +1 -0
- package/src/js/prism/prism.min.js +1 -0
- package/src/js/tippy-bundle.umd.min.js +2 -0
- package/src/templates/components/accordion/_template.accordion.njk +95 -84
- package/src/templates/components/accordion-history/_template.accordion-history.njk +134 -123
- package/src/templates/components/alert/_template.alert.njk +6 -6
- package/src/templates/components/breadcrumbs/_template.breadcrumbs.njk +15 -30
- package/src/templates/components/button/_template.button.njk +4 -0
- package/src/templates/components/button-loader/_template.button-loader.njk +11 -7
- package/src/templates/components/card/_examples.card.njk +76 -76
- package/src/templates/components/card/_template.card.njk +14 -14
- package/src/templates/components/character-count/_template.character-count.njk +3 -6
- package/src/templates/components/checkboxes/_examples.checkboxes.njk +49 -10
- package/src/templates/components/checkboxes/_template.checkboxes.njk +17 -11
- package/src/templates/components/collapsible/_template.collapsible.njk +4 -4
- package/src/templates/components/date-input/_template.date-input.njk +46 -40
- package/src/templates/components/dialog/_template.dialog.njk +2 -2
- package/src/templates/components/error-message/_template.error-message.njk +3 -3
- package/src/templates/components/error-summary/_template.error-summary.njk +18 -6
- package/src/templates/components/fieldset/_examples.fieldset.njk +32 -6
- package/src/templates/components/fieldset/_template.fieldset.njk +28 -16
- package/src/templates/components/footer/_examples.footer.njk +14 -9
- package/src/templates/components/footer/_template.footer.njk +62 -66
- package/src/templates/components/footer/params.footer.yaml +4 -26
- package/src/templates/components/header/_examples.header.njk +6 -4
- package/src/templates/components/header/_template.header.header__dropdown.njk +27 -22
- package/src/templates/components/header/_template.header.header__navigation.njk +4 -1
- package/src/templates/components/header/_template.header.header__offcanvas.njk +18 -16
- package/src/templates/components/header/_template.header.header__offcanvasButton.njk +2 -1
- package/src/templates/components/header/_template.header.header__subnav.njk +33 -29
- package/src/templates/components/header/_template.header.njk +70 -60
- package/src/templates/components/header-advanced/_examples.header-advanced.njk +46 -32
- package/src/templates/components/header-advanced/_template.header-advanced.njk +93 -90
- package/src/templates/components/header-mini/_examples.header-mini.njk +1 -1
- package/src/templates/components/hint/_examples.hint.njk +2 -2
- package/src/templates/components/hint/_template.hint.njk +1 -3
- package/src/templates/components/input-group/_template.input-group.njk +72 -68
- package/src/templates/components/item/_template.item.njk +23 -23
- package/src/templates/components/label/_template.label.njk +25 -14
- package/src/templates/components/links-list/_examples.links-list.njk +10 -12
- package/src/templates/components/links-list/_template.links-list.njk +35 -37
- package/src/templates/components/listbox/_template.listbox.njk +11 -11
- package/src/templates/components/menu-navigation/_template.menu-navigation.njk +62 -63
- package/src/templates/components/menu-vertical/_template.menu-vertical.njk +41 -41
- package/src/templates/components/menubar/_template.menubar.njk +91 -91
- package/src/templates/components/modal/_template.modal.njk +63 -53
- package/src/templates/components/nav/_template.nav.njk +13 -13
- package/src/templates/components/notification/_examples.notification.njk +0 -9
- package/src/templates/components/notification/_template.notification.njk +54 -44
- package/src/templates/components/pagination/_template.pagination.njk +37 -42
- package/src/templates/components/radios/_examples.radios.njk +49 -12
- package/src/templates/components/radios/_template.radios.njk +90 -84
- package/src/templates/components/searchbar/_template.searchbar.njk +6 -6
- package/src/templates/components/select/_template.select.njk +12 -12
- package/src/templates/components/status-item/_template.status-item.njk +23 -25
- package/src/templates/components/table/_template.table.njk +4 -4
- package/src/templates/components/table-advanced/_examples.table-advanced.njk +9 -9
- package/src/templates/components/table-advanced/_styles.table-advanced.css +3 -3
- package/src/templates/components/table-advanced/_template.table-advanced.njk +85 -83
- package/src/templates/components/tabs/_template.tabs.njk +39 -39
- package/src/templates/components/toggle/_template.toggle.njk +1 -2
- package/src/templates/components/tooltip/_template.tooltip.njk +19 -19
- package/src/templates/components/tree/_template.tree.njk +46 -42
- package/src/templates/includes/_abrir-notificaciones.njk +3 -0
- package/src/templates/includes/_acciones-de-cabecera.njk +28 -0
- package/src/templates/includes/_ejemplo-titulo-h2-parrafo.njk +5 -0
- package/src/templates/includes/_ejemplo-titulo-parrafo.njk +5 -0
- package/src/templates/includes/_loremipsum-large.njk +1 -0
- package/src/templates/includes/_test-include.njk +14 -0
- package/src/templates/pages/_page.foot-headroom.njk +32 -0
- package/src/templates/pages/_page.foot.njk +7 -0
- package/src/templates/pages/_page.footer.njk +20 -0
- package/src/templates/pages/_page.head.njk +13 -0
- package/src/templates/pages/_page.notification-edit-inner-content.njk +31 -0
- package/src/templates/pages/_page.notification-edit.njk +31 -0
- package/src/templates/pages/_page.notification-footer.njk +33 -0
- package/src/templates/pages/_page.notification-header-fixed.njk +31 -0
- package/src/templates/pages/_page.notification-header.njk +31 -0
- package/src/templates/pages/_page.sidebar-content.njk +21 -0
- package/src/templates/pages/_page.spinner-block.njk +15 -0
- package/src/templates/pages/_page.spinner-show.njk +16 -0
- package/src/templates/pages/_page.spinner.njk +16 -0
- package/src/templates/pages/_template.edit-fixed-with-sticky-sidebar.njk +36 -0
- package/src/templates/pages/_template.edit-fixed.njk +74 -0
- package/src/templates/pages/_template.home.njk +109 -0
- package/src/templates/pages/_template.logged-out.njk +53 -0
- package/src/templates/pages/_template.logged-selector-fixed-headroom.njk +195 -0
- package/src/templates/pages/_template.logged-selector-fixed.njk +192 -0
- package/src/templates/pages/_template.logged-selector-subheader.njk +80 -0
- package/src/templates/pages/_template.logged-selector-with-sidebar.njk +29 -0
- package/src/templates/pages/_template.logged-selector.njk +195 -0
- package/src/templates/pages/_template.logged.njk +138 -0
- package/src/templates/pages/_template.mfe-iframe-content.njk +31 -0
- package/src/templates/pages/_template.mfe.njk +80 -0
- package/src/templates/pages/_template.test.njk +45 -0
- package/src/templates/pages/_template.with-header-advanced.njk +130 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{% include "pages/_page.head.njk" %}
|
|
2
|
+
|
|
3
|
+
{% from "components/header/_macro.header.njk" import componentHeader %}
|
|
4
|
+
{% from "components/nav/_macro.nav.njk" import componentNav %}
|
|
5
|
+
{% from "components/details/_macro.details.njk" import componentDetails %}
|
|
6
|
+
|
|
7
|
+
<!-- template.logged-selector -->
|
|
8
|
+
<body>
|
|
9
|
+
<!-- pageSpinnerBlock -->
|
|
10
|
+
{% block pageSpinnerBlock %}
|
|
11
|
+
{% include "pages/_page.spinner.njk" %}
|
|
12
|
+
{% endblock %}
|
|
13
|
+
<!-- /pageSpinnerBlock -->
|
|
14
|
+
<!-- headerBlock -->
|
|
15
|
+
{% block headerBlock %}
|
|
16
|
+
{% call componentHeader({
|
|
17
|
+
"skipLink": {
|
|
18
|
+
"href": skipLinkHref if skipLinkHref else "#content"
|
|
19
|
+
},
|
|
20
|
+
"homepageUrl": "index.html",
|
|
21
|
+
"mobileTitle": {
|
|
22
|
+
"text": "Gestor de expedientes"
|
|
23
|
+
},
|
|
24
|
+
"subnav": {
|
|
25
|
+
"text": "Gestor de expedientes",
|
|
26
|
+
"items": [
|
|
27
|
+
{
|
|
28
|
+
"href": "#",
|
|
29
|
+
"text": "Bandeja de entrada"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"href": "#",
|
|
33
|
+
"text": "Gestor de expedientes",
|
|
34
|
+
"active": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"href": "#",
|
|
38
|
+
"text": "Catálogo de servicios"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"href": "#",
|
|
42
|
+
"text": "Portafirmas corporativo"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"navigation": {
|
|
47
|
+
"items": [
|
|
48
|
+
{
|
|
49
|
+
"href": "#",
|
|
50
|
+
"text": "Inicio",
|
|
51
|
+
"active": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"href": "#",
|
|
55
|
+
"text": "Expedientes"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"href": "#",
|
|
59
|
+
"text": "Bandejas"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"dropdown": {
|
|
64
|
+
"text": "Ana Pérez",
|
|
65
|
+
"items": [
|
|
66
|
+
{
|
|
67
|
+
"text": "Perfil",
|
|
68
|
+
"href": "/"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"text": "Cerrar sesión",
|
|
72
|
+
"href": "/"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"offcanvas": {
|
|
77
|
+
"text": "Menú",
|
|
78
|
+
"textClose": "Cerrar menú"
|
|
79
|
+
},
|
|
80
|
+
"classes": "relative z-40"
|
|
81
|
+
}) %}
|
|
82
|
+
<nav class="w-full p-2" aria-labelledby="menu-movil-title">
|
|
83
|
+
<h2 id="menu-movil-title" class="sr-only">Menú principal</h2>
|
|
84
|
+
<h3 class="p-base text-base font-bold">Gestor de expedientes</h3>
|
|
85
|
+
{{ componentNav({
|
|
86
|
+
"idPrefix": "nav-mobile-pages",
|
|
87
|
+
"hasNav": false,
|
|
88
|
+
"items": [
|
|
89
|
+
{
|
|
90
|
+
"href": "#",
|
|
91
|
+
"text": "Inicio",
|
|
92
|
+
"active": true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"href": "#",
|
|
96
|
+
"text": "Expedientes"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"href": "#",
|
|
100
|
+
"text": "Bandejas",
|
|
101
|
+
"divider": true
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"attributes": {
|
|
105
|
+
"aria-label": "Lista de páginas"
|
|
106
|
+
}
|
|
107
|
+
}) }}
|
|
108
|
+
<h3 class="p-base text-base font-bold">Usuario/a: Ana Pérez</h3>
|
|
109
|
+
{{ componentNav({
|
|
110
|
+
"idPrefix": "nav-mobile-user",
|
|
111
|
+
"hasNav": false,
|
|
112
|
+
"items": [
|
|
113
|
+
{
|
|
114
|
+
"href": "#",
|
|
115
|
+
"text": "Perfil"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"href": "#",
|
|
119
|
+
"text": "Cerrar sesión",
|
|
120
|
+
"divider": true
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"attributes": {
|
|
124
|
+
"aria-label": "Lista de acciones de usuario"
|
|
125
|
+
}
|
|
126
|
+
}) }}
|
|
127
|
+
{% call componentDetails({
|
|
128
|
+
"classes": "px-base",
|
|
129
|
+
"summary": {
|
|
130
|
+
"html": "Cambiar de aplicación",
|
|
131
|
+
"classes": "c-link text-sm"
|
|
132
|
+
}
|
|
133
|
+
}) %}
|
|
134
|
+
{{ componentNav({
|
|
135
|
+
"idPrefix": "nav-mobile-apps",
|
|
136
|
+
"hasNav": false,
|
|
137
|
+
"items": [
|
|
138
|
+
{
|
|
139
|
+
"href": "#",
|
|
140
|
+
"text": "Bandeja de entrada"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"href": "#",
|
|
144
|
+
"text": "Gestor de expedientes",
|
|
145
|
+
"active": true
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"href": "#",
|
|
149
|
+
"text": "Catálogo de servicios"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"href": "#",
|
|
153
|
+
"text": "Portafirmas corporativo"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"attributes": {
|
|
157
|
+
"aria-label": "Lista de aplicaciones"
|
|
158
|
+
}
|
|
159
|
+
}) }}
|
|
160
|
+
{% endcall %}
|
|
161
|
+
</nav>
|
|
162
|
+
{% endcall %}
|
|
163
|
+
{% endblock %}
|
|
164
|
+
<!-- /headerBlock -->
|
|
165
|
+
<!-- subheaderBlock -->
|
|
166
|
+
{% block subheaderBlock %}
|
|
167
|
+
{% endblock %}
|
|
168
|
+
<!-- /subheaderBlock -->
|
|
169
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
170
|
+
<!-- notificationHeaderBlock -->
|
|
171
|
+
{% block notificationHeaderBlock %}
|
|
172
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
173
|
+
{% endblock %}
|
|
174
|
+
<!-- /notificationHeaderBlock -->
|
|
175
|
+
<!-- contentBlock -->
|
|
176
|
+
{% block contentBlock %}
|
|
177
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
178
|
+
{% endblock %}
|
|
179
|
+
<!-- /contentBlock -->
|
|
180
|
+
<!-- notificationFooterBlock -->
|
|
181
|
+
{% block notificationFooterBlock %}
|
|
182
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
183
|
+
{% endblock %}
|
|
184
|
+
<!-- /notificationFooterBlock -->
|
|
185
|
+
</main>
|
|
186
|
+
<!-- footerBlock -->
|
|
187
|
+
{% block footerBlock %}
|
|
188
|
+
{% include "pages/_page.footer.njk" %}
|
|
189
|
+
{% endblock %}
|
|
190
|
+
<!-- /footerBlock -->
|
|
191
|
+
<!-- modalBlock -->
|
|
192
|
+
{% block modalBlock %}
|
|
193
|
+
{% endblock %}
|
|
194
|
+
<!-- /modalBlock -->
|
|
195
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{% include "pages/_page.head.njk" %}
|
|
2
|
+
|
|
3
|
+
{% from "components/header/_macro.header.njk" import componentHeader %}
|
|
4
|
+
{% from "components/nav/_macro.nav.njk" import componentNav %}
|
|
5
|
+
{% from "components/details/_macro.details.njk" import componentDetails %}
|
|
6
|
+
|
|
7
|
+
<!-- template.logged -->
|
|
8
|
+
<body>
|
|
9
|
+
<!-- pageSpinnerBlock -->
|
|
10
|
+
{% block pageSpinnerBlock %}
|
|
11
|
+
{% include "pages/_page.spinner.njk" %}
|
|
12
|
+
{% endblock %}
|
|
13
|
+
<!-- /pageSpinnerBlock -->
|
|
14
|
+
<!-- headerBlock -->
|
|
15
|
+
{% block headerBlock %}
|
|
16
|
+
{% call componentHeader({
|
|
17
|
+
"homepageUrl": "index.html",
|
|
18
|
+
"mobileTitle": {
|
|
19
|
+
"text": "Gestor de expedientes"
|
|
20
|
+
},
|
|
21
|
+
"subnav": {
|
|
22
|
+
"text": "Gestor de expedientes"
|
|
23
|
+
},
|
|
24
|
+
"navigation": {
|
|
25
|
+
"items": [
|
|
26
|
+
{
|
|
27
|
+
"href": "#",
|
|
28
|
+
"text": "Inicio",
|
|
29
|
+
"active": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"href": "#",
|
|
33
|
+
"text": "Expedientes"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"href": "#",
|
|
37
|
+
"text": "Bandejas"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"dropdown": {
|
|
42
|
+
"text": "Ana Pérez",
|
|
43
|
+
"items": [
|
|
44
|
+
{
|
|
45
|
+
"text": "Perfil",
|
|
46
|
+
"href": "/"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"text": "Cerrar sesión",
|
|
50
|
+
"href": "/"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"offcanvas": {
|
|
55
|
+
"text": "Menú",
|
|
56
|
+
"textClose": "Cerrar menú"
|
|
57
|
+
},
|
|
58
|
+
"classes": "relative z-40"
|
|
59
|
+
}) %}
|
|
60
|
+
<nav class="w-full p-2" aria-labelledby="menu-movil-title">
|
|
61
|
+
<h2 id="menu-movil-title" class="sr-only">Menú principal</h2>
|
|
62
|
+
<h3 class="p-base text-base font-bold">Gestor de expedientes</h3>
|
|
63
|
+
{{ componentNav({
|
|
64
|
+
"idPrefix": "nav-mobile-pages",
|
|
65
|
+
"hasNav": false,
|
|
66
|
+
"items": [
|
|
67
|
+
{
|
|
68
|
+
"href": "#",
|
|
69
|
+
"text": "Inicio",
|
|
70
|
+
"active": true
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"href": "#",
|
|
74
|
+
"text": "Expedientes"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"href": "#",
|
|
78
|
+
"text": "Bandejas",
|
|
79
|
+
"divider": true
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"attributes": {
|
|
83
|
+
"aria-label": "Lista de páginas"
|
|
84
|
+
}
|
|
85
|
+
}) }}
|
|
86
|
+
<h3 class="p-base text-base font-bold">Usuario/a: Ana Pérez</h3>
|
|
87
|
+
{{ componentNav({
|
|
88
|
+
"idPrefix": "nav-mobile-user",
|
|
89
|
+
"hasNav": false,
|
|
90
|
+
"items": [
|
|
91
|
+
{
|
|
92
|
+
"href": "#",
|
|
93
|
+
"text": "Perfil"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"href": "#",
|
|
97
|
+
"text": "Cerrar sesión"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"attributes": {
|
|
101
|
+
"aria-label": "Lista de acciones de usuario"
|
|
102
|
+
}
|
|
103
|
+
}) }}
|
|
104
|
+
</nav>
|
|
105
|
+
{% endcall %}
|
|
106
|
+
{% endblock %}
|
|
107
|
+
<!-- /headerBlock -->
|
|
108
|
+
<!-- subheaderBlock -->
|
|
109
|
+
{% block subheaderBlock %}
|
|
110
|
+
{% endblock %}
|
|
111
|
+
<!-- /subheaderBlock -->
|
|
112
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
113
|
+
<!-- notificationHeaderBlock -->
|
|
114
|
+
{% block notificationHeaderBlock %}
|
|
115
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
116
|
+
{% endblock %}
|
|
117
|
+
<!-- /notificationHeaderBlock -->
|
|
118
|
+
<!-- contentBlock -->
|
|
119
|
+
{% block contentBlock %}
|
|
120
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
121
|
+
{% endblock %}
|
|
122
|
+
<!-- /contentBlock -->
|
|
123
|
+
<!-- notificationFooterBlock -->
|
|
124
|
+
{% block notificationFooterBlock %}
|
|
125
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
126
|
+
{% endblock %}
|
|
127
|
+
<!-- /notificationFooterBlock -->
|
|
128
|
+
</main>
|
|
129
|
+
<!-- footerBlock -->
|
|
130
|
+
{% block footerBlock %}
|
|
131
|
+
{% include "pages/_page.footer.njk" %}
|
|
132
|
+
{% endblock %}
|
|
133
|
+
<!-- /footerBlock -->
|
|
134
|
+
<!-- modalBlock -->
|
|
135
|
+
{% block modalBlock %}
|
|
136
|
+
{% endblock %}
|
|
137
|
+
<!-- /modalBlock -->
|
|
138
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{% set currentAppName = "AppName" %}
|
|
2
|
+
|
|
3
|
+
{% include "pages/_page.head.njk" %}
|
|
4
|
+
|
|
5
|
+
<!-- template.mfe-iframe-content -->
|
|
6
|
+
<body>
|
|
7
|
+
<!-- pageSpinnerBlock -->
|
|
8
|
+
{% block pageSpinnerBlock %}
|
|
9
|
+
{% include "pages/_page.spinner.njk" %}
|
|
10
|
+
{% endblock %}
|
|
11
|
+
<!-- /pageSpinnerBlock -->
|
|
12
|
+
<!-- notificationHeaderBlock -->
|
|
13
|
+
{% block notificationHeaderBlock %}
|
|
14
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
15
|
+
{% endblock %}
|
|
16
|
+
<!-- /notificationHeaderBlock -->
|
|
17
|
+
<!-- contentBlock -->
|
|
18
|
+
{% block contentBlock %}
|
|
19
|
+
{% endblock %}
|
|
20
|
+
<!-- /contentBlock -->
|
|
21
|
+
<!-- notificationFooterBlock -->
|
|
22
|
+
{% block notificationFooterBlock %}
|
|
23
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
24
|
+
{% endblock %}
|
|
25
|
+
<!-- /notificationFooterBlock -->
|
|
26
|
+
<!-- modalBlock -->
|
|
27
|
+
{% block modalBlock %}
|
|
28
|
+
{% endblock %}
|
|
29
|
+
<!-- /modalBlock -->
|
|
30
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js" integrity="sha512-14SY6teTzhrLWeL55Q4uCyxr6GQOxF3pEoMxo2mBxXwPRikdMtzKMYWy2B5Lqjr6PHHoGOxZgPaxUYKQrSmu0A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
31
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{% set currentAppName = "AppName" %}
|
|
2
|
+
|
|
3
|
+
{% include "pages/_page.head.njk" %}
|
|
4
|
+
|
|
5
|
+
{% from "components/header/_macro.header.njk" import componentHeader %}
|
|
6
|
+
{% from "components/nav/_macro.nav.njk" import componentNav %}
|
|
7
|
+
{% from "components/details/_macro.details.njk" import componentDetails %}
|
|
8
|
+
|
|
9
|
+
<!-- template.mfe -->
|
|
10
|
+
<body>
|
|
11
|
+
<!-- pageSpinnerBlock -->
|
|
12
|
+
{% block pageSpinnerBlock %}
|
|
13
|
+
{% include "pages/_page.spinner.njk" %}
|
|
14
|
+
{% endblock %}
|
|
15
|
+
<!-- /pageSpinnerBlock -->
|
|
16
|
+
<!-- headerBlock -->
|
|
17
|
+
{% block headerBlock %}
|
|
18
|
+
{{ componentHeader({
|
|
19
|
+
"homepageUrl": "index.html",
|
|
20
|
+
"expandedLogo": true,
|
|
21
|
+
"subnav": {
|
|
22
|
+
"text": currentAppName
|
|
23
|
+
},
|
|
24
|
+
"classes": "relative z-40"
|
|
25
|
+
}) }}
|
|
26
|
+
{% endblock %}
|
|
27
|
+
<!-- /headerBlock -->
|
|
28
|
+
<!-- subheaderBlock -->
|
|
29
|
+
{% block subheaderBlock %}
|
|
30
|
+
{% endblock %}
|
|
31
|
+
<!-- /subheaderBlock -->
|
|
32
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
33
|
+
<div class="pb-lg"></div>
|
|
34
|
+
<h1 class="c-h1">Título de página h1 (Ej: Accede al Servicio o Firma los documentos)</h1>
|
|
35
|
+
<!-- notificationHeaderBlock -->
|
|
36
|
+
{% block notificationHeaderBlock %}
|
|
37
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
38
|
+
{% endblock %}
|
|
39
|
+
<!-- /notificationHeaderBlock -->
|
|
40
|
+
<!-- contentBlock -->
|
|
41
|
+
<!-- iframe -->
|
|
42
|
+
{% block contentBlock %}
|
|
43
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
44
|
+
{% endblock %}
|
|
45
|
+
<!-- /iframe -->
|
|
46
|
+
<!-- /contentBlock -->
|
|
47
|
+
<!-- notificationFooterBlock -->
|
|
48
|
+
{% block notificationFooterBlock %}
|
|
49
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
50
|
+
{% endblock %}
|
|
51
|
+
<!-- /notificationFooterBlock -->
|
|
52
|
+
</main>
|
|
53
|
+
<!-- footerBlock -->
|
|
54
|
+
{% block footerBlock %}
|
|
55
|
+
{% include "pages/_page.footer.njk" %}
|
|
56
|
+
{% endblock %}
|
|
57
|
+
<!-- /footerBlock -->
|
|
58
|
+
<!-- modalBlock -->
|
|
59
|
+
{% block modalBlock %}
|
|
60
|
+
{% endblock %}
|
|
61
|
+
<!-- /modalBlock -->
|
|
62
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js" integrity="sha512-dnvR4Aebv5bAtJxDunq3eE8puKAJrY9GBJYl9GC6lTOEC76s1dbDfJFcL9GyzpaDW4vlI/UjR8sKbc1j6Ynx6w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
63
|
+
<script type="text/javascript">
|
|
64
|
+
|
|
65
|
+
iFrameResize({
|
|
66
|
+
log : true, // Enable console logging
|
|
67
|
+
enablePublicMethods : true, // Enable methods within iframe hosted page
|
|
68
|
+
resizedCallback : function(messageData){ // Callback fn when resize is received
|
|
69
|
+
// console.log ("IFrame: "+ messageData.iframe.id + " Height: " + messageData.height + " Width: " + messageData.width + " Event type: " + messageData.type);
|
|
70
|
+
},
|
|
71
|
+
messageCallback : function(messageData){ // Callback fn when message is received
|
|
72
|
+
// console.log ("IFrame: "+ messageData.iframe.id +" Message: " + messageData.message);
|
|
73
|
+
},
|
|
74
|
+
closedCallback : function(id){ // Callback fn when iFrame is closed
|
|
75
|
+
// console.log ("IFrame: "+ id +" removed from page.");
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
</script>
|
|
79
|
+
{% include "pages/_page.foot.njk" %}
|
|
80
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{% include "pages/_page.head.njk" %}
|
|
2
|
+
|
|
3
|
+
{% from "components/header/_macro.header.njk" import componentHeader %}
|
|
4
|
+
{% from "components/nav/_macro.nav.njk" import componentNav %}
|
|
5
|
+
{% from "components/details/_macro.details.njk" import componentDetails %}
|
|
6
|
+
|
|
7
|
+
<!-- template.logged-out -->
|
|
8
|
+
<body>
|
|
9
|
+
<!-- headerBlock -->
|
|
10
|
+
{% block headerBlock %}
|
|
11
|
+
{{ componentHeader({
|
|
12
|
+
"homepageUrl": "/",
|
|
13
|
+
"expandedLogo": true,
|
|
14
|
+
"classes": "relative z-40"
|
|
15
|
+
}) }}
|
|
16
|
+
{% endblock %}
|
|
17
|
+
<!-- /headerBlock -->
|
|
18
|
+
<!-- subheaderBlock -->
|
|
19
|
+
{% block subheaderBlock %}
|
|
20
|
+
{% endblock %}
|
|
21
|
+
<!-- /subheaderBlock -->
|
|
22
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
23
|
+
<!-- notificationHeaderBlock -->
|
|
24
|
+
{% block notificationHeaderBlock %}
|
|
25
|
+
{% endblock %}
|
|
26
|
+
<!-- /notificationHeaderBlock -->
|
|
27
|
+
<!-- contentBlock -->
|
|
28
|
+
{% block contentBlock %}
|
|
29
|
+
{% endblock %}
|
|
30
|
+
<!-- /contentBlock -->
|
|
31
|
+
<!-- notificationFooterBlock -->
|
|
32
|
+
{% block notificationFooterBlock %}
|
|
33
|
+
{% endblock %}
|
|
34
|
+
<!-- /notificationFooterBlock -->
|
|
35
|
+
</main>
|
|
36
|
+
<!-- footerBlock -->
|
|
37
|
+
{% block footerBlock %}
|
|
38
|
+
{% include "pages/_page.footer.njk" %}
|
|
39
|
+
{% endblock %}
|
|
40
|
+
<!-- /footerBlock -->
|
|
41
|
+
<!-- modalBlock -->
|
|
42
|
+
{% block modalBlock %}
|
|
43
|
+
{% endblock %}
|
|
44
|
+
<!-- /modalBlock -->
|
|
45
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{% include "pages/_page.head.njk" %}
|
|
2
|
+
|
|
3
|
+
{% from "components/header-advanced/_macro.header-advanced.njk" import componentHeaderAdvanced %}
|
|
4
|
+
{% from "components/nav/_macro.nav.njk" import componentNav %}
|
|
5
|
+
{% from "components/details/_macro.details.njk" import componentDetails %}
|
|
6
|
+
|
|
7
|
+
<!-- template.with-header-advanced -->
|
|
8
|
+
<body>
|
|
9
|
+
<!-- pageSpinnerBlock -->
|
|
10
|
+
{% block pageSpinnerBlock %}
|
|
11
|
+
{% include "pages/_page.spinner.njk" %}
|
|
12
|
+
{% endblock %}
|
|
13
|
+
<!-- /pageSpinnerBlock -->
|
|
14
|
+
<!-- headerBlock -->
|
|
15
|
+
{% block headerBlock %}
|
|
16
|
+
{% call componentHeaderAdvanced({
|
|
17
|
+
"title": {
|
|
18
|
+
"homepageUrl": "index.html",
|
|
19
|
+
"text": "DESY"
|
|
20
|
+
},
|
|
21
|
+
"subtitle": {
|
|
22
|
+
"text": "Sistema de Diseño del Gobierno de Aragón."
|
|
23
|
+
},
|
|
24
|
+
"navigation": {
|
|
25
|
+
"items": [
|
|
26
|
+
{
|
|
27
|
+
"href": "#",
|
|
28
|
+
"text": "Inicio",
|
|
29
|
+
"active": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"href": "#",
|
|
33
|
+
"text": "Estilos"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"href": "#",
|
|
37
|
+
"text": "Componentes"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"href": "#",
|
|
41
|
+
"text": "Plantillas"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"href": "#",
|
|
45
|
+
"text": "Librerías"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"href": "#",
|
|
49
|
+
"text": "Soporte"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"offcanvas": {
|
|
54
|
+
"text": "Menú",
|
|
55
|
+
"textClose": "Cerrar menú"
|
|
56
|
+
},
|
|
57
|
+
"classes": "relative z-40"
|
|
58
|
+
}) %}
|
|
59
|
+
<nav class="w-full p-2" aria-labelledby="menu-movil-title">
|
|
60
|
+
<h2 id="menu-movil-title" class="sr-only">Menú principal</h2>
|
|
61
|
+
<h3 class="p-base text-base font-bold">DESY</h3>
|
|
62
|
+
{{ componentNav({
|
|
63
|
+
"idPrefix": "nav-mobile-pages",
|
|
64
|
+
"hasNav": false,
|
|
65
|
+
"items": [
|
|
66
|
+
{
|
|
67
|
+
"href": "#",
|
|
68
|
+
"text": "Inicio",
|
|
69
|
+
"active": true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"href": "#",
|
|
73
|
+
"text": "Estilos"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"href": "#",
|
|
77
|
+
"text": "Componentes"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"href": "#",
|
|
81
|
+
"text": "Plantillas"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"href": "#",
|
|
85
|
+
"text": "Librerías"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"href": "#",
|
|
89
|
+
"text": "Soporte"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"attributes": {
|
|
93
|
+
"aria-label": "Lista de páginas"
|
|
94
|
+
}
|
|
95
|
+
}) }}
|
|
96
|
+
</nav>
|
|
97
|
+
{% endcall %}
|
|
98
|
+
{% endblock %}
|
|
99
|
+
<!-- /headerBlock -->
|
|
100
|
+
<!-- subheaderBlock -->
|
|
101
|
+
{% block subheaderBlock %}
|
|
102
|
+
{% endblock %}
|
|
103
|
+
<!-- /subheaderBlock -->
|
|
104
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
105
|
+
<!-- notificationHeaderBlock -->
|
|
106
|
+
{% block notificationHeaderBlock %}
|
|
107
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
108
|
+
{% endblock %}
|
|
109
|
+
<!-- /notificationHeaderBlock -->
|
|
110
|
+
<!-- contentBlock -->
|
|
111
|
+
{% block contentBlock %}
|
|
112
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
113
|
+
{% endblock %}
|
|
114
|
+
<!-- /contentBlock -->
|
|
115
|
+
<!-- notificationFooterBlock -->
|
|
116
|
+
{% block notificationFooterBlock %}
|
|
117
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
118
|
+
{% endblock %}
|
|
119
|
+
<!-- /notificationFooterBlock -->
|
|
120
|
+
</main>
|
|
121
|
+
<!-- footerBlock -->
|
|
122
|
+
{% block footerBlock %}
|
|
123
|
+
{% include "pages/_page.footer.njk" %}
|
|
124
|
+
{% endblock %}
|
|
125
|
+
<!-- /footerBlock -->
|
|
126
|
+
<!-- modalBlock -->
|
|
127
|
+
{% block modalBlock %}
|
|
128
|
+
{% endblock %}
|
|
129
|
+
<!-- /modalBlock -->
|
|
130
|
+
{% include "pages/_page.foot.njk" %}
|