diff --git a/ServiceHost/Areas/Admin/Pages/Index.cshtml b/ServiceHost/Areas/Admin/Pages/Index.cshtml index c59f1adf..7fa9404b 100644 --- a/ServiceHost/Areas/Admin/Pages/Index.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Index.cshtml @@ -1,4 +1,5 @@ -@page +permission="2" +@page @using _0_Framework.Application @using AccountManagement.Application.Contracts.TicketAccessAccount @using Microsoft.AspNetCore.Mvc.TagHelpers @@ -17,12 +18,7 @@ @@ -197,25 +231,34 @@
-
-
-
+ + + + + + +

بکاپ

+ + +
+
diff --git a/ServiceHost/wwwroot/AssetsAdmin/page/Index/js/Index.js b/ServiceHost/wwwroot/AssetsAdmin/page/Index/js/Index.js index 138ce2e1..2e3e24f0 100644 --- a/ServiceHost/wwwroot/AssetsAdmin/page/Index/js/Index.js +++ b/ServiceHost/wwwroot/AssetsAdmin/page/Index/js/Index.js @@ -14,9 +14,11 @@ function updateAmountColor() { const amountDiv = document.querySelector("#amountSms"); const smsDiv = document.getElementById('smsDiv'); + const stnSmsDiv = document.getElementById('btnSMS'); if (!amountDiv) return; - - const rawText = amountDiv.textContent.replace(/[, ]/g, '').replace('ریال', ''); + + //const rawText = amountDiv.textContent.replace(/[, ]/g, '').replace('ریال', ''); + const rawText = amountDiv.textContent.replace(/[, ]/g, ''); const amount = parseInt(rawText); @@ -25,12 +27,16 @@ function updateAmountColor() { amountDiv.classList.add("card-amount-warn"); smsDiv.classList.remove("gwb-card-blue"); smsDiv.classList.add("gwb-card-red"); + stnSmsDiv.classList.add("btn-sms-red"); + stnSmsDiv.classList.remove("btn-sms-green"); } else { amountDiv.classList.remove("card-amount-warn"); amountDiv.classList.remove("gbt-card-red"); amountDiv.classList.add("card-amount-success"); smsDiv.classList.add("gwb-card-blue"); smsDiv.classList.remove("gwb-card-red"); + stnSmsDiv.classList.add("btn-sms-green"); + stnSmsDiv.classList.remove("btn-sms-red"); } } diff --git a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/createScheduleModal.css b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/createScheduleModal.css index 0b3787f5..e678c7d0 100644 --- a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/createScheduleModal.css +++ b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/createScheduleModal.css @@ -6,7 +6,7 @@ border-radius: 7px; } .modal-content { - height: 890px; + height: 720px; } .modal-body { diff --git a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/task-manager-create.css b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/task-manager-create.css index 22061773..d0bed06c 100644 --- a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/task-manager-create.css +++ b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/css/task-manager-create.css @@ -48,7 +48,8 @@ background-color: #F6F6F6; font-size: 13px; font-weight: 500; - height: 140px; + /* height: 150px !important;*/ + /* height: 53px !important;*/ } .tm-create .upload-voice-container { diff --git a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/js/CreateScheduleModal.js b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/js/CreateScheduleModal.js index 41201173..34a7b00b 100644 --- a/ServiceHost/wwwroot/AssetsAdminNew/Tasks/js/CreateScheduleModal.js +++ b/ServiceHost/wwwroot/AssetsAdminNew/Tasks/js/CreateScheduleModal.js @@ -153,7 +153,7 @@ $(document).ready(function () { $("#normalTask").prop("checked", true); $(".scheduleTask").hide(); - $(".tm-create .tm-textarea").css("height", "335px"); + $(".tm-create .tm-textarea").css("height", "160px"); $(".tm-create .upload-voice-container").css("height", "335px"); @@ -163,7 +163,8 @@ $(document).ready(function () { $("#normalTask").prop("checked", true); $(".scheduleTask").hide(); - $(".tm-create .tm-textarea").css("height", "335px"); + $(".tm-create .tm-textarea").css("height", "160px"); + $(".tm-create .upload-voice-container").css("height", "335px"); }); $("#scheduleTask").click(function () { @@ -171,7 +172,7 @@ $(document).ready(function () { $("#scheduleTask").prop("checked", true); $(".scheduleTask").show(); - $(".tm-create .tm-textarea").css("height", "227px"); + $(".tm-create .tm-textarea").css("height", "53px"); $(".tm-create .upload-voice-container").css("height", "227px"); });