Changeset 1220


Ignore:
Timestamp:
04/17/11 18:53:01 (13 years ago)
Author:
vronk
Message:

small optical changes

Location:
MDService2/trunk/MDService2/WebContent
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/WebContent/scripts/mdservice_model.js

    r1219 r1220  
    11 /**
    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.
    44 *
    55 * @author
     
    1616//var collections  = [];
    1717
     18/**
     19Creates a new Query
     20@class Represents a Query.
     21*/
    1822function Query(collection, columns, query , squery) {
    1923        this.collection = collection;   // []
     
    365369        $(x).children().children(".query").text(this.getcollectiontext("name") + ":" + Query.queryliststring(this.squery, this.query) + ", repository:" + this.repository.toString());
    366370        */
     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") : ""; 
    367373        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'>" +
    368374        "<span class='cmd cmd_get'></span><span class='cmd cmd_del'> </span>" +
    369         "<span class='query_id'>" +     this.listid + "</span>: <span class='query'>" +
    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>" +
    371377                        "</div>" +
    372378                        "<div class='result ui-widget-content ui-corner-bottom'></div>";
     
    502508var queryset_container = $("#querylist");
    503509
     510/**
     511A singleton-object holding all queries.
     512@field 
     513*/
    504514var queryset = { queries: [],
    505515        container: '#querylist',
  • MDService2/trunk/MDService2/WebContent/scripts/mdservice_widgets.js

    r1219 r1220  
    22/**
    33 * @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>
    810 * @author
    911 * @version
    1012 */
    1113 
     14/**
     15 *
     16 * @constructor
     17 */
    1218function NotifyMessage(dt, msg){
    1319        this.dt = dt;
  • MDService2/trunk/MDService2/WebContent/style/cmds-ui.css

    r1179 r1220  
    2222.hilight { font-size: 1.1em; font-weight: bold}
    2323/* 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; }
     25h3 { font-weight: bold; font-size:1.2em; margin:4px; padding: 4px;} */
    2626
    2727/* ************* */
     
    6767
    6868.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; }
    7172.cmds-ui-block { margin: 2px; text-align: left; overflow: auto;}
    7273
     
    9293
    9394
    94 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button
     95input, h.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button
    9596        { border: 1px solid #A6C9E2; margin: 1px; }
    9697
Note: See TracChangeset for help on using the changeset viewer.