mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Tempus: die zu verplanenden Lehreinheiten sind jetzt farblich markiert
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
box.Datum
|
box.Datum
|
||||||
{
|
{
|
||||||
-moz-binding: url('bindings.xml.php#Datum');
|
-moz-binding: url('bindings.xml.php#Datum');
|
||||||
|
}
|
||||||
|
|
||||||
|
hbox.StyleBox
|
||||||
|
{
|
||||||
|
-moz-binding: url('bindings.xml.php#StyleBox');
|
||||||
|
}
|
||||||
|
vbox.StyleBox
|
||||||
|
{
|
||||||
|
-moz-binding: url('bindings.xml.php#StyleBox');
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<xul:spacer flex="1"/>
|
<xul:spacer flex="1"/>
|
||||||
<xul:menulist anonid="binding-menulist-field" style="padding: 1px" editable="true" xbl:inherits="disabled, value" label="">
|
<xul:menulist anonid="binding-menulist-field" style="padding: 1px" editable="true" xbl:inherits="disabled, value" label="">
|
||||||
<xul:menupopup>
|
<xul:menupopup>
|
||||||
<xul:datepicker anonid="binding-datepicker-field"
|
<xul:my-datepicker anonid="binding-datepicker-field"
|
||||||
onselect="parentNode.parentNode.parentNode.parentNode.value=this.selection.currentDay+'.'+(parseInt(this.selection.currentMonth)+1)+'.'+this.selection.currentYear"/>
|
onselect="parentNode.parentNode.parentNode.parentNode.value=this.selection.currentDay+'.'+(parseInt(this.selection.currentMonth)+1)+'.'+this.selection.currentYear"/>
|
||||||
</xul:menupopup>
|
</xul:menupopup>
|
||||||
</xul:menulist>
|
</xul:menulist>
|
||||||
@@ -130,4 +130,17 @@
|
|||||||
</handler>
|
</handler>
|
||||||
</handlers>
|
</handlers>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Binding StyleBox
|
||||||
|
in einem Template kann der Style nicht aus einem RDF befuellt werden.
|
||||||
|
An diese Box kann ein Attribute mit Styles aus RDF uebergeben werden
|
||||||
|
-->
|
||||||
|
<binding id="StyleBox">
|
||||||
|
<content>
|
||||||
|
<xul:box xbl:inherits="label, tooltiptext, tooltip, value, style=mystyle, flex">
|
||||||
|
<children/>
|
||||||
|
</xul:box>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
</bindings>
|
</bindings>
|
||||||
|
|||||||
@@ -123,8 +123,9 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-details-overlay.xul
|
|||||||
<column style="background-color:lightblue; border:1px solid black" />
|
<column style="background-color:lightblue; border:1px solid black" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row style="background-color:lightgreen; border:1px solid black">
|
<row>
|
||||||
<hbox>
|
<hbox class="StyleBox" flex="1"
|
||||||
|
mystyle="background-color: rdf:http://www.technikum-wien.at/lehreinheit-lvplan/rdf#lehrfach_farbe">
|
||||||
<toolbarbutton
|
<toolbarbutton
|
||||||
image="../skin/images/lvaSingle.png"
|
image="../skin/images/lvaSingle.png"
|
||||||
ondraggesture="nsDragAndDrop.startDrag(event,lvaObserver);"
|
ondraggesture="nsDragAndDrop.startDrag(event,lvaObserver);"
|
||||||
@@ -142,7 +143,8 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-details-overlay.xul
|
|||||||
tooltiptext="Vorschlag/Setzen MultiWeek"
|
tooltiptext="Vorschlag/Setzen MultiWeek"
|
||||||
/>
|
/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox class="StyleBox" flex="1"
|
||||||
|
mystyle="background-color: rdf:http://www.technikum-wien.at/lehreinheit-lvplan/rdf#lehrfach_farbe">
|
||||||
<toolbarbutton
|
<toolbarbutton
|
||||||
image="../skin/images/lvaSingleDel.png"
|
image="../skin/images/lvaSingleDel.png"
|
||||||
onclick="onLVAdoStpl(event);"
|
onclick="onLVAdoStpl(event);"
|
||||||
@@ -188,6 +190,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-details-overlay.xul
|
|||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
</rule>
|
</rule>
|
||||||
</template>
|
</template>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|||||||
Reference in New Issue
Block a user