Showing
7 changed files
with
22 additions
and
5 deletions
This diff is collapsed. Click to expand it.
... | @@ -163,6 +163,16 @@ a:active.appFormHeaderLink { | ... | @@ -163,6 +163,16 @@ a:active.appFormHeaderLink { |
163 | border-style: solid; | 163 | border-style: solid; |
164 | } | 164 | } |
165 | 165 | ||
166 | +.appIconConcept { | ||
167 | + background-image: url(images/appIcons.png) !important; | ||
168 | + background-position: 0 0 !important; | ||
169 | +} | ||
170 | + | ||
171 | +.appIconClass { | ||
172 | + background-image: url(images/appIcons.png) !important; | ||
173 | + background-position: -16px 0px !important; | ||
174 | +} | ||
175 | + | ||
166 | div.appTop {text-align:right} | 176 | div.appTop {text-align:right} |
167 | div.appTop div {display:inline; white-space:nowrap} | 177 | div.appTop div {display:inline; white-space:nowrap} |
168 | div.appTop div.appLeft {float:left} | 178 | div.appTop div.appLeft {float:left} | ... | ... |
... | @@ -117,10 +117,14 @@ function appInitAutoComplete(id, hiddenId, link) { | ... | @@ -117,10 +117,14 @@ function appInitAutoComplete(id, hiddenId, link) { |
117 | /** | 117 | /** |
118 | * Turns an input element with a given widget id into a jQuery datepicker. | 118 | * Turns an input element with a given widget id into a jQuery datepicker. |
119 | * @param id the uid of the widget | 119 | * @param id the uid of the widget |
120 | + * @param altId (optional) the id of the hidden widget | ||
120 | */ | 121 | */ |
121 | -function appInitDatePicker(id) { | 122 | +function appInitDatePicker(id, altId) { |
123 | + if(!altId) { | ||
124 | + altId = 'new-' + id; | ||
125 | + } | ||
122 | $('#dateEditor' + id).datepicker({ | 126 | $('#dateEditor' + id).datepicker({ |
123 | - altField: '#new-' + id, | 127 | + altField: '#' + altId, |
124 | altFormat: 'yy-mm-dd', | 128 | altFormat: 'yy-mm-dd', |
125 | dateFormat: 'yy-mm-dd', | 129 | dateFormat: 'yy-mm-dd', |
126 | }); | 130 | }); | ... | ... |
appschema.org/app.www/images/appIcons.png
0 → 100644

1.24 KB

104 Bytes

927 Bytes
... | @@ -77,7 +77,10 @@ log:LogBrowser | ... | @@ -77,7 +77,10 @@ log:LogBrowser |
77 | ui:childIndex 0 | 77 | ui:childIndex 0 |
78 | ] ; | 78 | ] ; |
79 | ui:childIndex 0 ; | 79 | ui:childIndex 0 ; |
80 | - ui:queryGraph <http://www.reportinghub.no/system/schema/logging> | 80 | + ui:queryGraph |
81 | + [ rdf:type ui:graphWithImports ; | ||
82 | + sp:arg1 <http://www.reportinghub.no/system/schema/logging> | ||
83 | + ] | ||
81 | ] ; | 84 | ] ; |
82 | ui:child | 85 | ui:child |
83 | [ rdf:type html:Div ; | 86 | [ rdf:type html:Div ; |
... | @@ -151,7 +154,7 @@ log:LogEventClassTreeDataProvider | ... | @@ -151,7 +154,7 @@ log:LogEventClassTreeDataProvider |
151 | [ sp:varName "label"^^xsd:string | 154 | [ sp:varName "label"^^xsd:string |
152 | ] | 155 | ] |
153 | ] [ rdf:type sp:Bind ; | 156 | ] [ rdf:type sp:Bind ; |
154 | - sp:expression "lib/app/images/owlClass.gif" ; | 157 | + sp:expression "appIconClass" ; |
155 | sp:variable | 158 | sp:variable |
156 | [ sp:varName "icon"^^xsd:string | 159 | [ sp:varName "icon"^^xsd:string |
157 | ] | 160 | ] |
... | @@ -192,7 +195,7 @@ log:LogEventClassTreeDataProvider | ... | @@ -192,7 +195,7 @@ log:LogEventClassTreeDataProvider |
192 | [ sp:varName "leaf"^^xsd:string | 195 | [ sp:varName "leaf"^^xsd:string |
193 | ] | 196 | ] |
194 | ] [ rdf:type sp:Bind ; | 197 | ] [ rdf:type sp:Bind ; |
195 | - sp:expression "lib/app/images/owlClass.gif" ; | 198 | + sp:expression "appIconClass" ; |
196 | sp:variable | 199 | sp:variable |
197 | [ sp:varName "icon"^^xsd:string | 200 | [ sp:varName "icon"^^xsd:string |
198 | ] | 201 | ] | ... | ... |
-
Please register or login to post a comment