Zuletzt bearbeitet vor einem Monat
von Daniel Quathamer

Neue Layouts in SuperX 5.1: Unterschied zwischen den Versionen

 
(34 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
Anmerkungen zur Tabelle:
* xml/dialogs.xsl
* x = Hier ist Template zu integrieren
Weitere Layoutdateien siehe Liste in
* Templateoriginal liegt in nd_templates.xsl<br />
* include_list.txt
==Templates==
 
{| class="wikitable"
{| class="wikitable"
|-
|-
! new design <br />templatename
! new design <br />templatename
! sx_<br />login
! sx_<br />login
! sx_<br />start
! sx_<br />menue
! sx_<br />menue
! sx_<br />abfragen
! sx_<br />maske
! sx_<br />maske
!sx_man<br />_maske
!sx_man<br />_maske
!sx_<br />tabelle
!sx_<br />tabelle
!sx_baum<br />_tabelle
! sx_man<br />_tabelle
! sx_man<br />_tabelle
|-
|-
|'''Allgemein '''
|'''Allgemein '''
Zeile 49: Zeile 34:
| x
| x
| x
| x
| x
| x<br />
| x
| x <br />
| x
| x
| x
| x
| x
Zeile 59: Zeile 43:
| x
| x
| x
| x <br />
| x
| x <br />
| x
| x
| x
| x
| x
|-
|-
|'''Abfragen'''
|nd_infotiles
|x <br />
Zeile 72: Zeile 56:
|-
|nd_modulinfo
|x
|x
|x
|x
|x
|-
|-
| nd_query_dir
|'''Abfragen'''<br />
| x
|-
| nd_query_subdir
| x <br />
Zeile 88: Zeile 87:
| x
| x <br />
Zeile 103: Zeile 101:
|-
| nd_buttonbar_mask<br />
| x
| x <br />
|-
|nd_buttonbar_table
|<br />
|x <br />
|x <br />
|-
|nd_buttonbar_export
|x <br />
|-
|-
|<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;"> nd_buttonbar (vs. -table/-maske ?)<br /></span>
|nd_button_Keyfields
| x
|x
| x
|x
| x
|<br />
| x
| 
| x
|-
|-
| nd_exportbuttons
|nd_button_Print
Zeile 121: Zeile 144:
| x
| x <br />
| x
| x
| x
|-
|-
| nd_dokulinks
| nd_button_BackToMask
| x
| x <br />
| x
| x
| x
| x
| x
|-
|-
|<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;"> nd_lesezeichen</span>
| nd_button_UserDoc
Zeile 141: Zeile 162:
| x
| x
| x
| x
| x
| x <br />
| x
| x
| x
|-
|-
| nd_deeplink
|nd_button_Bookmark
Zeile 151: Zeile 171:
|x
|x
|x
|x
|x <br />
| x
|-
|nd_button_DeepLink
|x <br />
|x
|x
|-
|nd_button_Konfig
|x <br />
|x
|x
| x
|-
|-
|<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;"> nd_sichtauswahl</span>
|nd_button_intoWord
| ?
| 
| ?
|x <br />
| ?
|x
| ?
| ?
|-
|-
|<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;"> nd_comboauswahl</span>
|nd_button_intoExcelNormal
| ?
|x <br />
| ?
|x
| ?
| ?
|?
|-
|-
|'''Ergebnisberichte'''
|nd_button_intoExcelBig
|x <br />
|x
|-
|nd_button_intoExcelNice
|x <br />
|x
|-
|-
| nd_legend_explanation
|nd_button_intoPDF
Zeile 191: Zeile 234:
|x <br />
|x
|x
|-
|nd_button_intoHTML
|x <br />
|x
|x
| x
|-
|-
| nd_resultset_simple
|nd_button_intoCSVText
|x <br />
|x
|-
|nd_button_intoCSVExcel
| x
|x <br />
|x
|-
|-
| nd_resultset_man
|nd_button_intoXML
|x <br />
|x
|-
|nd_button_intoMediaWiki
| x
|x <br />
|x
|-
|-
| nd_resulset_tree
|nd_button_Copy
|x <br />
|x
|-
|nd_button_MaskInfoEdit
Zeile 222: Zeile 297:
|x <br />
|x
|x
|-
|nd_button_MaskToSachgeb
|x <br />
|x
|-
|-
|'''Formulare'''
|nd_button_StyleToMask
|x <br />
|x
|-
|'''Ergebnisberichte'''
Zeile 235: Zeile 327:
|-
|-
| nd_selectionform_sos
| nd_legend_explanation
| x
|x <br />
| x <br />
|-
| nd_resultset_simple
|<br />
| x
| x <br />
|<br />
|-
|-
| nd_selectionform_man
| nd_resultset_man
| x
|x <br />
| x <br />
|-
| nd_resulset_tree
| x
|-
| nd_formsubmit
| x
| ?
| x
| x
|x <br />
|<br />
|-
|-
|'''Navigation'''
|'''Formulare'''
Zeile 274: Zeile 372:
|-
|-
| nd_navi_top
| nd_selectionform
| x <br />
| x
| x
| x
| x
| x
| x
| x
| x
|-
|-
|<span style="background-color: rgb(255, 255, 0);" data-mce-style="background-color: #ffff00;"> nd_navi_panel_queries</span>
| nd_selectionform_man
| x <br />
| x
| x
| x
|<br />
|<br />
| x
|-
| x
| nd_formsubmit
|<br />
|<br />
| x <br />
|x <br />
|<br />
|<br />
|-
|-
|<span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 0);" data-mce-style="color: #000000; background-color: #ffff00;">nd_navi_panel_kenn_man</span>
|'''Navigation'''
|<span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 0);" data-mce-style="color: #000000; background-color: #ffff00;">x</span>
|<span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 0);" data-mce-style="color: #000000; background-color: #ffff00;">x</span>
|-
|-
| nd_navi_bottom
| nd_navi_top
| x
| 
| x
| x
| x
| x
| x
| x
| x
| x
| x <br />
| x
| x
| x
| x
|-
|-
| nd_navi_orgunits
|nd_navi_wam <br />
ist Bestandteil von nd_navi_top
Zeile 322: Zeile 425:
|-
| nd_navi_panel
| x <br />
| x <br />
| x <br />
|x <br />
| x
| x
|x<br />
|-
|-
| nd_navi_resultset
|<span style="color: rgb(0, 0, 0);" data-mce-style="color: #000000;">nd_navi_panel_orgunits</span>
Zeile 330: Zeile 442:
|x <br />
|-
| nd_navi_bottom
| x
| x
| x
| x
| x
| x <br />
| x
| x
| x
| x
|-
| nd_navi_resultset
| x
| 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