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,53 @@
|
|
|
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
|
+
<!-- pageSpinnerBlock -->
|
|
10
|
+
{% block pageSpinnerBlock %}
|
|
11
|
+
{% include "pages/_page.spinner.njk" %}
|
|
12
|
+
{% endblock %}
|
|
13
|
+
<!-- /pageSpinnerBlock -->
|
|
14
|
+
<!-- headerBlock -->
|
|
15
|
+
{% block headerBlock %}
|
|
16
|
+
{{ componentHeader({
|
|
17
|
+
"homepageUrl": "index.html",
|
|
18
|
+
"expandedLogo": true,
|
|
19
|
+
"classes": "relative z-40"
|
|
20
|
+
}) }}
|
|
21
|
+
{% endblock %}
|
|
22
|
+
<!-- /headerBlock -->
|
|
23
|
+
<!-- subheaderBlock -->
|
|
24
|
+
{% block subheaderBlock %}
|
|
25
|
+
{% endblock %}
|
|
26
|
+
<!-- /subheaderBlock -->
|
|
27
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
28
|
+
<!-- notificationHeaderBlock -->
|
|
29
|
+
{% block notificationHeaderBlock %}
|
|
30
|
+
{% include "pages/_page.notification-header.njk" %}
|
|
31
|
+
{% endblock %}
|
|
32
|
+
<!-- /notificationHeaderBlock -->
|
|
33
|
+
<!-- contentBlock -->
|
|
34
|
+
{% block contentBlock %}
|
|
35
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
36
|
+
{% endblock %}
|
|
37
|
+
<!-- /contentBlock -->
|
|
38
|
+
<!-- notificationFooterBlock -->
|
|
39
|
+
{% block notificationFooterBlock %}
|
|
40
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
41
|
+
{% endblock %}
|
|
42
|
+
<!-- /notificationFooterBlock -->
|
|
43
|
+
</main>
|
|
44
|
+
<!-- footerBlock -->
|
|
45
|
+
{% block footerBlock %}
|
|
46
|
+
{% include "pages/_page.footer.njk" %}
|
|
47
|
+
{% endblock %}
|
|
48
|
+
<!-- /footerBlock -->
|
|
49
|
+
<!-- modalBlock -->
|
|
50
|
+
{% block modalBlock %}
|
|
51
|
+
{% endblock %}
|
|
52
|
+
<!-- /modalBlock -->
|
|
53
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -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-fixed-headroom -->
|
|
8
|
+
<body class="lg:pt-14">
|
|
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
|
+
"items": [
|
|
24
|
+
{
|
|
25
|
+
"href": "#",
|
|
26
|
+
"text": "Bandeja de entrada"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"href": "#",
|
|
30
|
+
"text": "Gestor de expedientes",
|
|
31
|
+
"active": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"href": "#",
|
|
35
|
+
"text": "Catálogo de servicios"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"href": "#",
|
|
39
|
+
"text": "Portafirmas corporativo"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"navigation": {
|
|
44
|
+
"items": [
|
|
45
|
+
{
|
|
46
|
+
"href": "#",
|
|
47
|
+
"text": "Inicio",
|
|
48
|
+
"active": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"href": "#",
|
|
52
|
+
"text": "Expedientes"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"href": "#",
|
|
56
|
+
"text": "Bandejas"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"dropdown": {
|
|
61
|
+
"text": "Ana Pérez",
|
|
62
|
+
"items": [
|
|
63
|
+
{
|
|
64
|
+
"text": "Perfil",
|
|
65
|
+
"href": "/"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"text": "Cerrar sesión",
|
|
69
|
+
"href": "/"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"offcanvas": {
|
|
74
|
+
"text": "Menú",
|
|
75
|
+
"textClose": "Cerrar menú"
|
|
76
|
+
},
|
|
77
|
+
"classes": "relative z-40",
|
|
78
|
+
"attributes": {
|
|
79
|
+
"data-module": "c-header"
|
|
80
|
+
}
|
|
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-fixed.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-headroom.njk" %}
|
|
@@ -0,0 +1,192 @@
|
|
|
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-fixed -->
|
|
8
|
+
<body class="lg:pt-14">
|
|
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
|
+
"items": [
|
|
24
|
+
{
|
|
25
|
+
"href": "#",
|
|
26
|
+
"text": "Bandeja de entrada"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"href": "#",
|
|
30
|
+
"text": "Gestor de expedientes",
|
|
31
|
+
"active": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"href": "#",
|
|
35
|
+
"text": "Catálogo de servicios"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"href": "#",
|
|
39
|
+
"text": "Portafirmas corporativo"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"navigation": {
|
|
44
|
+
"items": [
|
|
45
|
+
{
|
|
46
|
+
"href": "#",
|
|
47
|
+
"text": "Inicio",
|
|
48
|
+
"active": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"href": "#",
|
|
52
|
+
"text": "Expedientes"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"href": "#",
|
|
56
|
+
"text": "Bandejas"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"dropdown": {
|
|
61
|
+
"text": "Ana Pérez",
|
|
62
|
+
"items": [
|
|
63
|
+
{
|
|
64
|
+
"text": "Perfil",
|
|
65
|
+
"href": "/"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"text": "Cerrar sesión",
|
|
69
|
+
"href": "/"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"offcanvas": {
|
|
74
|
+
"text": "Menú",
|
|
75
|
+
"textClose": "Cerrar menú"
|
|
76
|
+
},
|
|
77
|
+
"classes": "lg:fixed lg:top-0 lg:inset-x-0 z-40"
|
|
78
|
+
}) %}
|
|
79
|
+
<nav class="w-full p-2" aria-labelledby="menu-movil-title">
|
|
80
|
+
<h2 id="menu-movil-title" class="sr-only">Menú principal</h2>
|
|
81
|
+
<h3 class="p-base text-base font-bold">Gestor de expedientes</h3>
|
|
82
|
+
{{ componentNav({
|
|
83
|
+
"idPrefix": "nav-mobile-pages",
|
|
84
|
+
"hasNav": false,
|
|
85
|
+
"items": [
|
|
86
|
+
{
|
|
87
|
+
"href": "#",
|
|
88
|
+
"text": "Inicio",
|
|
89
|
+
"active": true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"href": "#",
|
|
93
|
+
"text": "Expedientes"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"href": "#",
|
|
97
|
+
"text": "Bandejas",
|
|
98
|
+
"divider": true
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"attributes": {
|
|
102
|
+
"aria-label": "Lista de páginas"
|
|
103
|
+
}
|
|
104
|
+
}) }}
|
|
105
|
+
<h3 class="p-base text-base font-bold">Usuario/a: Ana Pérez</h3>
|
|
106
|
+
{{ componentNav({
|
|
107
|
+
"idPrefix": "nav-mobile-user",
|
|
108
|
+
"hasNav": false,
|
|
109
|
+
"items": [
|
|
110
|
+
{
|
|
111
|
+
"href": "#",
|
|
112
|
+
"text": "Perfil"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"href": "#",
|
|
116
|
+
"text": "Cerrar sesión",
|
|
117
|
+
"divider": true
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"attributes": {
|
|
121
|
+
"aria-label": "Lista de acciones de usuario"
|
|
122
|
+
}
|
|
123
|
+
}) }}
|
|
124
|
+
{% call componentDetails({
|
|
125
|
+
"classes": "px-base",
|
|
126
|
+
"summary": {
|
|
127
|
+
"html": "Cambiar de aplicación",
|
|
128
|
+
"classes": "c-link text-sm"
|
|
129
|
+
}
|
|
130
|
+
}) %}
|
|
131
|
+
{{ componentNav({
|
|
132
|
+
"idPrefix": "nav-mobile-apps",
|
|
133
|
+
"hasNav": false,
|
|
134
|
+
"items": [
|
|
135
|
+
{
|
|
136
|
+
"href": "#",
|
|
137
|
+
"text": "Bandeja de entrada"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"href": "#",
|
|
141
|
+
"text": "Gestor de expedientes",
|
|
142
|
+
"active": true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"href": "#",
|
|
146
|
+
"text": "Catálogo de servicios"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"href": "#",
|
|
150
|
+
"text": "Portafirmas corporativo"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"attributes": {
|
|
154
|
+
"aria-label": "Lista de aplicaciones"
|
|
155
|
+
}
|
|
156
|
+
}) }}
|
|
157
|
+
{% endcall %}
|
|
158
|
+
</nav>
|
|
159
|
+
{% endcall %}
|
|
160
|
+
{% endblock %}
|
|
161
|
+
<!-- /headerBlock -->
|
|
162
|
+
<!-- subheaderBlock -->
|
|
163
|
+
{% block subheaderBlock %}
|
|
164
|
+
{% endblock %}
|
|
165
|
+
<!-- /subheaderBlock -->
|
|
166
|
+
<main id="content" class="relative container mx-auto px-base">
|
|
167
|
+
<!-- notificationHeaderBlock -->
|
|
168
|
+
{% block notificationHeaderBlock %}
|
|
169
|
+
{% include "pages/_page.notification-header-fixed.njk" %}
|
|
170
|
+
{% endblock %}
|
|
171
|
+
<!-- /notificationHeaderBlock -->
|
|
172
|
+
<!-- contentBlock -->
|
|
173
|
+
{% block contentBlock %}
|
|
174
|
+
{% include "pages/_page.spinner-block.njk" %}
|
|
175
|
+
{% endblock %}
|
|
176
|
+
<!-- /contentBlock -->
|
|
177
|
+
<!-- notificationFooterBlock -->
|
|
178
|
+
{% block notificationFooterBlock %}
|
|
179
|
+
{% include "pages/_page.notification-footer.njk" %}
|
|
180
|
+
{% endblock %}
|
|
181
|
+
<!-- /notificationFooterBlock -->
|
|
182
|
+
</main>
|
|
183
|
+
<!-- footerBlock -->
|
|
184
|
+
{% block footerBlock %}
|
|
185
|
+
{% include "pages/_page.footer.njk" %}
|
|
186
|
+
{% endblock %}
|
|
187
|
+
<!-- /footerBlock -->
|
|
188
|
+
<!-- modalBlock -->
|
|
189
|
+
{% block modalBlock %}
|
|
190
|
+
{% endblock %}
|
|
191
|
+
<!-- /modalBlock -->
|
|
192
|
+
{% include "pages/_page.foot.njk" %}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{% extends "pages/_template.logged-selector.njk" %}
|
|
2
|
+
|
|
3
|
+
{% from "components/button/_macro.button.njk" import componentButton %}
|
|
4
|
+
{% from "components/menu-horizontal/_macro.menu-horizontal.njk" import componentMenuHorizontal %}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
{% block subheaderBlock %}
|
|
8
|
+
<div class="border-b border-neutral-dark bg-white">
|
|
9
|
+
<div class="container mx-auto mt-base -mb-px px-base">
|
|
10
|
+
<div class="lg:flex lg:flex-wrap lg:w-full">
|
|
11
|
+
<div class="lg:flex lg:flex-wrap lg:justify-between lg:w-full">
|
|
12
|
+
<div class="lg:flex-1 mb-base">
|
|
13
|
+
<!-- subheaderNavigation -->
|
|
14
|
+
{% block subheaderNavigation %}
|
|
15
|
+
<nav aria-label="Volver a la página anterior">
|
|
16
|
+
{{ componentButton({
|
|
17
|
+
"html": '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140" class="self-center mr-2" aria-hidden="true" focusable="false" width="1em" height="1em"><path d="M37.93 27.93l-35 35a10 10 0 000 14.14l35 35a10 10 0 1014.14-14.14L38.41 84.27A2.5 2.5 0 0140.18 80H130a10 10 0 000-20H40.18a2.5 2.5 0 01-1.77-4.27l13.66-13.66a10 10 0 00-14.14-14.14z" fill="currentColor"></path></svg>Volver',
|
|
18
|
+
"classes": "c-button--transparent c-button--sm",
|
|
19
|
+
"href": "/"
|
|
20
|
+
}) }}
|
|
21
|
+
</nav>
|
|
22
|
+
{% endblock %}
|
|
23
|
+
<!-- /subheaderNavigation -->
|
|
24
|
+
</div>
|
|
25
|
+
<div class="flex flex-wrap lg:items-center mb-base lg:ml-auto lg:pl-base">
|
|
26
|
+
<!-- subheaderActions -->
|
|
27
|
+
{% block subheaderActions %}
|
|
28
|
+
{% include "includes/_acciones-de-cabecera.njk" %}
|
|
29
|
+
{% endblock %}
|
|
30
|
+
<!-- /subheaderActions -->
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="lg:w-full mb-base lg:mb-lg">
|
|
34
|
+
<!-- subheaderTitle -->
|
|
35
|
+
{% block subheaderTitle %}
|
|
36
|
+
<h2 class="c-h2 mb-xs">
|
|
37
|
+
Título del item (h3)
|
|
38
|
+
</h2>
|
|
39
|
+
<p class="font-semibold uppercase">
|
|
40
|
+
Subtitulo
|
|
41
|
+
</p>
|
|
42
|
+
{% endblock %}
|
|
43
|
+
<!-- /subheaderTitle -->
|
|
44
|
+
</div>
|
|
45
|
+
<div class="order-4 w-full">
|
|
46
|
+
<!-- subheaderMenu -->
|
|
47
|
+
{% block subheaderMenu %}
|
|
48
|
+
<h3 id="cabecera-menu" class="mt-lg text-sm uppercase lg:sr-only">Submenú de item</h3>
|
|
49
|
+
{{ componentMenuHorizontal({
|
|
50
|
+
"classes": "c-menu-horizontal--tabs",
|
|
51
|
+
"items": [
|
|
52
|
+
{
|
|
53
|
+
"href": "http://www.google.com",
|
|
54
|
+
"text": "Subsección 1"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"href": "http://www.google.com",
|
|
58
|
+
"text": "Subsección 2",
|
|
59
|
+
"active": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"href": "http://www.google.com",
|
|
63
|
+
"text": "Subsección 3"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"href": "http://www.google.com",
|
|
67
|
+
"text": "Subsección 4"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"attributes": {
|
|
71
|
+
"aria-labelledby": "cabecera-menu"
|
|
72
|
+
}
|
|
73
|
+
}) }}
|
|
74
|
+
{% endblock %}
|
|
75
|
+
<!-- /subheaderMenu -->
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
{% endblock %}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{% extends "pages/_template.logged-selector.njk" %}
|
|
2
|
+
|
|
3
|
+
{% set skipLinkHref = "#content-center" %}
|
|
4
|
+
|
|
5
|
+
{% block contentBlock %}
|
|
6
|
+
<!-- headerContentBlock -->
|
|
7
|
+
{% block headerContentBlock %}
|
|
8
|
+
{% endblock %}
|
|
9
|
+
<!-- /headerContentBlock -->
|
|
10
|
+
<div class="grid grid-cols-2 lg:grid-cols-4 gap-xl">
|
|
11
|
+
<div class="col-span-2 lg:col-span-1">
|
|
12
|
+
<!-- sidebarBlock -->
|
|
13
|
+
{% block sidebarBlock %}
|
|
14
|
+
{% endblock %}
|
|
15
|
+
<!-- /sidebarBlock -->
|
|
16
|
+
</div>
|
|
17
|
+
<section id="content-center" class="col-span-2 lg:col-span-3" aria-label="Contenido central">
|
|
18
|
+
<!-- notificationInnerContentBlock -->
|
|
19
|
+
{% block notificationInnerContentBlock %}
|
|
20
|
+
{% include "pages/_page.notification-edit-inner-content.njk" %}
|
|
21
|
+
{% endblock %}
|
|
22
|
+
<!-- /notificationInnerContentBlock -->
|
|
23
|
+
<!-- innerContentBlock -->
|
|
24
|
+
{% block innerContentBlock %}
|
|
25
|
+
{% endblock %}
|
|
26
|
+
<!-- /innerContentBlock -->
|
|
27
|
+
</section>
|
|
28
|
+
</div>
|
|
29
|
+
{% endblock %}
|