K (→Templates) |
|||
Zeile 145: | Zeile 145: | ||
|x | |x | ||
|- | |- | ||
| | | nd_<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;">exportbuttons</span> | ||
| | | | ||
| | | | ||
Zeile 155: | Zeile 155: | ||
| x | | x | ||
|- | |- | ||
| | | nd_<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;">dokulinks</span> | ||
| | | | ||
| | | | ||
Zeile 165: | Zeile 165: | ||
| x | | x | ||
|- | |- | ||
| | | nd_<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;">lesezeichen</span> | ||
| | | | ||
| | | | ||
Zeile 185: | Zeile 185: | ||
| x | | x | ||
|- | |- | ||
| | | nd_<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;">sichtauswahl</span> | ||
| | | | ||
| | | | ||
Zeile 195: | Zeile 195: | ||
| ? | | ? | ||
|- | |- | ||
| | | nd_<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;">comboauswahl</span> | ||
| | | | ||
| | | | ||
Zeile 226: | Zeile 226: | ||
|- | |- | ||
| nd_resultset_simple | | nd_resultset_simple | ||
| | |x | ||
| | | | ||
| | | | ||
Zeile 286: | Zeile 286: | ||
|- | |- | ||
| nd_formsubmit | | nd_formsubmit | ||
| | |<br /> | ||
|<br /> | |<br /> | ||
| | | |
Version vom 31. Januar 2024, 12:54 Uhr
Prinzipien
- Minimaler Einsatz von Javascript und JS-Frameworks
- Maximaler Einsatz von HTML 5 / CSS / Bulma
- Responsiv
Implementierung
Generierung und Test
Erster Startpunkt ist der Downloadbereich. Hier gibt es eigene XSL Stylsesheets, zuerst einmal nur für die Maske 520 Downloads. Aktueller Ort:
/home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/
Generierung auf V2/Community Server (in Short):
cd /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/ git pull rsync_to_community.x
Danach im Browser den Webanwendung Manager Cache leeren und die Maske neu öffnen.
Allgemeines Komponenten
Neue Templates liegen im Ordner /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/
- xml/pageComponents_html5.xsl
- xml/dialogs.xsl
Weitere Layoutdateien siehe Liste in
- include_list.txt
Templates
new design templatename |
sx_ login |
sx_ menue |
sx_ abfragen |
sx_ maske |
sx_man _maske |
sx_ tabelle |
sx_baum _tabelle |
sx_man _tabelle |
---|---|---|---|---|---|---|---|---|
Allgemein | ||||||||
nd_pagetitle | x | x | x | x | x | x | x | x |
nd_breadcrumb | x | x | x | x | x | x | ||
nd_infotiles | x | |||||||
nd_moduleset | x | |||||||
Themenbaum |
||||||||
nd_query_subdir | x | |||||||
nd_query_list | x | |||||||
Buttons |
||||||||
nd_buttonbar_mask |
x | x | ||||||
nd_buttonbar_table | x | x | x | |||||
nd_exportbuttons | x | x | x | |||||
nd_dokulinks | x | x | x | x | x | |||
nd_lesezeichen | x | x | x | x | x | |||
nd_deeplink | x | x | x | x | x | |||
nd_sichtauswahl | ? | ? | ? | ? | ? | |||
nd_comboauswahl | ? | ? | ? | ? | ? | |||
Ergebnisberichte | ||||||||
nd_legend_explanation | x | x | x | |||||
nd_resultset_simple | x | x | ||||||
nd_resultset_man | x | |||||||
nd_resulset_tree | x | |||||||
Formulare | ||||||||
nd_selectionform | x | x | ||||||
nd_selectionform_man | x | |||||||
nd_formsubmit | x | x | ||||||
Navigation | ||||||||
nd_navi_top | x | x | x | x | x | x | x | |
nd_navi_panel | x | x | x | ? |
x | x | ? | |
nd_navi_panel_cube | x |
x |
x |
? |
? |
? |
? | |
nd_navi_panel_kenn_man | x | x | ||||||
nd_navi_bottom | x | x | x | x | x | x | x | x |
nd_navi_orgunits | x | |||||||
nd_navi_resultset | x | x | x |
Masken
Neue Templates liegen im Ordner /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/
- xml/maske_html_download.xsl
Für den öffentlichen Downloadbereich ohne Login ist eine daraus generierte Datei vorhanden:
- xml/download_mask.htm
Diese Datei wird generiert mit
. SQL_ENV_COMMUNITY cd /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/xml sx_transform.x -IN:downloads_maske.xml -XSL:maske_html_download.xsl -OUT:download_mask.htm -method:html
Danach müssen die versteckten Felder
<input type="hidden" name="kennung" value="anonym"> <input type="hidden" name="passwort" value="anfang12"> <input type="hidden" name="maxoffset" value="1000">
unterhalb des <form>-Elements ergänzt werden, und das form-action auf einen relativen Link umgesetzt werden:
<form name="maske" id="SuperXMaske" method="post" charset="UTF-8" action="../servlet/SuperXmlTabelle">...
Tabellen
Neue Templates liegen im Ordner /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/
- xml/tabelle_html_download.xsl
Diese Datei wird zum Testen generiert mit
. SQL_ENV_COMMUNITY cd /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/xml sx_transform.x -IN:downloads_tabelle.xml -XSL:tabelle_html_download.xsl -OUT:test.htm -method:html