Commit 48b2ac63 by aa.gustiana@gmail.com

Merge branch '2025.05' of https://git.opensipkd.com/aa.gusti/eis into 2025.05

2 parents 20640ea1 60b8f404
div.col-md-6 {
padding-left: 7px !important;
padding-right: 7px !important;
}
.main-panel {
--tw-text-opacity: 1 !important;
color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
font-weight: bold;
--tw-bg-opacity: 1 !important;
background: #00D4FF;
background: linear-gradient(90deg, rgba(0, 212, 255, 1) 0%, rgba(23, 115, 207, 1) 53%, rgba(0, 212, 255, 1) 100%);
border-radius: 10px;
}
.panel,
.panel-heading {
border-radius: 10px;
}
.primary {
color: #1976d2;
}
.bold {
font-weight: bold;
}
.panel-default>.panel-heading {
color: #333;
background-color: white;
border-color: white;
}
.icon-color {
color: transparent;
-webkit-text-stroke-width: 0.5px;
-webkit-text-stroke-color: #03c5f8;
font-size: 22px;
}
.top-0 {
top: 68px !important;
}
.left-0 {
left: 8px !important;
}
.z-0 {
z-index: 0 !important;
}
.absolute {
position: absolute !important;
}
.bottom-0 {
bottom: 0 !important;
}
.right-0 {
right: 0 !important;
}
padding-left: 7px !important;
padding-right: 7px !important;
}
.main-panel {
--tw-text-opacity: 1 !important;
color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
font-weight: bold;
--tw-bg-opacity: 1 !important;
background: #00D4FF;
background: linear-gradient(90deg, rgba(0, 212, 255, 1) 0%, rgba(23, 115, 207, 1) 53%, rgba(0, 212, 255, 1) 100%);
border-radius: 10px;
}
.panel,
.panel-heading {
border-radius: 10px;
}
.primary {
color: #1976d2;
}
.bold {
font-weight: bold;
}
.panel-default>.panel-heading {
color: #333;
background-color: white;
border-color: white;
}
.icon-color {
color: transparent;
-webkit-text-stroke-width: 0.5px;
-webkit-text-stroke-color: #03c5f8;
font-size: 22px;
}
.top-0 {
top: 68px !important;
}
.left-0 {
left: 8px !important;
}
.z-0 {
z-index: 0 !important;
}
.absolute {
position: absolute !important;
}
.bottom-0 {
bottom: 0 !important;
}
.right-0 {
right: 0 !important;
}
h1 {
font-size: 36px;
}
.main-panel .panel-body .odometer-formatting-mark {
color: #648baf;
}
.icon-rounded {
display: block;
vertical-align: middle;
max-width: 100%;
height: auto;
padding-right: 10px;
}
.rounded{
border-radius: 7px !important;
}
.uppercase {
text-transform: uppercase !important;
}
.odoometer-head {
font-size: 4.0em;
}
.sub-odometer {
font-size: 2.5em;
}
.odometer-value{
font-weight: bold;
}
.padding-top-sm { padding-top: .5em; }
hr {
margin-top: 5px;
margin-bottom: 5px;
border: 0;
border-top: 1px solid #eee;
}
.col1 {
margin-right: -3%;
}
.col1 img {
/* height: 49% !important; */
/* width: 87% !important; */
height: 276px !important;
width: 217px !important;
}
/* .col2 {
width: 79%;
} */
@media only screen and (max-width: 640px){
h1 {
font-size: 36px;
}
.main-panel .panel-body .odometer-formatting-mark {
color: #648baf;
font-size: 30px !important;
}
.icon-rounded {
display: block;
vertical-align: middle;
max-width: 100%;
height: auto;
padding-right: 10px;
}
.rounded{
border-radius: 7px !important;
.odoometer-head {
font-size: 2.0em !important;
font-weight: bold !important;
}
.uppercase {
text-transform: uppercase !important;
.odoometer-sub {
font-size: 1.5em !important;
font-weight: bold !important;
}
.odoometer-head {
font-size: 4.0em;
.col1 img {
height: 49% !important;
width: 87% !important;
}
.sub-odometer {
font-size: 2.5em;
.col1 {
margin-left: 7%;
}
.odometer-value{
font-weight: bold;
.col2{
width: 100%;
}
.padding-top-sm { padding-top: .5em; }
@media only screen and (max-width: 640px){
h1 {
font-size: 30px !important;
}
.odoometer-head {
font-size: 2.0em !important;
font-weight: bold !important;
}
.odoometer-sub {
font-size: 1.5em !important;
font-weight: bold !important;
}
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -504,20 +504,25 @@
addData(barChart, newData.realisasi);
trendChart();
tableRefresh();
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
} else {
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 60000);
console.log("Request failed.");
}
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
}).fail(function () {
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
}, 60000);
});
// $().get_realisasi();
......
......@@ -10,11 +10,11 @@
</style>
<div metal:fill-slot="content">
<div class="row ">
<div class="col-md-2">
<div class="row">
<div class="col-md-3 col1">
<img src="${home}/eis/static/pcpd-logo.png" class="img-responsive logo-pcpd" alt="PCPD Logo">
</div>
<div class="col-md-10">
<div class="col-md-9 col2">
<div class="panel panel-default text-center main-panel uppercase">
<div class="panel-body">
<h1 class="title-panel"><b>${title}</b></h1>
......@@ -492,21 +492,25 @@
addData(pieChart, newData.pie);
trendChart();
tableRefresh();
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
} else {
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 60000);
console.log("Request failed.");
}
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
}).fail(function () {
setTimeout(function () {
console.log("timeout");
$().datarefresh();
}, 300000);
}, 60000);
});
}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!