From 75b2c8030a49876999e8424bdf82c5e5690c05e3 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Fri, 1 Jul 2011 10:08:38 +0200 Subject: [PATCH] Replaced tabs for 4-spaces in more files (.css and .js). --- .../technical/guia-desenvolvemento/lsr.css | 32 ++++---- doc/src/training-exercises/es/lsr.css | 32 ++++---- doc/src/training-exercises/gl/lsr.css | 32 ++++---- doc/src/training/es/lsr.css | 32 ++++---- doc/src/training/gl/lsr.css | 32 ++++---- doc/src/user/en/lsr.css | 32 ++++---- doc/src/user/es/lsr.css | 32 ++++---- doc/src/user/gl/lsr.css | 32 ++++---- .../main/resources/web/js/common/Common.js | 60 +++++++-------- .../resources/web/js/ganttz/DependencyList.js | 20 ++--- .../main/resources/web/js/ganttz/TaskList.js | 44 +++++------ .../main/resources/web/js/ganttz/TaskRow.js | 24 +++--- .../js/ganttz/mold/dependency-component.js | 16 ++-- .../web/js/ganttz/mold/dependency-list.js | 18 ++--- .../resources/web/js/ganttz/mold/milestone.js | 20 ++--- .../web/js/ganttz/mold/task-container.js | 54 +++++++------- .../resources/web/js/ganttz/mold/task-row.js | 12 +-- .../resourceload/ResourceLoadComponent.js | 8 +- .../resourceload/mold/resource-load-list.js | 10 +-- .../js/limitingresources/QueueComponent.js | 6 +- .../limitingresources/QueueListComponent.js | 14 ++-- .../mold/limiting-dependency-component.js | 10 +-- .../mold/limiting-dependency-list.js | 18 ++--- .../limitingresources/mold/queue-component.js | 20 ++--- .../mold/queue-list-component.js | 14 ++-- .../src/main/webapp/common/css/login.css | 74 +++++++++---------- .../main/webapp/common/css/navalplan_zk.css | 44 +++++------ .../src/main/webapp/planner/css/ganttzk.css | 10 +-- .../webapp/workreports/css/workreports.css | 2 +- 29 files changed, 377 insertions(+), 377 deletions(-) diff --git a/doc/src/technical/guia-desenvolvemento/lsr.css b/doc/src/technical/guia-desenvolvemento/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/technical/guia-desenvolvemento/lsr.css +++ b/doc/src/technical/guia-desenvolvemento/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/training-exercises/es/lsr.css b/doc/src/training-exercises/es/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/training-exercises/es/lsr.css +++ b/doc/src/training-exercises/es/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/training-exercises/gl/lsr.css b/doc/src/training-exercises/gl/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/training-exercises/gl/lsr.css +++ b/doc/src/training-exercises/gl/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/training/es/lsr.css b/doc/src/training/es/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/training/es/lsr.css +++ b/doc/src/training/es/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/training/gl/lsr.css b/doc/src/training/gl/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/training/gl/lsr.css +++ b/doc/src/training/gl/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/user/en/lsr.css b/doc/src/user/en/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/user/en/lsr.css +++ b/doc/src/user/en/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/user/es/lsr.css b/doc/src/user/es/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/user/es/lsr.css +++ b/doc/src/user/es/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/doc/src/user/gl/lsr.css b/doc/src/user/gl/lsr.css index 25f20d1b3..81e4c1669 100644 --- a/doc/src/user/gl/lsr.css +++ b/doc/src/user/gl/lsr.css @@ -220,32 +220,32 @@ p.sidebar-subtitle { } div.figure { - text-align: center; + text-align: center; } div.figure img { - background: #f8f8f8; - padding: 0.25em; - border: 1px solid #888; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + background: #f8f8f8; + padding: 0.25em; + border: 1px solid #888; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.figure img:hover { - background: #e0e0e0; + background: #e0e0e0; } div.figure p.caption { - text-align: center; - margin-top: 0.1em; - font-style: italic; - color: #444; + text-align: center; + margin-top: 0.1em; + font-style: italic; + color: #444; } pre.literal-block { - padding: 0.15em; - background: #f8f8f8; - border: 1px solid #dfdfdf; - border-left: 0.25em solid #dfdfdf + padding: 0.15em; + background: #f8f8f8; + border: 1px solid #dfdfdf; + border-left: 0.25em solid #dfdfdf } diff --git a/ganttzk/src/main/resources/web/js/common/Common.js b/ganttzk/src/main/resources/web/js/common/Common.js index 052b9a8b2..1aaec6a51 100644 --- a/ganttzk/src/main/resources/web/js/common/Common.js +++ b/ganttzk/src/main/resources/web/js/common/Common.js @@ -2,38 +2,38 @@ zk.$package("common"); common.Common = zk.$extends(zk.Widget,{},{ - webAppContextPath : function(){ return window.location.pathname.split( '/' )[1];}, + webAppContextPath : function(){ return window.location.pathname.split( '/' )[1];}, - throttle: function(timeoutTimeMillis, functionToExecute) { - var lastTimeCalled = null; - var cachedResult = null; - return function() { - var now = Date.now(); - if (lastTimeCalled !== null && ((now - lastTimeCalled) < timeoutTimeMillis)) { - return cachedResult; - } - lastTimeCalled = now; - cachedResult = functionToExecute.apply(null, arguments); - return cachedResult; - }; - }, - /** - * It can be called in the constructor of a widget. - * It is required that the widget has the method _divsToRestoreDayInto that returns - * the divs which their scroll must be changed back to the previous day. - */ + throttle: function(timeoutTimeMillis, functionToExecute) { + var lastTimeCalled = null; + var cachedResult = null; + return function() { + var now = Date.now(); + if (lastTimeCalled !== null && ((now - lastTimeCalled) < timeoutTimeMillis)) { + return cachedResult; + } + lastTimeCalled = now; + cachedResult = functionToExecute.apply(null, arguments); + return cachedResult; + }; + }, + /** + * It can be called in the constructor of a widget. + * It is required that the widget has the method _divsToRestoreDayInto that returns + * the divs which their scroll must be changed back to the previous day. + */ // TODO: Refactoring should be done, not so many methods should be needed to synchronize the day. - mixInDayPositionRestorer: function(widget) { - if (! ('_divsToRestoreDayInto' in widget)) { - throw '_divsToRestoreDayInto function must be present in widget'; - } - var scrollDay = 0; - /** - * Scrolls horizontally the ganttpanel when the zoom has resized the component - * width. - */ - widget.scroll_horizontal = function(daysDisplacement) { + mixInDayPositionRestorer: function(widget) { + if (! ('_divsToRestoreDayInto' in widget)) { + throw '_divsToRestoreDayInto function must be present in widget'; + } + var scrollDay = 0; + /** + * Scrolls horizontally the ganttpanel when the zoom has resized the component + * width. + */ + widget.scroll_horizontal = function(daysDisplacement) { scrollDay = daysDisplacement; }; widget.update_day_scroll = function(previousPixelPerDay) { @@ -68,5 +68,5 @@ common.Common = zk.$extends(zk.Widget,{},{ } } }; - } + } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js b/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js index 6ef8f3403..9b0591a33 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js +++ b/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js @@ -1,15 +1,15 @@ zk.$package("ganttz"); ganttz.DependencyList = zk.$extends(zk.Widget, { - $init : function(){ - this.$supers('$init', arguments); - this.$class.setInstance(this); - } + $init : function(){ + this.$supers('$init', arguments); + this.$class.setInstance(this); + } },{ - setInstance : function(instance){ - this._instance = instance; - }, - getInstance : function(){ - return this._instance; - } + setInstance : function(instance){ + this._instance = instance; + }, + getInstance : function(){ + return this._instance; + } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskList.js b/ganttzk/src/main/resources/web/js/ganttz/TaskList.js index 6c6af54a6..df04cacba 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskList.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskList.js @@ -1,31 +1,31 @@ zk.$package("ganttz"); ganttz.TaskList = zk.$extends(zk.Widget, { - $init : function(){ - this.$supers('$init', arguments); - this.$class.setInstance(this); - }, - showAllTaskLabels : function(){ - for(var child = this.firstChild; child; child = child.nextSibling) + $init : function(){ + this.$supers('$init', arguments); + this.$class.setInstance(this); + }, + showAllTaskLabels : function(){ + for(var child = this.firstChild; child; child = child.nextSibling) child.showTaskLabel(); - }, - hideAllTaskLabels : function(){ - for(var child = this.firstChild; child; child = child.nextSibling) + }, + hideAllTaskLabels : function(){ + for(var child = this.firstChild; child; child = child.nextSibling) child.hideTaskLabel(); - }, - showResourceTooltips : function(){ - for(var child = this.firstChild; child; child = child.nextSibling) + }, + showResourceTooltips : function(){ + for(var child = this.firstChild; child; child = child.nextSibling) child.showResourceTooltip(); - }, - hideResourceTooltips : function(){ - for(var child = this.firstChild; child; child = child.nextSibling) + }, + hideResourceTooltips : function(){ + for(var child = this.firstChild; child; child = child.nextSibling) child.hideResourceTooltip(); - } + } },{//Class stuff - setInstance : function(instance){ - this.instance = instance; - }, - getInstance : function(){ - return this.instance; - } + setInstance : function(instance){ + this.instance = instance; + }, + getInstance : function(){ + return this.instance; + } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js b/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js index 3cf809c59..f1df5a7dc 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js @@ -1,16 +1,16 @@ zk.$package("ganttz"); ganttz.TaskRow = zk.$extends(zk.Widget, { - hideTaskLabel : function(){ - this.firstChild.hideTaskLabel(); - }, - showTaskLabel : function(){ - this.firstChild.showTaskLabel(); - }, - hideResourceTooltip : function(){ - this.firstChild.hideResourceTooltip(); - }, - showResourceTooltip : function(){ - this.firstChild.showResourceTooltip(); - } + hideTaskLabel : function(){ + this.firstChild.hideTaskLabel(); + }, + showTaskLabel : function(){ + this.firstChild.showTaskLabel(); + }, + hideResourceTooltip : function(){ + this.firstChild.hideResourceTooltip(); + }, + showResourceTooltip : function(){ + this.firstChild.showResourceTooltip(); + } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-component.js b/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-component.js index 1f1541729..ea5643472 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-component.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-component.js @@ -1,10 +1,10 @@ function(out){ - out.push('
'); - out.push('
'); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-list.js b/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-list.js index 763b9b9ec..e63ab3073 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-list.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/dependency-list.js @@ -1,11 +1,11 @@ function(out){ - out.push('
'); - out.push('
'); - for (var w = this.firstChild; w; w = w.nextSibling) - w.redraw(out); - out.push('
'); - out.push('
'); + out.push('
'); + out.push('
'); + for (var w = this.firstChild; w; w = w.nextSibling) + w.redraw(out); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/milestone.js b/ganttzk/src/main/resources/web/js/ganttz/mold/milestone.js index 985b475a8..b69084a23 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/milestone.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/milestone.js @@ -1,12 +1,12 @@ function(out){ - out.push('
'); - out.push('
'); - out.push('
'); - out.push('
'); - out.push('
'); + out.push('
'); + out.push('
'); + out.push('
'); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/task-container.js b/ganttzk/src/main/resources/web/js/ganttz/mold/task-container.js index a8786ffff..b45a7a6a4 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/task-container.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/task-container.js @@ -1,35 +1,35 @@ function(out){ - out.push('
'); + out.push('
'); - out.push('
', - this.getLabelsText(), - '
'); + out.push('
', + this.getLabelsText(), + '
'); - out.push('
', - '
', - this.getResourcesText(), - '
', - '
'); + out.push('
', + '
', + this.getResourcesText(), + '
', + '
'); - out.push('
', - '
', - '
', - '
'); + out.push('
', + '
', + '
', + '
'); - out.push('
', - '
', - '
', - '
'); + out.push('
', + '
', + '
', + '
'); - out.push('
', - this.getTooltipText(), - '
'); + out.push('
', + this.getTooltipText(), + '
'); - out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/task-row.js b/ganttzk/src/main/resources/web/js/ganttz/mold/task-row.js index 786f1d613..5c2615773 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/task-row.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/task-row.js @@ -1,8 +1,8 @@ function(out){ - out.push('
'); - for(var w = this.firstChild; w; w = w.nextSibling) - w.redraw(out); - out.push('
'); - out.push('
'); - out.push('
'); + out.push('
'); + for(var w = this.firstChild; w; w = w.nextSibling) + w.redraw(out); + out.push('
'); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/resourceload/ResourceLoadComponent.js b/ganttzk/src/main/resources/web/js/ganttz/resourceload/ResourceLoadComponent.js index eb83000be..5b120fa64 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/resourceload/ResourceLoadComponent.js +++ b/ganttzk/src/main/resources/web/js/ganttz/resourceload/ResourceLoadComponent.js @@ -1,8 +1,8 @@ zk.$package("ganttz.resourceload"); ganttz.resourceload.ResourceLoadComponent = zk.$extends(zk.Widget,{ - $define : { - resourceLoadName : null, - resourceLoadType : null - } + $define : { + resourceLoadName : null, + resourceLoadType : null + } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/resourceload/mold/resource-load-list.js b/ganttzk/src/main/resources/web/js/ganttz/resourceload/mold/resource-load-list.js index 1df2acd11..da8250f3b 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/resourceload/mold/resource-load-list.js +++ b/ganttzk/src/main/resources/web/js/ganttz/resourceload/mold/resource-load-list.js @@ -1,8 +1,8 @@ function(out){ - out.push('
'); - for(var w = this.firstChild; w; w = w.nextSibling) + out.push('
'); + for(var w = this.firstChild; w; w = w.nextSibling) w.redraw(out); - out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueComponent.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueComponent.js index 1a0ce53c3..16b1c68a7 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueComponent.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueComponent.js @@ -1,7 +1,7 @@ zk.$package("limitingresources"); limitingresources.QueueComponent = zk.$extends(zk.Widget,{ - $define : { - resourceName : null - } + $define : { + resourceName : null + } }) \ No newline at end of file diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js index ef847d26c..6f00f57c3 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/QueueListComponent.js @@ -15,13 +15,13 @@ limitingresources.QueueListComponent = zk.$extends(zk.Widget,{ var first = this.$n(); return [first, first.parentNode, first.parentNode.parentNode]; }, - adjustResourceLoadRows : function() { - var width = jq('.rightpanellayout #timetracker .z-grid-header :first').innerWidth(); - jq('.row_resourceload').each(function(index, element){ - jq(element).width(width); - }); - }, - adjustTimeTrackerSize: function() { + adjustResourceLoadRows : function() { + var width = jq('.rightpanellayout #timetracker .z-grid-header :first').innerWidth(); + jq('.row_resourceload').each(function(index, element){ + jq(element).width(width); + }); + }, + adjustTimeTrackerSize: function() { var limitingResourcesList = jq('.limitingresourceslist'); jq('#watermark').height(this.$n().clientHeight); jq('#timetracker').width(this.$n().clientWidth).each(function() { diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-component.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-component.js index 960d5322a..0f63d6db3 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-component.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-component.js @@ -1,7 +1,7 @@ function(out){ - out.push('
'); - out.push('
'); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-list.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-list.js index 8d3eb56c8..64dc60fad 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-list.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/limiting-dependency-list.js @@ -1,11 +1,11 @@ function(out){ - out.push('
'); - out.push('
'); - for (var w = this.firstChild; w; w = w.nextSibling) - w.redraw(out); - out.push('
'); - out.push('
'); + out.push('
'); + out.push('
'); + for (var w = this.firstChild; w; w = w.nextSibling) + w.redraw(out); + out.push('
'); + out.push('
'); } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-component.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-component.js index 1b45ea773..9b2beedaa 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-component.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-component.js @@ -1,12 +1,12 @@ function(out){ - out.push('
'); - out.push(''); - out.push(this.getResourceName()); - out.push(''); - for (var w = this.firstChild; w; w = w.nextSibling) - w.redraw(out); - out.push('
'); + out.push('
'); + out.push(''); + out.push(this.getResourceName()); + out.push(''); + for (var w = this.firstChild; w; w = w.nextSibling) + w.redraw(out); + out.push('
'); } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-list-component.js b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-list-component.js index 0e7cb5fab..59e7e46f7 100644 --- a/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-list-component.js +++ b/navalplanner-webapp/src/main/resources/web/js/limitingresources/mold/queue-list-component.js @@ -1,9 +1,9 @@ function(out){ - out.push('
'); - for (var w = this.firstChild; w; w = w.nextSibling) - w.redraw(out); - out.push('
'); + out.push('
'); + for (var w = this.firstChild; w; w = w.nextSibling) + w.redraw(out); + out.push('
'); } \ No newline at end of file diff --git a/navalplanner-webapp/src/main/webapp/common/css/login.css b/navalplanner-webapp/src/main/webapp/common/css/login.css index 32190b348..480f3e394 100644 --- a/navalplanner-webapp/src/main/webapp/common/css/login.css +++ b/navalplanner-webapp/src/main/webapp/common/css/login.css @@ -1,19 +1,19 @@ /* CSS Document */ body { - background-image: url(../img/fondo.gif); - margin-top: 40px; + background-image: url(../img/fondo.gif); + margin-top: 40px; font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 11px; + font-size: 11px; } .identificacion { - font-family: Arial, Helvetica, sans-serif; - font-size: 18px; - color: #0081C3; - text-decoration: none; - padding-top: 20px; - text-align: left; - padding-bottom: 5px; + font-family: Arial, Helvetica, sans-serif; + font-size: 18px; + color: #0081C3; + text-decoration: none; + padding-top: 20px; + text-align: left; + padding-bottom: 5px; } .entrar { @@ -23,11 +23,11 @@ body { border: 1px solid #439e32; /* green4 (border) */ -moz-border-radius: 3px; -webkit-border-radius: 3px; - font-size:12px; - font-family: Arial, Helvetica, sans-serif; - margin-top:15px; - padding-top: 2px; - padding-bottom: 2px; + font-size:12px; + font-family: Arial, Helvetica, sans-serif; + margin-top:15px; + padding-top: 2px; + padding-bottom: 2px; } .entrar:hover { @@ -40,25 +40,25 @@ body { } .usuario_clave { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 11px; - color: #333333; - text-decoration: none; - padding-top: 5px; - text-align: left; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + color: #333333; + text-decoration: none; + padding-top: 5px; + text-align: left; } .campotexto { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 11px; - color: #666666; - text-decoration: none; - border: 1px solid #CCCCCC; - padding-left: 4px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + color: #666666; + text-decoration: none; + border: 1px solid #CCCCCC; + padding-left: 4px; } .fondo_identificacion { - background-image: url(../img/degradado_azul.gif); - background-repeat: repeat-x; + background-image: url(../img/degradado_azul.gif); + background-repeat: repeat-x; } .authentication { @@ -66,17 +66,17 @@ body { } .ayuda { - font-family: Arial, Helvetica, sans-serif; - font-size: 14px; - font-weight: bold; - color: #009900; - text-decoration: none; - padding-bottom: 5px; - display: block; + font-family: Arial, Helvetica, sans-serif; + font-size: 14px; + font-weight: bold; + color: #009900; + text-decoration: none; + padding-bottom: 5px; + display: block; } a.ayuda:hover { - text-decoration: underline; + text-decoration: underline; } .login_ERROR { diff --git a/navalplanner-webapp/src/main/webapp/common/css/navalplan_zk.css b/navalplanner-webapp/src/main/webapp/common/css/navalplan_zk.css index c3e142c9c..12785678f 100644 --- a/navalplanner-webapp/src/main/webapp/common/css/navalplan_zk.css +++ b/navalplanner-webapp/src/main/webapp/common/css/navalplan_zk.css @@ -101,7 +101,7 @@ body .advancedallocationlayout .icono .z-button-cm { } .toolbar-box { - border:0; + border:0; } .toolbar-box .z-button { @@ -1116,7 +1116,7 @@ tr.z-tree-row-seld, tr.z-list-item-seld, } .z-panel-body { - padding: 10px; + padding: 10px; } .resourcesload .z-west-body .z-tree-header , @@ -1485,11 +1485,11 @@ input.z-datebox-text-disd { } .add-resources-or-criteria span { - white-space: nowrap; + white-space: nowrap; } .z-datebox-pp { - width: auto !important; + width: auto !important; } @@ -1497,7 +1497,7 @@ input.z-datebox-text-disd { .advanced-assignment-area .timeTrackedTableWithLeftPane .z-grid-body, .advanced-assignment-area .z-center-body { - width: auto !important; + width: auto !important; } /* Icons and toolbar buttons */ @@ -1527,18 +1527,18 @@ input.z-datebox-text-disd { } .toolbar-box .z-button-cm { - border-left: solid 1px transparent; - border-top: solid 1px transparent; - border-right: solid 1px transparent; + border-left: solid 1px transparent; + border-top: solid 1px transparent; + border-right: solid 1px transparent; } .toolbar-box .z-button-clk .z-button-cm { - background-color: #71B0D4; + background-color: #71B0D4; } .perspectives-column .z-button-cm, .toolbar-box .z-button-cm { - -moz-border-radius: 2px; + -moz-border-radius: 2px; -webkit-border-radius: 2px; } @@ -1557,7 +1557,7 @@ input.z-datebox-text-disd { } .z-button .z-button-cm { - background-image: none; + background-image: none; } .z-button tbody { @@ -1570,49 +1570,49 @@ input.z-datebox-text-disd { } .z-button tbody:active { - background-color: #A1D586; + background-color: #A1D586; } .z-button .z-button-tl, .z-button .z-button-tr, .z-button .z-button-bl, .z-button .z-button-br { - background-image: url(../img/btn-corner-green.gif); + background-image: url(../img/btn-corner-green.gif); } .z-button .z-button-tm, .z-button .z-button-bm { - background-image: url(../img/btn-x-green.gif); + background-image: url(../img/btn-x-green.gif); } .z-button .z-button-cl, .z-button .z-button-cr { - background-image: url(../img/btn-y-green.gif); + background-image: url(../img/btn-y-green.gif); } .z-button .z-button-tl, .z-button .z-button-bl, .z-button .z-button-tr, .z-button .z-button-tr { - background-color: #FFFFFF; + background-color: #FFFFFF; } /* Bugfix for default 3D mold */ .z-button-clk .z-button-tl { - background-position:-18px 0; + background-position:-18px 0; } .z-button-clk .z-button-bl { - background-position:-18px -3px; + background-position:-18px -3px; } .z-button-clk .z-button-tr { - background-position:-21px 0; + background-position:-21px 0; } .z-button-clk .z-button-br { - background-position:-21px -3px; + background-position:-21px -3px; } .z-button-clk .z-button-cl { - background-position:-18px 0; + background-position:-18px 0; } .z-button-clk .z-button-cr { - background-position:-21px 0; + background-position:-21px 0; } .assigned-hours-input { diff --git a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css index 267560514..e7b69e34d 100644 --- a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css +++ b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css @@ -77,11 +77,11 @@ } .listdetails div.z-tree-cell-cnt { - width: 500px; !important; + width: 500px; !important; } /*.listdetails input { - width: 80%; !important; + width: 80%; !important; } */ @@ -884,8 +884,8 @@ height: 100% top: 8px; left: 10px; z-index: 6; - background-color: rgb(255, 202, 135); - background-color: rgba(255, 202, 135, 0.9); + background-color: rgb(255, 202, 135); + background-color: rgba(255, 202, 135, 0.9); -moz-border-radius: 2px; -webkit-border-radius: 2px; padding: 0 3px; @@ -1247,7 +1247,7 @@ body .perspectives-column { /* ------------ Limiting resources ------------ */ .limiting-resources-buffer .z-south-body { - overflow-y:scroll; + overflow-y:scroll; } .queue-progress-bar { diff --git a/navalplanner-webapp/src/main/webapp/workreports/css/workreports.css b/navalplanner-webapp/src/main/webapp/workreports/css/workreports.css index b478cd9d1..4975f5e17 100644 --- a/navalplanner-webapp/src/main/webapp/workreports/css/workreports.css +++ b/navalplanner-webapp/src/main/webapp/workreports/css/workreports.css @@ -2,7 +2,7 @@ /* Work reports */ .listWorkReportLines td.z-row-inner, .listWorkReportLines td.z-group-foot-inner { - padding: 0; + padding: 0; } .listWorkReportLines .date-column {