Changeset 1220 for MDService2/trunk
- Timestamp:
- 04/17/11 18:53:01 (13 years ago)
- Location:
- MDService2/trunk/MDService2/WebContent
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/WebContent/scripts/mdservice_model.js
r1219 r1220 1 1 /** 2 * @fileOverview This file provide basic query client-side modell. Query constuction,3 * manipulating and queryset modell functionality.2 * @fileOverview This file provides basic client-side model of the Query-object. <code>Query</code> construction, 3 * manipulating and <code>queryset</code> model functionality. 4 4 * 5 5 * @author … … 16 16 //var collections = []; 17 17 18 /** 19 Creates a new Query 20 @class Represents a Query. 21 */ 18 22 function Query(collection, columns, query , squery) { 19 23 this.collection = collection; // [] … … 365 369 $(x).children().children(".query").text(this.getcollectiontext("name") + ":" + Query.queryliststring(this.squery, this.query) + ", repository:" + this.repository.toString()); 366 370 */ 371 // FIXME: this is not nice, there should be a function providing the formatted string of the query. 372 var coll = (this.getcollectiontext("name") != "" ) ? " in " + this.getcollectiontext("name") : ""; 367 373 var x = "<div id='" + this.listid + "' class='query_wrapper ui-widget' name='query' ><div class='query_header ui-widget-header ui-state-default ui-corner-top'>" + 368 374 "<span class='cmd cmd_get'></span><span class='cmd cmd_del'> </span>" + 369 "<span class='query_id'>" + 370 this.getcollectiontext("name") + ":" + Query.queryliststring(this.squery, this.query) + ", repository:" + this.repository.toString() + "</span>" +375 "<span class='query_id'>" + this.listid + "</span>: <span class='query'>" + 376 Query.queryliststring(this.squery, this.query) + coll + " @" + this.repository.toString() + "</span>" + 371 377 "</div>" + 372 378 "<div class='result ui-widget-content ui-corner-bottom'></div>"; … … 502 508 var queryset_container = $("#querylist"); 503 509 510 /** 511 A singleton-object holding all queries. 512 @field 513 */ 504 514 var queryset = { queries: [], 505 515 container: '#querylist', -
MDService2/trunk/MDService2/WebContent/scripts/mdservice_widgets.js
r1219 r1220 2 2 /** 3 3 * @fileOverview The file builds important widgets used in app. 4 * Actually widqets contained: 5 * - notifyMessage model and bulding of set of notifyMessages 6 * - listWidget - the compact widget for creation list of elements, possible add, remove elements, addition through html - input 7 * possible to use autocomplete 4 * Following widqets are defined: 5 * <dl> 6 * <dt>notifyMessage</dt><dd>model and bulding of set of notifyMessages</dd> 7 * <dt>listWidget</dt><dd>the compact widget for creation list of elements, possible add, remove elements, addition through html - input 8 * possible to use autocomplete</dd> 9 * </dl> 8 10 * @author 9 11 * @version 10 12 */ 11 13 14 /** 15 * 16 * @constructor 17 */ 12 18 function NotifyMessage(dt, msg){ 13 19 this.dt = dt; -
MDService2/trunk/MDService2/WebContent/style/cmds-ui.css
r1179 r1220 22 22 .hilight { font-size: 1.1em; font-weight: bold} 23 23 /* this is temporary for MdREcordView-Titlebar; -> move to ui-box-header */ 24 .box_heading { background-color: #014172; color: #FAFAFF; font-weight: bold; padding: 2px; } 25 24 /* obsolete .box_heading { background-color: #014172; color: #FAFAFF; font-weight: bold; padding: 2px; } 25 h3 { font-weight: bold; font-size:1.2em; margin:4px; padding: 4px;} */ 26 26 27 27 /* ************* */ … … 67 67 68 68 .ui-widget-header { padding-left: 6px; } 69 .ui-widget-content { padding: 6px; } 70 69 .ui-widget-content { padding: 6px; } 70 .ui-dialog {padding: 0px;} 71 .ui-dialog .ui-dialog-titlebar { padding: 0 0 0 6px; } 71 72 .cmds-ui-block { margin: 2px; text-align: left; overflow: auto;} 72 73 … … 92 93 93 94 94 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button95 input, h.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button 95 96 { border: 1px solid #A6C9E2; margin: 1px; } 96 97
Note: See TracChangeset
for help on using the changeset viewer.