]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Change cursor over selectable table
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 12 Jun 2020 08:48:41 +0000 (10:48 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Fri, 12 Jun 2020 08:49:17 +0000 (10:49 +0200)
gui/baculum/protected/Common/Class/BClientScript.php
gui/baculum/protected/Web/Pages/JobHistoryList.page
gui/baculum/protected/Web/Pages/Security.page
gui/baculum/protected/Web/Pages/VolumeList.page
gui/baculum/themes/Baculum-v2/css/baculum.css

index a0adc7c28afc265c6995159425962be1294d11bc..fb66d391132d172981720de1ab3ccea63a590b6a 100644 (file)
@@ -31,7 +31,7 @@ Prado::using('System.Web.UI.WebControls.TClientScript');
  */
 class BClientScript extends TClientScript {
 
-       const SCRIPTS_VERSION = 8;
+       const SCRIPTS_VERSION = 9;
 
        public function getScriptUrl()
        {
index ec9e0b6171129c62521f038c06a3a8c65617e1a1..2bd8c99d801522f459dedc08d6c294b5f83b18fa 100644 (file)
@@ -18,7 +18,7 @@
                </com:TActiveLinkButton>
        </div>
        <div class="w3-container">
-               <table id="job_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
+               <table id="job_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom selectable" style="width: 100%">
                        <thead>
                                <tr>
                                        <th></th>
index 5b2996ae58ab5492cbfd46bc16b91c245751d4b5..bdd68755eb1b0cfea0285a4b30d49abec14fb634 100644 (file)
                                        <h2 id="get_users_table_title"></h2>
                                </header>
                                <div class="w3-margin-left w3-margin-right" style="max-height: 645px; overflow-x: auto; margin: 10px auto;">
-                                       <table id="get_users_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%;">
+                                       <table id="get_users_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom selectable" style="width: 100%;">
                                                <thead>
                                                        <tr>
                                                                <th><%[ Username ]%></th>
@@ -953,7 +953,7 @@ oLdapUserSecurity.init();
                <div class="w3-panel">
                        <button type="button" id="add_user_btn" class="w3-button w3-green" onclick="oUsers.load_user_window()"><i class="fa fa-plus"></i> &nbsp;<%[ Add new user ]%></a>
                </div>
-               <table id="user_list_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
+               <table id="user_list_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom selectable" style="width: 100%">
                        <thead>
                                <tr>
                                        <th></th>
@@ -1413,7 +1413,7 @@ $(function() {
                <div class="w3-panel">
                        <button type="button" id="add_role_btn" class="w3-button w3-green" onclick="oRoles.load_role_window()"><i class="fa fa-plus"></i> &nbsp;<%[ Add new role ]%></a>
                </div>
-               <table id="role_list_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
+               <table id="role_list_table" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom selectable" style="width: 100%">
                        <thead>
                                <tr>
                                        <th></th>
index ff74c905d9eb98148a6692adb1b857ebdcaaaec7..681a40d320ff57ce095fbeee10bc6eb7582c9012 100644 (file)
@@ -11,7 +11,7 @@
                        <com:Application.Web.Portlets.LabelVolume />
                        <com:Application.Web.Portlets.UpdateSlots />
                </div>
-               <table id="volume_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom" style="width: 100%">
+               <table id="volume_list" class="w3-table w3-striped w3-hoverable w3-white w3-margin-bottom selectable" style="width: 100%">
                        <thead>
                                <tr>
                                        <th></th>
index 3d893774a2c337eef7c066eb11663044e3afa153..53dcdcb4d99ae5960f96455afe3bae4b1554769e 100644 (file)
@@ -68,6 +68,10 @@ div.dt-button-collection button[data-cv-idx="0"] {
        display: none;
 }
 
+table.selectable tr {
+       cursor: pointer;
+}
+
 div.table_toolbar {
        display: inline-block;
        margin-left: 10px;