|
- <!DOCTYPE html>
- <html lang="fa" dir="rtl">
-
- <head>
-
- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Expires" content="0" />
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
- <title>حق تو</title>
- <base href="/" />
- <link rel="stylesheet" href="/assets/css/base.css">
- <link rel="stylesheet" href="/assets/css/app.css" />
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" />
- <script>
- setTimeout(ShowFirstLoading, 5000)
- function ShowFirstLoading() {
- try {
- document.getElementById("firstLoadingWait").style.display = "block";
- }
- catch
- {
- console.log("no loading div");
- }
- }
- </script>
- </head>
-
- <body class="container bg-secondary m-0 p-0 mx-auto" style="overflow-y:hidden">
- <div id="spinnerDiv" style="display:none;">
- <div class="spinner spinner-border text-warning" role="status">
- <span class="visually-hidden">Loading...</span>
- </div>
-
- <style>
- #spinnerDiv {
- width: 100vw;
- height: 100vh;
- position: absolute;
- left: 0;
- top: 0;
- opacity: 0.2;
- background-color: black;
- z-index: 100000;
- }
-
- .spinner {
- position: absolute;
- left: calc(50% - 30px);
- top: calc(50% - 30px);
- width: 50px;
- height: 50px;
- margin: 0px auto;
- }
- </style>
- </div>
- <div id="app" class="container bg-secondary m-0 p-0">
-
- <div class="text-center" style="width:200px;height:200px;top:calc(50vh - 100px);left:calc(50vw - 100px);position:absolute">
- <div class="splash">
- <div class="splash__logo">
- <img src="/assets/images/logo.png" alt="logo" />
- </div>
- <br />
- <br />
- <div class="loader3">
- <span></span>
- <span></span>
- </div>
- <h4 class="text-white">
- در حال پردازش...
- </h4>
- </div>
- <div class="splash">
- <div class="spinner-border text-warning"></div>
- </div>
- <h5 id="firstLoadingWait" style="display:none;color:white">
- بارگزاری اپلیکیشن برای اولین بار کمی زمان بر است. لطفا صبر کنید...
- </h5>
- </div>
- </div>
-
- <div id="blazor-error-ui">
- خطا!
- <button class="btn btn-primary" onclick="return RefreshPage();" class="btn btn-bordered">Refresh</button>
- </div>
- <script src="_framework/blazor.webassembly.js"></script>
- <script>navigator.serviceWorker.register('service-worker.js?v=13');</script>
- <script src="/_content/CurrieTechnologies.Razor.SweetAlert2/sweetAlert2.min.js"></script>
-
- <script>
- function RefreshPage() {
- document.getElementById("blazor-error-ui").style.display = "none";
- if (window.history.length > 0)
- history.back();
- }
- window.AbrMethods = {
- getInputValue: function (id) {
- return document.getElementById(id).value;
- }
- }
- window.methods = {
- ShowLoading: function () {
- document.getElementById("spinnerDiv").style.display = "block";
- },
- HideLoading: function () {
- document.getElementById("spinnerDiv").style.display = "none";
- },
- getDimensions: function () {
- return {
- width: document.body.clientWidth,
- height: document.body.clientHeight
- };
- },
- CopyInputValue: function (inputId) {
- /* Get the text field */
- var copyText = document.getElementById(inputId);
-
- /* Select the text field */
- copyText.select();
- copyText.setSelectionRange(0, 99999); /* For mobile devices */
-
- /* Copy the text inside the text field */
- document.execCommand("copy");
-
- },
- blazorOpen: function (args) {
- window.open(args);
- },
- ScrollToEnd: function () {
- window.scrollTo(0, document.body.scrollHeight);
- },
- PrepareResponsiveTable: function (inputId) {
- jQuery('table').each(function () {
- var $table = jQuery(this);
- var tableCols = $table.find('th').length;
- $table.find('tbody > tr').each(function (index, tr) {
- if (!$(tr).hasClass('extra'))
- for (var i = 1; i <= tableCols; i++) {
- var header = $table.find("thead > tr th:nth-child(" + i + ")").html();
- if (header)
- header += ": ";
- $("td:nth-child(" + i + ")", tr).attr('data-content', header);
- }
- });
- });
-
- },
- triggerFileDownload: function (fileName, url) {
- const anchorElement = document.createElement('a');
- anchorElement.href = url;
- anchorElement.download = fileName ?? '';
- anchorElement.click();
- anchorElement.remove();
- }
- };
-
- </script>
- </body>
-
- </html>
|