]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Tweak style
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 8 Feb 2015 15:08:00 +0000 (16:08 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 8 Feb 2015 15:08:00 +0000 (16:08 +0100)
gui/baculum/protected/JavaScript/slide-window.js
gui/baculum/protected/Portlets/Console.tpl
gui/baculum/protected/Portlets/JobList.tpl
gui/baculum/protected/Portlets/VolumeList.tpl

index 0e6e45998d5aab5f8e0f88946ea1f0e2f3f49d2b..9e3f499f8790561619ce0278edef1022877df56f 100644 (file)
@@ -434,7 +434,7 @@ var SlideWindowClass = Class.create({
 var SlideWindow = new SlideWindowClass()
 
 document.observe("dom:loaded", function() {
-       if(Prototype.Browser.IE  || Prototype.Browser.Gecko) {
+       if(Prototype.Browser.IE  || Prototype.Browser.Gecko || Prototype.Browser.WebKit) {
                $$('input[type=checkbox], input[type=submit], input[type=radio], a').each(function(el) {
                        el.observe('focus', function() {
                                el.blur();
index eaccc28bb30d13cc4c225293759a2963e9c3c75f..d4824dea53cfa346b5846e700eb2af6aec69e3de 100644 (file)
@@ -18,6 +18,7 @@
                <prop:ClientSide.OnComplete>
                        $('<%=$this->OutputListing->ClientID%>').scrollTop = $('<%=$this->OutputListing->ClientID%>').scrollHeight;
                        $('<%=$this->CommandLine->ClientID%>').disabled = false;
+                       $('<%=$this->CommandLine->ClientID%>').select();
                </prop:ClientSide.OnComplete>
        </com:TActiveButton>
         <com:TActiveButton ID="Clear" Text="<%[ Clear ]%>" OnCallback="clearConsole" Style="margin: auto 5px; " />
index cdde59509b843cc2acecaf8c991bbaa745256483..d7ccc5dd7d6042a3c76ae63fe4b79bceffba4422 100644 (file)
@@ -21,7 +21,7 @@
                ItemStyle.CssClass="slide-window-element"
                AlternatingItemStyle.CssClass="slide-window-element-alternating"
        >
-               <com:TActiveTemplateColumn HeaderText="<input type='checkbox' name='actions_checkbox' onclick=SlideWindow.getObj('JobWindow').markAllChecked(this.checked)>">
+               <com:TActiveTemplateColumn HeaderText="<input type='checkbox' name='actions_checkbox' onclick=SlideWindow.getObj('JobWindow').markAllChecked(this.checked)>" ItemStyle.HorizontalAlign="Center">
                        <prop:ItemTemplate>
                                <input type="checkbox" name="actions_checkbox" value="<%=$this->getParent()->Data['jobid']%>" id="<%=$this->getPage()->JobWindow->CheckedValues->ClientID%><%=$this->getParent()->Data['jobid']%>" rel="<%=$this->getPage()->JobWindow->CheckedValues->ClientID%>" onclick="SlideWindow.getObj('JobWindow').markChecked(this.getAttribute('rel'), this.checked, this.value, true);" />
                        </prop:ItemTemplate>
index 5bb6f0a2778f29b4b6dd7f6a0ae94ae9ed33cc19..d3c7a7e1ed0a46408890148db116e7ccc698f7ff 100644 (file)
@@ -24,7 +24,7 @@
                ItemStyle.CssClass="slide-window-element"
                AlternatingItemStyle.CssClass="slide-window-element-alternating"
        >
-               <com:TActiveTemplateColumn HeaderText="<input type='checkbox' name='actions_checkbox' onclick=SlideWindow.getObj('VolumeWindow').markAllChecked(this.checked)>">
+               <com:TActiveTemplateColumn HeaderText="<input type='checkbox' name='actions_checkbox' onclick=SlideWindow.getObj('VolumeWindow').markAllChecked(this.checked)>" ItemStyle.HorizontalAlign="Center">
                        <prop:ItemTemplate>
                                <input type="checkbox" name="actions_checkbox" value="<%=$this->getParent()->Data['volumename']%>" id="<%=$this->getPage()->VolumeWindow->CheckedValues->ClientID%><%=$this->getParent()->Data['volumename']%>" rel="<%=$this->getPage()->VolumeWindow->CheckedValues->ClientID%>" onclick="SlideWindow.getObj('VolumeWindow').markChecked(this.getAttribute('rel'), this.checked, this.value, true);" />
                        </prop:ItemTemplate>