mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 21:29:28 +00:00
Tempus: die zu verplanenden Lehreinheiten sind jetzt farblich markiert
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
box.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:menulist anonid="binding-menulist-field" style="padding: 1px" editable="true" xbl:inherits="disabled, value" label="">
|
||||
<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"/>
|
||||
</xul:menupopup>
|
||||
</xul:menulist>
|
||||
@@ -130,4 +130,17 @@
|
||||
</handler>
|
||||
</handlers>
|
||||
</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>
|
||||
|
||||
@@ -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" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row style="background-color:lightgreen; border:1px solid black">
|
||||
<hbox>
|
||||
<row>
|
||||
<hbox class="StyleBox" flex="1"
|
||||
mystyle="background-color: rdf:http://www.technikum-wien.at/lehreinheit-lvplan/rdf#lehrfach_farbe">
|
||||
<toolbarbutton
|
||||
image="../skin/images/lvaSingle.png"
|
||||
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"
|
||||
/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<hbox class="StyleBox" flex="1"
|
||||
mystyle="background-color: rdf:http://www.technikum-wien.at/lehreinheit-lvplan/rdf#lehrfach_farbe">
|
||||
<toolbarbutton
|
||||
image="../skin/images/lvaSingleDel.png"
|
||||
onclick="onLVAdoStpl(event);"
|
||||
@@ -188,6 +190,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-details-overlay.xul
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</rule>
|
||||
</template>
|
||||
</vbox>
|
||||
|
||||
Reference in New Issue
Block a user