Ignore:
Timestamp:
06/29/12 19:56:22 (13 years ago)
Author:
tjcschipper
Message:
  • Finally fixed icon offsets and added a couple new icons for use in the Question/Survey? editors,as well as general purpose ones.
  • Styled the dropdown menu in the MainMenu?
  • Fixed a weird offset bug in the IndexMenu?
  • Included another way of colouring objects by their parent classes, not applied yet (in layout.css)
  • Styled the AccordionContainer?, to be used in Survey/Question? editors.
  • Removed default colour in LineWithActionsWidgetThijs?, this would override the colours inherited from parent elements (not desirable).
  • Drank a lot of coffee.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/LineWithActionsWidgetThijs.js

    r342 r349  
    1 define(['dojo/_base/declare','dojo/_base/lang','dojo/on','dojo/dom', 'dojo/dom-class', 'dijit/form/Button',
    2     'dijit/_WidgetBase','dijit/_TemplatedMixin','dijit/_WidgetsInTemplateMixin',
     1define([
     2    'dojo/_base/declare',
     3    'dojo/_base/lang',
     4    'dojo/on',
     5    'dojo/dom',
     6    'dojo/dom-class',
     7    'dijit/form/Button',
     8    'dijit/_WidgetBase',
     9    'dijit/_TemplatedMixin',
     10    'dijit/_WidgetsInTemplateMixin',
    311    'dojo/text!./templates/LineWithActionsWidget.html'
    412    ],
    5     function(declare,lang,on,dom,domClass,Button,_WidgetBase,_TemplatedMixin,_WidgetsInTemplateMixin,templateString){
     13    function(
     14        declare,
     15        lang,
     16        on,
     17        dom,
     18        domClass,
     19        Button,
     20        _WidgetBase,
     21        _TemplatedMixin,
     22        _WidgetsInTemplateMixin,
     23        templateString) {
    624        return declare('rft.ui.LineWithActionsWidgetThijs',[_WidgetBase,_TemplatedMixin,_WidgetsInTemplateMixin],{
     25
    726            templateString: templateString,
    827            baseClass: 'rftLineWithButtons',
    928            title: '',
    10             modifiers: "blue",
     29            modifiers: "",
    1130            userObject: null,
    1231            actions: {},
     32           
    1333            postCreate: function() {
    1434                dom.setSelectable(this.domNode, false);
     
    2343            _setupActions: function() {
    2444                for (var action in this.actions) {
    25                    
     45
    2646                    if (this.actions[action].properties.blockButton == true) {  // BlockButton
    2747                        var properties = lang.mixin({
     
    5171            },
    5272            refresh: function() {
     73
    5374                this.titleNode.innerHTML = this.title;
    5475            },
     
    6687            }
    6788        });
    68     });
     89});
Note: See TracChangeset for help on using the changeset viewer.