Zuletzt bearbeitet vor einem Monat
von Daniel Quathamer

Neue Layouts in SuperX 5.1: Unterschied zwischen den Versionen

 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 5: Zeile 5:


=Implementierung=
=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==
==Allgemeines Komponenten==
Neue Templates liegen im Ordner /home/superx/git/Memtext-Interna/devel_module/kern/2021_superx_layout/
Alle eingebundenen Templates liegen im Ordner webapps/superx/xml in der Datei "nd_templates.xsl". Hier eine Übersicht wo die jew. Templates genutzt werden.
* xml/pageComponents_html5.xsl
* xml/dialogs.xsl
Weitere Layoutdateien siehe Liste in
* include_list.txt
==Templates==
Anmerkungen zur Tabelle:
Anmerkungen zur Tabelle:
* x = Hier ist Template zu integrieren
* x = Hier ist Template zu integrieren
* ! = Hier liegt Templateoriginal
* Templateoriginal liegt in nd_templates.xsl<br />
{| class="wikitable"
{| class="wikitable"
|-
|-
Zeile 50: Zeile 35:
| x
| x
| x<br />
| x<br />
| x !<br />
| x <br />
| x
| x
| x
| x
Zeile 59: Zeile 44:
| x
| x
| x <br />
| x <br />
| x !<br />
| x <br />
| x
| x
| x
| x
Zeile 65: Zeile 50:
|nd_infotiles
|nd_infotiles
|x !<br />
|x <br />
Zeile 93: Zeile 78:
| x !<br />
| x <br />
Zeile 102: Zeile 87:
| x !<br />
| x <br />
Zeile 122: Zeile 107:
| x
| x
| x !<br />
| x <br />
Zeile 132: Zeile 117:
|x !<br />
|x <br />
|x <br />
|x <br />
|-
|-
Zeile 141: Zeile 126:
|x !
|x <br />
|-
|-
Zeile 150: Zeile 135:
|x
|x
|x
|x
|!
|<br />
|-
|-
Zeile 159: Zeile 144:
| x !<br />
| x <br />
| x
| x
|-
|-
Zeile 168: Zeile 153:
| x !<br />
| x <br />
| x
| x
|-
|-
Zeile 177: Zeile 162:
| x
| x
| x
| x
| x !<br />
| x <br />
| x
| x
|-
|-
Zeile 186: Zeile 171:
|x
|x
|x
|x
|x !<br />
|x <br />
| x
| x
|-
|-
Zeile 195: Zeile 180:
|x !
|x <br />
|x
|x
|-
|-
Zeile 204: Zeile 189:
|x !
|x <br />
|x
|x
|-
|-
Zeile 213: Zeile 198:
|x !
|x <br />
|x
|x
|-
|-
Zeile 222: Zeile 207:
|x !
|x <br />
|x
|x
|-
|-
Zeile 231: Zeile 216:
|x !
|x <br />
|x
|x
|-
|-
Zeile 240: Zeile 225:
|x !
|x <br />
|x
|x
|-
|-
Zeile 249: Zeile 234:
|x !
|x <br />
|x
|x
|-
|-
Zeile 258: Zeile 243:
|x !
|x <br />
|x
|x
|-
|-
Zeile 267: Zeile 252:
|x !
|x <br />
|x
|x
|-
|-
Zeile 276: Zeile 261:
|x !
|x <br />
|x
|x
|-
|-
Zeile 285: Zeile 270:
|x !
|x <br />
|x
|x
|-
|-
Zeile 294: Zeile 279:
|x !
|x <br />
|x
|x
|-
|-
Zeile 303: Zeile 288:
|x !
|x <br />
|x
|x
|-
|-
Zeile 312: Zeile 297:
|x !
|x <br />
|x
|x
|-
|-
Zeile 321: Zeile 306:
|x !
|x <br />
|x
|x
|-
|-
Zeile 330: Zeile 315:
|x !
|x <br />
|x
|x
|-
|-
Zeile 348: Zeile 333:
|x !<br />
|x <br />
| x <br />
| x <br />
|-
|-
Zeile 357: Zeile 342:
| x !<br />
| x <br />
|<br />
|<br />
|-
|-
Zeile 366: Zeile 351:
|x !
|x <br />
| x <br />
| x <br />
|-
|-
Zeile 375: Zeile 360:
|x !
|x <br />
|<br />
|<br />
|-
|-
Zeile 391: Zeile 376:
| x !<br />
| x <br />
Zeile 401: Zeile 386:
| x !<br />
| x <br />
|<br />
|<br />
Zeile 410: Zeile 395:
| x <br />
| x <br />
|x !<br />
|x <br />
|<br />
|<br />
Zeile 427: Zeile 412:
| x
| x
| x
| x
| x !<br />
| x <br />
| x
| x
| x
| x
|-
|nd_navi_wam <br />
ist Bestandteil von nd_navi_top
|-
|-
| nd_navi_panel
| nd_navi_panel
| x !<br />
| x <br />
| x <br />
| x <br />
| x <br />
| x <br />
Zeile 447: Zeile 442:
|x !
|x <br />
|-
|-
| nd_navi_bottom
| nd_navi_bottom
Zeile 454: Zeile 449:
| x
| x
| x
| x
| x !<br />
| x <br />
| x
| x
| x
| x
Zeile 465: Zeile 460:
| x
| x
| x !<br />
| x <br />
|}
|}



Aktuelle Version vom 6. März 2025, 08:24 Uhr

Prinzipien

  • Minimaler Einsatz von Javascript und JS-Frameworks
  • Maximaler Einsatz von HTML 5 / CSS / Bulma
  • Responsiv

Implementierung

Allgemeines Komponenten

Alle eingebundenen Templates liegen im Ordner webapps/superx/xml in der Datei "nd_templates.xsl". Hier eine Übersicht wo die jew. Templates genutzt werden. Anmerkungen zur Tabelle:

  • x = Hier ist Template zu integrieren
  • Templateoriginal liegt in nd_templates.xsl
new design
templatename
sx_
login
sx_
start
sx_
menue
sx_
maske
sx_man
_maske
sx_
tabelle
sx_man
_tabelle
Allgemein              
nd_pagetitle x x x x
x
x x
nd_breadcrumb     x x
x
x x
nd_infotiles   x
         
nd_modulinfo     x x x x x
Abfragen
             
nd_query_subdir     x
       
nd_query_list     x
     
Buttons
             
nd_buttonbar_mask
      x x
   
nd_buttonbar_table
        x
x
nd_buttonbar_export           x
 
nd_button_Keyfields       x x
 
nd_button_Print           x
x
nd_button_BackToMask           x
x
nd_button_UserDoc       x x x
x
nd_button_Bookmark       x x x
x
nd_button_DeepLink           x
x
nd_button_Konfig           x
x
nd_button_intoWord           x
x
nd_button_intoExcelNormal           x
x
nd_button_intoExcelBig           x
x
nd_button_intoExcelNice           x
x
nd_button_intoPDF           x
x
nd_button_intoHTML           x
x
nd_button_intoCSVText           x
x
nd_button_intoCSVExcel           x
x
nd_button_intoXML           x
x
nd_button_intoMediaWiki           x
x
nd_button_Copy           x
x
nd_button_MaskInfoEdit           x
x
nd_button_MaskToSachgeb           x
x
nd_button_StyleToMask           x
x
Ergebnisberichte              
nd_legend_explanation           x
x
nd_resultset_simple
        x

nd_resultset_man           x
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
nd_navi_wam

ist Bestandteil von nd_navi_top

             
nd_navi_panel   x
x
x
x
x x
nd_navi_panel_orgunits             x
nd_navi_bottom x x x x x
x x
nd_navi_resultset           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