CSV button datatable. IPAM fix

This commit is contained in:
Pablo Aragon 2023-03-10 12:29:13 +01:00
parent 92e5c4efa0
commit 000874ea6e
4 changed files with 47 additions and 16 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 61.2 (89653) - https://sketch.com -->
<title>Dark / 20 / file-csv@svg</title>
<desc>Created with Sketch.</desc>
<g id="Dark-/-20-/-file-csv" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Group" fill="#14524f">
<path d="M14,0 L20,6 L20,18 C20,19.1045695 19.1045695,20 18,20 L18,20 L2,20 C0.8954305,20 0,19.1045695 0,18 L0,18 L0,2 C0,0.8954305 0.8954305,0 2,0 L2,0 L14,0 Z M3.51944167,13 C2.19341974,13 1,13.9742896 1,15.5033829 C1,17.0324763 2.15154536,18 3.5333998,18 C4.9222333,18 5.63409771,17.1069012 5.8225324,16.3694181 L4.9222333,16.105548 C4.78963111,16.5520974 4.3778664,17.0866035 3.5333998,17.0866035 C2.73778664,17.0866035 1.99800598,16.5250338 1.99800598,15.5033829 C1.99800598,14.4140731 2.77966102,13.8998647 3.51944167,13.8998647 C4.3778664,13.8998647 4.76171486,14.4073072 4.88035892,14.8673884 L5.78763709,14.5899865 C5.59222333,13.811908 4.88733799,13 3.51944167,13 Z M8.18145563,13 C7.24626122,13 6.45762712,13.6495264 6.45762712,14.5020298 C6.45762712,15.2259811 6.9670987,15.7198917 7.7557328,15.8755074 L8.44666002,16.0108254 C8.83050847,16.0852503 9.04685942,16.3017591 9.04685942,16.579161 C9.04685942,16.917456 8.76071785,17.1677943 8.2442672,17.1677943 C7.54636092,17.1677943 7.20438684,16.7415426 7.16251246,16.2679296 L6.26919242,16.4979702 C6.34596211,17.1813261 6.92522433,18 8.23728814,18 C9.3888335,18 10.0239282,17.255751 10.0239282,16.5182679 C10.0239282,15.8416779 9.54237288,15.2733424 8.64207378,15.1041949 L7.95114656,14.9756428 C7.58823529,14.9079838 7.41375872,14.6982409 7.41375872,14.4343708 C7.41375872,14.1163735 7.72083749,13.8254398 8.1884347,13.8254398 C8.81655035,13.8254398 9.03988036,14.2381597 9.0887338,14.5020298 L9.95413759,14.2449256 C9.84247258,13.7036536 9.38185444,13 8.18145563,13 Z M11.3988036,13.1014885 L10.3449651,13.1014885 L12.1734796,17.8985115 L13.1645065,17.8985115 L15,13.1014885 L13.9810568,13.1014885 L12.6899302,16.6671177 L11.3988036,13.1014885 Z M14,2 L14,7 L19,7 L14,2 Z" id="Shape"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -4457,7 +4457,6 @@ function ui_toggle(
$output .= " }\n";
$output .= " });\n";
$output .= " $('#tgl_ctrl_".$uniqid."').click(function() {\n";
$output .= " console.log('#image_".$uniqid."');";
$output .= ' if (hide_tgl_ctrl_'.$uniqid.") {\n";
$output .= ' hide_tgl_ctrl_'.$uniqid." = 0;\n";
$output .= " $('#tgl_div_".$uniqid."').css('height', 'auto');\n";

View File

@ -10071,7 +10071,11 @@ select:focus {
}
.dataTables_length > label > select {
min-height: 3em;
min-height: 42px;
}
.dataTables_length > label {
font-size: 0px;
}
input[type="button"],

View File

@ -138,7 +138,7 @@
.info_table > thead > tr > th,
.info_table > thead > tr > th * {
/*border-bottom: 1px solid #e2e2e2;*/
font-family: "lato-bolder";
font-family: "lato-bold";
font-style: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
@ -353,23 +353,40 @@ a.pandora_pagination.current:hover {
/* CSV button datatables */
.dt-button.buttons-csv.buttons-html5 {
background-image: url(../../images/file-csv.svg);
background-position: center center;
background-image: url(../../images/file-csv-primary-color.svg);
background-size: 22px;
background-position: 48px center;
background-repeat: no-repeat;
color: #000;
border: none;
cursor: pointer;
display: inline;
padding: 7pt;
margin-left: 10px;
background-color: transparent;
}
.dt-button.buttons-csv.buttons-html5 span {
font-size: 0;
color: var(--primary-color);
font-size: 20px;
height: 42px;
/* height: 32px; */
width: 80px;
margin-left: 10px;
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
box-shadow: 0px 3px 6px #c7c7c7;
border: 2px solid var(--primary-color);
border-radius: 8px;
padding: 0 10px;
cursor: pointer;
}
.dt-buttons {
margin-top: 3pt;
.dt-button.buttons-csv.buttons-html5:hover {
color: #1d7873 !important;
border: 2px solid #1d7873 !important;
}
.dt-button.buttons-csv.buttons-html5:before {
content: "csv";
}
.dt-button.buttons-csv.buttons-html5 span {
font-size: 0;
}
.dt-button.buttons-csv.buttons-html5:active,