Zuletzt bearbeitet vor einem Monat
von Daniel Quathamer

Neue Layouts in SuperX 5.1: Unterschied zwischen den Versionen

Zeile 26: Zeile 26:
|-
|-
! new design <br />templatename
! new design <br />templatename
!sx_menue
! sx_maske
! sx_maske
! sx_man<br />_maske
! sx_man<br />_maske
Zeile 37: Zeile 38:
|-
|-
|'''Navigation'''
|'''Navigation'''
Zeile 48: Zeile 50:
|-
|-
| nd_top_navi
| nd_top_navi
|x
| x
| x
| x
| x
Zeile 59: Zeile 62:
|-
|-
| nd_navi_panel
| nd_navi_panel
|x
| x
| x
| x
| x
Zeile 70: Zeile 74:
|-
|-
| nd_bottom_navi
| nd_bottom_navi
|x
| x
| x
| x
| x
Zeile 81: Zeile 86:
|-
|-
| nd_orgunit_navi
| nd_orgunit_navi
| -
| -
| -
| -
Zeile 92: Zeile 98:
|-
|-
|'''Allgemein ''' <br />
|'''Allgemein ''' <br />
Zeile 103: Zeile 110:
|-
|-
| nd_pagetitle
| nd_pagetitle
|x
| x
| x
| x
| x
Zeile 114: Zeile 122:
|-
|-
| nd_breadcrumb
| nd_breadcrumb
|x
| x
| x
| x
| x
Zeile 125: Zeile 134:
|-
|-
| nd_buttonbar
| nd_buttonbar
| x
| x
| x
| x
Zeile 136: Zeile 146:
|-
|-
|'''Formulare'''
|'''Formulare'''
Zeile 147: Zeile 158:
|-
|-
| nd_selectionform
| nd_selectionform
| x
| x
| x
| x
Zeile 158: Zeile 170:
|-
|-
| nd_formsubmit
| nd_formsubmit
| x
| x
| x
| x
Zeile 169: Zeile 182:
|-
|-
|'''Ergebnisberichte'''
|'''Ergebnisberichte'''
Zeile 180: Zeile 194:
|-
|-
|nd_breadcrumb
|nd_breadcrumb
|x
|x
|x
|-
|-
|x
|x
|-
|-
Zeile 191: Zeile 207:
|-
|-
| nd_legend_explanation
| nd_legend_explanation
| -
| -
| -
| -
Zeile 202: Zeile 219:
|-
|-
| nd_simple_resultreport
| nd_simple_resultreport
| -
| -
| -
| -
Zeile 213: Zeile 231:
|-
|-
| nd_man_resultreport
| nd_man_resultreport
| -
| -
| -
| -
Zeile 224: Zeile 243:
|-
|-
| nd_tree_resultreport
| nd_tree_resultreport
| -
| -
| -
| -
Zeile 235: Zeile 255:
|-
|-
| nd_report_navi
| nd_report_navi
| -
| -
| -
| -
Zeile 246: Zeile 267:
|-
|-
|nd_exportbuttons
|nd_exportbuttons
Zeile 257: Zeile 279:
|-
|-
|nd_dokulinks
|nd_dokulinks
Zeile 267: Zeile 290:
|-
|-
Zeile 279: Zeile 303:
|-
|-
|'''Dialoge'''
|'''Dialoge'''
Zeile 290: Zeile 315:
|-
|-
|nd_lesezeichen
|nd_lesezeichen
|x
|x
Zeile 301: Zeile 327:
|-
|-
|nd_deeplink
|nd_deeplink
Zeile 312: Zeile 339:
|-
|-
|nd_sichtauswahl
|nd_sichtauswahl
|x
|x
|x
|x
Zeile 323: Zeile 351:
|-
|-
|nd_comboauswahl
|nd_comboauswahl
|x
|x

Version vom 24. Januar 2024, 11:46 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_menue sx_maske sx_man
_maske
sx-tabelle sx_man
_tabelle
Überschrift Überschrift Überschrift Überschrift Überschrift
Navigation                    
nd_top_navi x x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_navi_panel x x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_bottom_navi x x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_orgunit_navi   - - - x Beispiel Beispiel Beispiel Beispiel Beispiel
Allgemein
                   
nd_pagetitle x x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_breadcrumb x x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_buttonbar   x x x x Beispiel Beispiel Beispiel Beispiel Beispiel
Formulare                    
nd_selectionform   x x x
- Beispiel Beispiel Beispiel Beispiel Beispiel
nd_formsubmit   x x x
- Beispiel Beispiel Beispiel Beispiel Beispiel
Ergebnisberichte                    
nd_breadcrumb x x
x
           
nd_legend_explanation   - - x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_simple_resultreport   - - x - Beispiel Beispiel Beispiel Beispiel Beispiel
nd_man_resultreport   - - - x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_tree_resultreport   - - - - Beispiel Beispiel Beispiel Beispiel Beispiel
nd_report_navi   - - x x Beispiel Beispiel Beispiel Beispiel Beispiel
nd_exportbuttons                    
nd_dokulinks                    
                     
Dialoge                    
nd_lesezeichen   x   x x          
nd_deeplink       x x          
nd_sichtauswahl   x x x x          
nd_comboauswahl   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