]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Tweak visual improvements
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 5 Nov 2019 18:56:10 +0000 (19:56 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 14 Dec 2019 14:59:52 +0000 (15:59 +0100)
gui/baculum/protected/Web/Pages/DeviceView.page
gui/baculum/protected/Web/Pages/StorageView.page
gui/baculum/protected/Web/Pages/VolumeView.page
gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl
gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl
gui/baculum/protected/Web/Portlets/DirectiveSchedule.tpl

index a497424776b53fcc847e56803349454a39984f94..f0a1c57fa8f03d2d051bb0cba8aded5b00364562 100644 (file)
@@ -64,7 +64,7 @@
                <div class="w3-row">
                        <div class="w3-quarter w3-container">
                                <%[ Slot number: ]%>
-                               <com:TActiveTextBox ID="Slot" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input" />
+                               <com:TActiveTextBox ID="Slot" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input smallbox" />
                                <com:TDataTypeValidator ID="SlotValidator" ValidationGroup="AutoChangerGroup" ControlToValidate="Slot" ErrorMessage="<%[ Slot number must be integer. ]%>" Display="None" DataType="Integer" />
                        </div>
                </div>
index 8c616bf573ac9eb8d48a1168e8d369e52866007d..3c7d251b2db46b03ec653535a00c2a6984dcfe4b 100644 (file)
                        <div class="w3-row">
                                <div class="w3-quarter w3-container">
                                                <label><%[ Drive number: ]%></label>
-                                               <com:TActiveTextBox ID="Drive" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input" />
+                                               <com:TActiveTextBox ID="Drive" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input smallbox" />
                                                <com:TDataTypeValidator ID="DriveValidator" ValidationGroup="AutoChangerGroup" ControlToValidate="Drive" ErrorMessage="<%[ Drive number must be integer. ]%>" Display="None" DataType="Integer" />
                                </div>
                        </div>
                        <div class="w3-row">
                                <div class="w3-quarter w3-container">
                                        <%[ Slot number: ]%>
-                                       <com:TActiveTextBox ID="Slot" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input" />
+                                       <com:TActiveTextBox ID="Slot" AutoPostBack="false" Text="0" MaxLength="3" CssClass="w3-input smallbox" />
                                        <com:TDataTypeValidator ID="SlotValidator" ValidationGroup="AutoChangerGroup" ControlToValidate="Slot" ErrorMessage="<%[ Slot number must be integer. ]%>" Display="None" DataType="Integer" />
                                </div>
                        </div>
index e510637f5f7058e3456b3065910ab43c48b1b6af..8fe0b5e8af3339d177da4a85659711e2a7d20ff4 100644 (file)
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Retention period (in hours): ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="RetentionPeriod" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="RetentionPeriod" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="RetentionPeriod"
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Vol. use duration (in hours): ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="UseDuration" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="UseDuration" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="UseDuration"
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Max. vol. jobs: ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="MaxVolJobs" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="MaxVolJobs" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="MaxVolJobs"
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Max. vol. files: ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="MaxVolFiles" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="MaxVolFiles" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="MaxVolFiles"
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Max. vol. bytes: ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="MaxVolBytes" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="MaxVolBytes" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="MaxVolBytes"
                <div class="w3-row w3-section">
                        <div class="w3-col w3-quarter"><%[ Slot number: ]%></div>
                        <div class="w3-half">
-                               <com:TActiveTextBox ID="Slot" AutoPostBack="false" CssClass="w3-input w3-border" />
+                               <com:TActiveTextBox ID="Slot" AutoPostBack="false" CssClass="w3-input w3-border smallbox" />
                                <com:TDataTypeValidator
                                        ValidationGroup="VolumeGroup"
                                        ControlToValidate="Slot"
index a5ff61010a63ccd3a30a920a825a24b312278166..3756c9d81f9583ae84f93f8708b45698f3ef0fa5 100644 (file)
@@ -11,7 +11,7 @@
                        ItemRenderer="Application.Web.Portlets.FileSetOptionRenderer"
                >
                        <prop:HeaderTemplate>
-                               <div class="w3-card-4 w3-padding w3-margin-bottom directive">
+                               <div class="w3-border w3-padding w3-margin-bottom directive">
                                        <h2><%[ Options ]%></h2>
                        </prop:HeaderTemplate>
                        <prop:FooterTemplate>
@@ -20,7 +20,7 @@
                </com:TActiveRepeater>
                <com:TActiveRepeater ID="RepeaterFileSetInclude"  ItemRenderer="Application.Web.Portlets.DirectiveRenderer" CssClass="incexc_item">
                        <prop:HeaderTemplate>
-                               <div class="w3-card-4 w3-padding w3-margin-bottom directive include_file">
+                               <div class="w3-border w3-padding w3-margin-bottom directive include_file">
                                        <h3><%[ Files ]%></h3>
                        </prop:HeaderTemplate>
                        <prop:FooterTemplate>
@@ -29,7 +29,7 @@
                </com:TActiveRepeater>
                <com:TActiveRepeater ID="RepeaterFileSetPlugin"  ItemRenderer="Application.Web.Portlets.DirectiveRenderer" CssClass="incexc_item">
                        <prop:HeaderTemplate>
-                               <div class="w3-card-4 w3-padding w3-margin-bottom directive include_plugin">
+                               <div class="w3-border w3-padding w3-margin-bottom directive include_plugin">
                                        <h3><%[ Plugins ]%></h3>
                        </prop:HeaderTemplate>
                        <prop:FooterTemplate>
@@ -62,7 +62,7 @@
                <h2><%[ Include files to FileSet]%></h2>
                <com:Application.Web.Portlets.FileSetBrowser ID="FSBrowser" />
                <com:TCallback ID="NewIncExcFile" OnCallback="newIncludeExcludeFile" />
-               <div class="w3-center">
+               <div class="w3-center w3-margin-top">
                        <button type="button" class="w3-button w3-red" onclick="document.getElementById('<%=$this->FSBrowser->ClientID%>fileset_browser').style.display = 'none'"><i class="fa fa-times"></i> &nbsp; <%[ Cancel ]%></button>
                        <a class="w3-button w3-green button_fixed" onclick="set_include_exclude<%=$this->FSBrowser->ClientID%>(); document.getElementById('<%=$this->FSBrowser->ClientID%>fileset_browser').style.display = 'none'">
                                <i class="fa fa-check"></i> &nbsp;<%[ Apply file selection ]%></a>
index c4a28a8d67dfa2d58de97ba5f1476b70eeeeb80b..845699108bd65fd17249eee3c763f4bb2a263eb8 100644 (file)
@@ -1,4 +1,4 @@
-<button type="button" class="w3-button w3-green" onmousedown="openElementOnCursor(event, '<%=$this->RunscriptMenu->ClientID%>_new_runscript', 0, 20);"><i class="fa fa-plus"></i> &nbsp;<%[ Add ]%></button>
+<button type="button" class="w3-button w3-green w3-margin-bottom" onmousedown="openElementOnCursor(event, '<%=$this->RunscriptMenu->ClientID%>_new_runscript', 0, 20);"><i class="fa fa-plus"></i> &nbsp;<%[ Add ]%></button>
 <com:Application.Web.Portlets.NewRunscriptMenu ID="RunscriptMenu" />
 <com:TActiveRepeater ID="RepeaterRunscriptOptions" ItemRenderer="Application.Web.Portlets.JobRunscriptRenderer">
        <prop:HeaderTemplate>
index 16d669596e60393e3247f82339eed4e5c5584ea4..c61701980d138fcaa49cda00b14e523dba2c18ae 100644 (file)
@@ -1,4 +1,4 @@
-<button type="button" class="w3-button w3-green" onmousedown="openElementOnCursor(event, '<%=$this->RunscriptMenu->ClientID%>_new_schedule', 0, 20);"><i class="fa fa-plus"></i> &nbsp;<%[ Add ]%></button>
+<button type="button" class="w3-button w3-green w3-margin-bottom" onmousedown="openElementOnCursor(event, '<%=$this->RunscriptMenu->ClientID%>_new_schedule', 0, 20);"><i class="fa fa-plus"></i> &nbsp;<%[ Add ]%></button>
 <com:Application.Web.Portlets.NewScheduleMenu ID="RunscriptMenu" />
 <com:TActiveRepeater ID="RepeaterScheduleRuns" OnItemDataBound="createRunItem">
        <prop:ItemTemplate>