1 changed files with 0 additions and 727 deletions
@ -1,727 +0,0 @@
@@ -1,727 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="1.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:HtmlUtils="de.superx.util.HtmlUtils"> |
||||
<xsl:import href="resultset_html.xsl" /> |
||||
<xsl:import href="interLinks_html.xsl" /> |
||||
<xsl:import href="nd_templates.xsl" /> |
||||
<xsl:import href="pageComponents_html.xsl" /> |
||||
<xsl:import href="viz_components.xsl" /> |
||||
|
||||
<!--In diesem Stylesheet können Sie individuelle templates unterbringen, |
||||
die in ihrer Präzedenz das normale Stylesheet |
||||
pageComponents_html.xsl überragt. --> |
||||
<xsl:import href="pageComponents_html_final.xsl" /> |
||||
|
||||
<xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit ="0" decimal-separator="," /> |
||||
|
||||
<!-- wichtig für DOJO!--> |
||||
<xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
||||
doctype-system="DTD/xhtml1-strict.dtd" cdata-section-elements="script style" indent="yes" encoding="UTF-8"/> |
||||
|
||||
<xsl:variable name="colon"><xsl:text>'</xsl:text></xsl:variable> |
||||
<xsl:variable name="quote"><xsl:text>"</xsl:text></xsl:variable> |
||||
|
||||
<!--<xsl:variable name="defaultRenderer" select="'echarts'" /> |
||||
<xsl:variable name="availableRendererPlot" select="'true'" /> |
||||
<xsl:variable name="availableRendererD3" select="'true'" /> |
||||
--> |
||||
<xsl:template match="/"> |
||||
<xsl:variable name="maskenname"> |
||||
<xsl:choose> |
||||
<xsl:when test="/ergebnisse/@isMakro='true'"> |
||||
<xsl:value-of select="/ergebnisse/makro/name" /> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="/ergebnisse/ergebnis/maskenname" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<html> |
||||
<head> |
||||
<xsl:call-template name="nd_htmlhead"> |
||||
<xsl:with-param name="title" select="concat('Tabelle ',$maskenname)" /> |
||||
</xsl:call-template> |
||||
|
||||
<link rel="stylesheet" href="../style/sx_tabelle.css" /> |
||||
<!--<link rel="stylesheet" href="../style/superx.css" />--> |
||||
|
||||
</head> |
||||
<xsl:call-template name="nd_htmlscript" /> |
||||
<xsl:call-template name="nd_tableJavascript" /> |
||||
<xsl:call-template name="nd_tableCSS" /> |
||||
<xsl:call-template name="vizTableCSS" /> |
||||
<xsl:call-template name="importVizViewer"></xsl:call-template> |
||||
|
||||
<body class="has-navbar-fixed-top" onload="document.getElementById('progressbar').style.display='none';initPage();"> |
||||
<!--#Template Beginn Top-Navigation--> |
||||
<!--<xsl:call-template name="viz_navi_top" />--> |
||||
<xsl:call-template name="viz_header_dashboard" /> |
||||
|
||||
|
||||
<!--#Template Ende Top-Navigation--> |
||||
|
||||
<!--#Template Beginn Navigations-Panel Auswertungen--> |
||||
<xsl:if test="/ergebnisse/@showNavigation='true' and 1=0"><!-- erstmal kein Panel,weil der Asssistent schon recht breit ist --> |
||||
<xsl:for-each select="/ergebnisse"> |
||||
<xsl:call-template name="nd_navi_panel" /> |
||||
</xsl:for-each> |
||||
</xsl:if> |
||||
<!--#Template Ende Navigations-Panel Auswertungen--> |
||||
|
||||
<!--Beginn Seitentitel, Krümelpfad, Knopfleiste, Legende, Erläuterung--> |
||||
|
||||
<xsl:call-template name="nd_progressbar" /> |
||||
|
||||
<div id="content" style="padding-left:0rem;padding-top:7.5rem;padding-bottom:0rem;"> |
||||
<!--#Template Beginn Seitentitel <p class="subtitle is-4" style="color:white;"><xsl:call-template name="nd_legendeHeaderContent" /></p>--> |
||||
<xsl:variable name="masken_tid"><xsl:value-of select="/ergebnisse/ergebnis[@ordnr='0']/maskenname/@id"/></xsl:variable> |
||||
<!--<xsl:call-template name="nd_pagetitle" > |
||||
<xsl:with-param name="title" select="$maskenname" /> |
||||
<xsl:with-param name="subtitle" /> |
||||
<xsl:with-param name="icon_classname" select="/ergebnisse/menue/eintraege/eintrag[@isMaske='true' and tid=$masken_tid]/css_class" /> |
||||
|
||||
</xsl:call-template> |
||||
--> |
||||
<xsl:call-template name="viz_dashboard_pagetitle" /> |
||||
<!--#Template Krümelpfad--> |
||||
<!--<xsl:call-template name="nd_breadcrumb" />--> |
||||
<!--#Template Ende Krümelpfad--> |
||||
<xsl:call-template name="buildVizMetadata" /> |
||||
|
||||
|
||||
<div class="columns features is-mobile is-left"> |
||||
|
||||
<div class="column is-1"> |
||||
<xsl:call-template name="leadingColumn"> |
||||
<xsl:with-param name="ergebniselement_ordnr" select="0" /> |
||||
<xsl:with-param name="colorKey" select="/ergebnisse/ergebnis[@ordnr=0]/felder/feld[@varname='Studiengang']/value" /> |
||||
<xsl:with-param name="caption" select="/ergebnisse/ergebnis[@ordnr=0]/felder/feld[@varname='Studiengang']/value_caption" /> |
||||
<xsl:with-param name="showContent" select="'true'" /> |
||||
</xsl:call-template> |
||||
</div> |
||||
<div class="column" style="padding-top:0px;margin-top:5px;"> |
||||
<xsl:variable name="selectedStudiengangName"> |
||||
<xsl:value-of select="/ergebnisse/ergebnis[@ordnr=0]/felder/feld[@varname='Studiengang']/value_caption" /> |
||||
</xsl:variable> |
||||
<div style="font-size:1.8rem;font-weight:bolder;padding-top:8px;"> |
||||
<xsl:choose> |
||||
<xsl:when test="$selectedStudiengangName='keine Einschränkung'"> |
||||
<xsl:value-of select="/ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="$selectedStudiengangName" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!--<div class="column" /> |
||||
</div>--> |
||||
<!-- nun Leerzeile: |
||||
|
||||
<div class="columns features is-mobile is-left" style="margin:0px;padding:0px"> |
||||
<div class="column is-1"> </div> |
||||
<div class="column" /> |
||||
<div class="column" /> |
||||
</div>--> |
||||
<!-- nun der Inhalt: --> |
||||
<div class="columns features is-mobile is-left"> |
||||
<div class="column is-1"> |
||||
<xsl:call-template name="leadingColumn"> |
||||
<xsl:with-param name="ergebniselement_ordnr" select="0" /> |
||||
<xsl:with-param name="colorKey" select="/ergebnisse/ergebnis[@ordnr=0]/felder/feld[@varname='Studiengang']/value" /> |
||||
<xsl:with-param name="caption" select="''" /> |
||||
<xsl:with-param name="showContent" select="'false'" /> |
||||
</xsl:call-template> |
||||
|
||||
</div> |
||||
<div class="column" style="padding-top:0px;"> |
||||
|
||||
<xsl:call-template name="viz_viewer_grid" > |
||||
<xsl:with-param name="openModalCardDetail" select="'false'" /> |
||||
</xsl:call-template> |
||||
</div> |
||||
|
||||
|
||||
<xsl:call-template name="vizSidebar" > |
||||
<xsl:with-param name="stylesheet" select="'viz_html_chart_viewer_grid_ude2.xsl'" /> |
||||
<xsl:with-param name="collapsible" select="'true'" /> |
||||
|
||||
</xsl:call-template> |
||||
</div> |
||||
|
||||
</div> |
||||
<!-- ende content--> |
||||
|
||||
|
||||
<xsl:call-template name="bottombar" /> |
||||
<xsl:comment>customfooter</xsl:comment> |
||||
|
||||
<xsl:call-template name="modalCards" /> |
||||
</body> |
||||
<!-- end body --> |
||||
</html> |
||||
</xsl:template> |
||||
<!-- end main --> |
||||
|
||||
<!--<xsl:template name="vizSidebar" > |
||||
|
||||
<style> |
||||
|
||||
.fixed-right-buttons { |
||||
position: fixed; |
||||
right: 0.1%; /* Abstand vom rechten Bildschirmrand */ |
||||
top: 70%; /* Zentriert den Button-Block vertikal */ |
||||
transform: translateY(-50%); /* Zentrierung anpassen */ |
||||
display: flex; |
||||
flex-direction: column; /* Buttons vertikal anordnen */ |
||||
gap: 10px; /* Abstand zwischen den Buttons */ |
||||
z-index: 1000; /* Sicherstellen, dass die Buttons immer sichtbar sind */ |
||||
padding: 0.7% 0% 0.7% 0%; |
||||
} |
||||
|
||||
.inside-buttons { /*20250530 BF ergänzt: wenn sidebar offen*/ |
||||
display: block; |
||||
position: fixed; |
||||
top: 70%; |
||||
z-index: 700; |
||||
left: calc(100vw - 325px - 25px);/* Viewport-Breite minus Sidebar-Breite minus Abstand */ |
||||
transform: none; /* keine vertikale Zentrierung */ |
||||
} |
||||
|
||||
/*.card-content { |
||||
border: thin solid hsl(0, 0%, 71%); |
||||
border-radius: 0.3rem !important; |
||||
padding-right:20% |
||||
}*/ |
||||
.sidebar { /*20250523 BF ergänzt*/ |
||||
position: fixed; |
||||
top: 120px; /*Abstand zur oberen Leiste*/ |
||||
padding-top:2em; |
||||
padding-left:0.5em; |
||||
padding-right: 1.5em; |
||||
right: 0em; |
||||
bottom: 0; |
||||
width: 325px; /*Breite nach Bedarf */ |
||||
background: white; |
||||
box-shadow: -2px 0 5px rgba(0,0,0,0.1); |
||||
overflow-y: auto; |
||||
z-index: 700; /*für Anzeige über Content*/ |
||||
} |
||||
.vizLabel-container { |
||||
display: flex; |
||||
background: inherit; |
||||
min-width: 7.5rem; |
||||
} |
||||
</style> |
||||
<xsl:call-template name="vizSideBarButtons" /> |
||||
|
||||
|
||||
<script> |
||||
function toggleSideBarDiv(mySidebarDivId) |
||||
{ |
||||
|
||||
var myDiv=document.getElementById(mySidebarDivId); |
||||
if(myDiv.style.display=="block") |
||||
{ |
||||
myDiv.style.display="none"; |
||||
myDiv.classList.remove("sidebar"); |
||||
} |
||||
else |
||||
{ |
||||
myDiv.style.display="block"; |
||||
myDiv.classList.add("sidebar"); |
||||
} |
||||
|
||||
} |
||||
</script> |
||||
|
||||
<div class="column"> |
||||
<div id="mySidebarMaske" class="sidebar" style="display:none;"> |
||||
<xsl:call-template name="renderTableDialogs" > |
||||
<xsl:with-param name="stylesheet" select="'viz_html_chart_viewer_grid_ude2.xsl'" /> |
||||
</xsl:call-template> |
||||
</div> |
||||
<div id="mySidebarInfo" class="sidebar" style="display:none;"> |
||||
<xsl:call-template name="erlaeuterung"> |
||||
<xsl:with-param name="ergebniselementOrdnr" select="0" /> |
||||
</xsl:call-template> |
||||
</div> |
||||
</div> |
||||
</xsl:template>--> |
||||
<xsl:template name="viz_navi_top"> |
||||
<nav class="navbar is-fixed-top" style="padding-top:5px" > |
||||
<div class="navbar-brand"> |
||||
<div class="navbar-item" > |
||||
<div class="pagetitle"> |
||||
<p class="title is-3" style="color:white;font-weight:bolder;">Management Cockpit</p> |
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
</div> |
||||
<div class="navbar-end"> |
||||
|
||||
<img src="../images/UDE-logo-claim_white_blue.svg" width="256" height="256" title="UDE. Akademisches Controlling"/> |
||||
|
||||
</div> |
||||
</nav> |
||||
</xsl:template> |
||||
|
||||
|
||||
|
||||
|
||||
<xsl:template name="viz_header_dashboard"> |
||||
<xsl:variable name="tabnr" select="/ergebnisse/ergebnis[@ordnr='0']/felder/feld[@varname='Tabnr.']/value" /> |
||||
<xsl:variable name="bookletStylesheet" select="/ergebnisse/ergebnis[@ordnr='0']/ergebniselement/sqlerg/row[col[f_name='ord']/wert=$tabnr]/col[f_name='hidden_booklet_stylesheet']/wert" /> |
||||
|
||||
<xsl:call-template name="viz_navi_top" /> |
||||
|
||||
<header style="padding-top:4rem;"> <!--20250222 style eingefügt--> |
||||
<div class="hs_header" style="padding-bottom:0px;margin-bottom:0px;"> |
||||
<div style="padding-bottom:0px;margin-bottom:0px;border-bottom:thin solid black;"> |
||||
<div class="columns" style="margin:0px; 0px; 0px; 10px;"> |
||||
<xsl:for-each select="/ergebnisse/ergebnis[@ordnr='0']/ergebniselement/sqlerg/row [col[f_name='wert']/wert !='']"> |
||||
<div class="column" style="padding-top:0px;padding-bottom:0px;"> |
||||
<span style="font-size:2rem;font-weight:bolder"><xsl:value-of select="format-number(col[f_name='wert']/wert,'###.###.###.###.###','German')"/></span><br /> |
||||
<span style="font-size:1rem;font-weight:bolder;color:#C00000;"><xsl:value-of select="col[f_name='kennz']/wert"/><xsl:text> (</xsl:text><xsl:value-of select="../../../felder/feld [@varname='Bis Semester']/value_caption"/><xsl:text>)</xsl:text></span> |
||||
</div> |
||||
</xsl:for-each> |
||||
<div class="column" style="padding-top:0px;padding-bottom:0px;"><div class="buttons-container"> |
||||
<xsl:if test="$bookletStylesheet!=''"> |
||||
|
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true;" > |
||||
<xsl:attribute name="href"><xsl:text>javascript:exportVizBooklet('application/pdf','</xsl:text><xsl:value-of select="$bookletStylesheet"/><xsl:text>');</xsl:text> |
||||
</xsl:attribute> |
||||
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat" src="../images/icons/UDE-Buttons-PDF-blue.svg" style="width:30px;height:40px" border="0" /></a> |
||||
<span class="separator"> </span> |
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true"> |
||||
<xsl:attribute name="href"><xsl:text>javascript:exportVizBooklet('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','</xsl:text><xsl:value-of select="$bookletStylesheet"/><xsl:text>');</xsl:text> |
||||
</xsl:attribute> |
||||
<img title="Ausgabe in Excel" alt="Ausgabe in Excel" src="../images/icons/UDE-Button-Excel-blue.svg" style="width:30px;height:40px" border="0" /></a> |
||||
<span class="separator"> </span> |
||||
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true"> |
||||
<xsl:attribute name="href"><xsl:text>javascript:exportVizBooklet('application/vnd.openxmlformats-officedocument.wordprocessingml.document','</xsl:text><xsl:value-of select="$bookletStylesheet"/><xsl:text>');</xsl:text> |
||||
</xsl:attribute> |
||||
<img title="Ausgabe in Word" alt="Ausgabe in Word" width="25px" height="25px" src="../images/icons/UDE-Button-Word-blue.svg" style="width:30px;height:40px" border="0" /></a> |
||||
</xsl:if><!-- wenn JR Stylesheet --> |
||||
|
||||
</div> |
||||
<!--<xsl:call-template name="weiterverarbeitungHiddenInputs" > |
||||
<xsl:with-param name="formName" select="'Weiterverarbeitung'" /> |
||||
<xsl:with-param name="ergebniselement_ordnr" select="0" /> |
||||
</xsl:call-template>--> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<style type="text/css"> |
||||
.tab-container { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
position: relative; |
||||
margin-bottom: -7px; |
||||
margin-left:5px; |
||||
} |
||||
|
||||
.tab { /* 20250711 erweitert*/ |
||||
min-width: 150px; |
||||
max-width: 300px; |
||||
width: 20vw; /* responsive Breite */ |
||||
position: relative; |
||||
display: inline-block; |
||||
} |
||||
|
||||
.tab-svg { /*20250711 eingefügt*/ |
||||
width: 100%; |
||||
height: auto; /* skalierbar ohne Höhenverzerrung */ |
||||
aspect-ratio: 200 / 30; |
||||
display: block; |
||||
} |
||||
</style> |
||||
<script language="Javascript"> |
||||
<xsl:text> |
||||
var optionalFilters = new Array(); |
||||
</xsl:text> |
||||
<xsl:for-each select="/ergebnisse/ergebnis[@ordnr='0']/ergebniselement/sqlerg/row [col[f_name='hidden_optional_filter_name']/wert !='']"> |
||||
<xsl:variable name="i" select="position()" /> |
||||
<xsl:text> |
||||
optionalFilters[</xsl:text><xsl:value-of select="$i" /><xsl:text>]='</xsl:text> |
||||
<xsl:value-of select="./col[f_name='hidden_optional_filter_name']/wert" /> |
||||
<xsl:text>'; |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
</script> |
||||
<div style="display:flex; background-color:#a6a6a6;padding-top:15px; border-bottom: solid thin; border-color:#004c93ff"> |
||||
<div class="tab-container"> |
||||
|
||||
<xsl:variable name="currentTabNr" select="/ergebnisse/ergebnis[@ordnr='0']/felder/feld[@varname='Tabnr.']/value" /> |
||||
|
||||
<xsl:for-each select="/ergebnisse/ergebnis[@ordnr='0']/ergebniselement/sqlerg/row"> |
||||
|
||||
<xsl:call-template name="tabBox"> |
||||
<xsl:with-param name="tabNr" select="col[f_name='ord']/wert"/> |
||||
<xsl:with-param name="currentTabNr" select="$currentTabNr"/> |
||||
<xsl:with-param name="textcontent" select="col[f_name='kennz']/wert"/> |
||||
<xsl:with-param name="targetMaskennummer" select="col[f_name='hidden_link_maskeninfo_id']/wert" /> |
||||
<xsl:with-param name="optional_filter_name" select="col[f_name='hidden_optional_filter_name']/wert" /> |
||||
<xsl:with-param name="optional_filter_value" select="col[f_name='hidden_optional_filter_value']/wert" /> |
||||
|
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
|
||||
</div><!--Ende grauer Hintergrund der tabs--> |
||||
|
||||
|
||||
|
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
</header> |
||||
</xsl:template> |
||||
|
||||
|
||||
<xsl:template name="buildVizMetadata"> |
||||
<xsl:variable name="vizInitialName"> |
||||
<xsl:choose> |
||||
<xsl:when test="/ergebnisse/@isMakro='true'"> |
||||
<xsl:value-of select="/ergebnisse/makro/name"/> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="/ergebnisse/ergebnis/maskenname" /> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:variable> |
||||
<!--<xsl:call-template name="navigationsmenue" />--> |
||||
<script language="Javascript"> |
||||
|
||||
<xsl:text> |
||||
|
||||
var vizInitialName='</xsl:text><xsl:value-of select="$vizInitialName"/><xsl:text>'; |
||||
|
||||
|
||||
function dataRowMetaData(tableId,nr,colname,colcaption,coltype,colfunction) |
||||
{ |
||||
this.tableId=tableId; |
||||
this.nr=nr; |
||||
this.colname=colname; |
||||
this.colcaption=colcaption; |
||||
this.coltype=coltype; |
||||
this.colfunction=colfunction; |
||||
} |
||||
|
||||
|
||||
function tableMetaData(nr,value,name,isDefault) |
||||
{ |
||||
this.value=value; |
||||
this.nr=nr; |
||||
this.name=name |
||||
this.isDefault=isDefault; |
||||
|
||||
} |
||||
|
||||
var rsTableMetaData=new Array(); |
||||
var rsColumnMetaData=new Array(); |
||||
var rs=new Array(); |
||||
|
||||
</xsl:text> |
||||
|
||||
|
||||
|
||||
</script> |
||||
|
||||
|
||||
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement"> |
||||
<xsl:call-template name="buildVizData" > |
||||
<xsl:with-param name="tableId" select="@ordnr" /> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:template> |
||||
<xsl:template name="buildVizData"> |
||||
<xsl:param name="tableId" /> |
||||
|
||||
<script language="Javascript"> |
||||
|
||||
<xsl:text> |
||||
|
||||
rsTableMetaData.push(new tableMetaData( |
||||
</xsl:text> |
||||
<xsl:value-of select="position()"/> |
||||
<xsl:text>,'</xsl:text> |
||||
<xsl:value-of select="$tableId"/> |
||||
<xsl:text>','</xsl:text> |
||||
<xsl:value-of select="concat('Tab. ',$tableId+1)"/> |
||||
<xsl:text>', |
||||
</xsl:text> |
||||
<xsl:choose> |
||||
<xsl:when test="position()=1"> |
||||
<xsl:text>true</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:text>false</xsl:text> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
<xsl:text> |
||||
)); |
||||
rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]=new Array(); |
||||
|
||||
//var myChartModel=new chartModel(1,"","",rsTableMetaData); |
||||
|
||||
function dataRow_</xsl:text><xsl:value-of select="$tableId"/><xsl:text>(rownr</xsl:text> |
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:text>,</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template> |
||||
</xsl:for-each> |
||||
<xsl:text> |
||||
) |
||||
{ |
||||
this.rownr=rownr; |
||||
</xsl:text> |
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:text>this.</xsl:text><xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template><xsl:text>=</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template><xsl:text>; |
||||
</xsl:text> |
||||
</xsl:for-each><xsl:text> |
||||
} |
||||
|
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]=new Array(); |
||||
|
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRowMetaData('</xsl:text> |
||||
<xsl:value-of select="$tableId"/><xsl:text>',</xsl:text> |
||||
<xsl:value-of select="0"/> |
||||
<xsl:text>,'rownr','Zeilennr.',0,4)); |
||||
</xsl:text> |
||||
|
||||
|
||||
<xsl:for-each select="sqlerg/complete_headers/header"> |
||||
<xsl:variable name="rownr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:text> |
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRowMetaData('</xsl:text> |
||||
<xsl:value-of select="$tableId"/><xsl:text>',</xsl:text> |
||||
<xsl:value-of select="$rownr"/> |
||||
<xsl:text>,'</xsl:text> |
||||
<xsl:call-template name="getColumnNameJS"> |
||||
<xsl:with-param name="columnNameFromDB" select="f_name"/> |
||||
</xsl:call-template> |
||||
<xsl:text>','</xsl:text> |
||||
<xsl:call-template name="remove_linebreaksAndQuot"> |
||||
<xsl:with-param name="volltext" select="wert" /> |
||||
</xsl:call-template> |
||||
<xsl:text>',0,null));</xsl:text> <!--coltype noch unbekannt, colfunction unnötig--> |
||||
</xsl:for-each> |
||||
|
||||
|
||||
<xsl:for-each select="sqlerg/row"> |
||||
<xsl:variable name="rownr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:if test="$rownr=1"> |
||||
<!-- first metadata --> |
||||
<xsl:for-each select="col"> |
||||
<xsl:variable name="colnr"> |
||||
<xsl:value-of select="position()"/> |
||||
</xsl:variable> |
||||
<xsl:text> |
||||
rsColumnMetaData[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>][</xsl:text><xsl:value-of select="number($colnr)"/><xsl:text>].coltype=</xsl:text><xsl:value-of select="@typ"/> |
||||
<xsl:text>; |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
|
||||
</xsl:if> |
||||
<!--now resultset--> |
||||
<xsl:text> |
||||
//rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>]= new Array(); |
||||
rs[</xsl:text><xsl:value-of select="$tableId"/><xsl:text>].push(new dataRow_</xsl:text><xsl:value-of select="$tableId"/><xsl:text>(</xsl:text><xsl:value-of select="$rownr"/> |
||||
<xsl:for-each select="col"> |
||||
<xsl:text>,</xsl:text> |
||||
<xsl:choose> |
||||
<xsl:when test="@typ='1'"><xsl:text>'</xsl:text> |
||||
<xsl:call-template name="remove_linebreaksAndQuot"> |
||||
<xsl:with-param name="volltext" select="wert" /> |
||||
</xsl:call-template> |
||||
<xsl:text>'</xsl:text></xsl:when> |
||||
<!--todo:Typ Datum --> |
||||
<xsl:when test="string-length(wert)=0"><xsl:text>null</xsl:text> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<xsl:value-of select="wert"/> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</xsl:for-each> |
||||
<xsl:text>)); |
||||
</xsl:text> |
||||
</xsl:for-each> |
||||
|
||||
|
||||
</script> |
||||
</xsl:template> |
||||
<xsl:template name="nd_legendeHeaderContent"> |
||||
<xsl:param name="ergebniselement_ordnr" select="0" /> |
||||
|
||||
<xsl:for-each select="/ergebnisse/ergebnis[@ordnr=$ergebniselement_ordnr]/felder/feld[@varname='Bis Semester' or @varname='Studiengang']"> |
||||
<xsl:if test="(value !='' or sicht/@isFirstInGroup='false' or @isstandtoday='false') and @varname != 'sort' and @varname != 'maxoffset' and value_caption != ''"> |
||||
|
||||
|
||||
<xsl:if test="string-length(value_caption) < 50"> |
||||
<xsl:value-of select="value_caption" /><![CDATA[]]> |
||||
</xsl:if> |
||||
<xsl:if test="string-length(value_caption) > 49"> |
||||
<![CDATA[]]><xsl:value-of select="substring(value_caption,0,50)" /><![CDATA[]]>... |
||||
</xsl:if> |
||||
|
||||
</xsl:if> |
||||
<span class="separator"> </span> |
||||
</xsl:for-each> |
||||
|
||||
|
||||
</xsl:template> |
||||
<xsl:template name="tabBox"> |
||||
<xsl:param name="tabNr" select="'1'"/> |
||||
<xsl:param name="currentTabNr" select="'1'"/> |
||||
<xsl:param name="textcontent" /> |
||||
<xsl:param name="targetMaskennummer" /> |
||||
<xsl:param name="optional_filter_name" select="''" /> |
||||
<xsl:param name="optional_filter_value" select="''" /> |
||||
<!-- Created with Inkscape (http://www.inkscape.org/) --> |
||||
<div class="tab" style="{concat('margin-left: -5px; z-index: ',(120 -($tabNr * 10 )),' ;')}"> |
||||
|
||||
<xsl:choose> |
||||
<xsl:when test="$currentTabNr=$tabNr"> |
||||
<xsl:call-template name="tabBoxSvg"> |
||||
<xsl:with-param name="textcontent" select="$textcontent"/> |
||||
<xsl:with-param name="bgColor" select="'white'" /> |
||||
</xsl:call-template> |
||||
</xsl:when> |
||||
<xsl:otherwise> |
||||
<a onclick="{concat('openDashboardTab(',$tabNr,',',$targetMaskennummer,',',$quote,$optional_filter_name,$quote,',',$quote,$optional_filter_value,$quote,',optionalFilters);')}"> |
||||
<xsl:call-template name="tabBoxSvg"> |
||||
<xsl:with-param name="textcontent" select="$textcontent"/> |
||||
<xsl:with-param name="bgColor" select="'#ddefff'" /> |
||||
</xsl:call-template> |
||||
</a> |
||||
</xsl:otherwise> |
||||
</xsl:choose> |
||||
</div> |
||||
</xsl:template> |
||||
<xsl:template name="tabBoxSvg"> |
||||
<xsl:param name="textcontent" /> |
||||
<xsl:param name="bgColor" select="'#ddefff'" /> |
||||
<!-- Created with Inkscape (http://www.inkscape.org/) --> |
||||
<!--<svg |
||||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:cc="http://creativecommons.org/ns#" |
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
||||
xmlns:svg="http://www.w3.org/2000/svg" |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
id="svg4702" |
||||
version="1.1" |
||||
viewBox="0 0 199.78899 29.348383" |
||||
height="auto" |
||||
width="100%"> |
||||
<defs |
||||
id="defs4696" /> |
||||
<metadata |
||||
id="metadata4699"> |
||||
<rdf:RDF> |
||||
<cc:Work |
||||
rdf:about=""> |
||||
<dc:format>image/svg+xml</dc:format> |
||||
<dc:type |
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
||||
<dc:title></dc:title> |
||||
</cc:Work> |
||||
</rdf:RDF> |
||||
</metadata> |
||||
<g |
||||
transform="translate(186.59954,-140.52949)" |
||||
id="layer1"> |
||||
<g |
||||
id="g850"> |
||||
<path |
||||
style="{concat('opacity:1;fill:',$bgColor,';fill-opacity:1;stroke:#004c93;stroke-width:1.06922317;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1')}" /> |
||||
d="m -186.06493,141.0641 194.0648263,0.19891 4.5245017,3.58285 0.130433,24.11167 -198.719761,0.38573 z" |
||||
id="rect822" /> |
||||
<text |
||||
xml:space="preserve" |
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.59358692px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.44969806" |
||||
x="-98.542191" |
||||
y="140.31142" |
||||
id="text836" |
||||
transform="scale(0.88396681,1.1312642)"><tspan |
||||
id="tspan834" |
||||
x="-98.542191" |
||||
y="140.31142" |
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.25972748px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';stroke-width:0.44969806"> |
||||
<xsl:value-of select="$textcontent" /> |
||||
</tspan> |
||||
</text> |
||||
</g> |
||||
</g> |
||||
</svg>--> |
||||
<svg |
||||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
||||
xmlns:cc="http://creativecommons.org/ns#" |
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
||||
xmlns:svg="http://www.w3.org/2000/svg" |
||||
xmlns="http://www.w3.org/2000/svg" |
||||
id="svg4702" |
||||
version="1.1" |
||||
viewBox="0 0 199.78899 29.348383" |
||||
height="auto" |
||||
width="100%"> |
||||
<defs |
||||
id="defs4696" /> |
||||
<metadata |
||||
id="metadata4699"> |
||||
<rdf:RDF> |
||||
<cc:Work |
||||
rdf:about=""> |
||||
<dc:format>image/svg+xml</dc:format> |
||||
<dc:type |
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
||||
<dc:title></dc:title> |
||||
</cc:Work> |
||||
</rdf:RDF> |
||||
</metadata> |
||||
<g |
||||
transform="translate(186.59954,-140.52949)" |
||||
id="layer1"> |
||||
<g |
||||
id="g850"> |
||||
<path |
||||
style="{concat('opacity:1;fill:',$bgColor,';fill-opacity:1;stroke:#004c93;stroke-width:1.06922317;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1')}" |
||||
d="m -186.06493,141.0641 194.0648263,0.19891 4.5245017,3.58285 0.130433,24.11167 -198.719761,0.38573 z" |
||||
id="rect822" /> |
||||
<text |
||||
xml:space="preserve" |
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.59358692px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.44969806" |
||||
x="-98.542191" |
||||
y="140.31142" |
||||
id="text836" |
||||
transform="scale(0.88396681,1.1312642)"><tspan |
||||
id="tspan834" |
||||
x="-98.542191" |
||||
y="140.31142" |
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:10.25972748px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';stroke-width:0.44969806"> |
||||
<xsl:value-of select="$textcontent" /></tspan> |
||||
</text> |
||||
</g> |
||||
</g> |
||||
</svg> |
||||
|
||||
|
||||
</xsl:template> |
||||
<xsl:template name="viz_dashboard_pagetitle" > |
||||
<!--empty for UDE--> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue