Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
oybek committed Feb 8, 2024
1 parent 83173cd commit 38d17cf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
6 changes: 0 additions & 6 deletions test/spendbook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<script src="./js/dropDowns.js"></script>
<script>
$(document).ready(function () {
$('#overlay').fadeOut()

const searchParams = new URLSearchParams(window.location.search);
const chatId = searchParams.get("chatId");

Expand Down Expand Up @@ -190,9 +188,5 @@
<input type="date" id="date_input" class="text-field">
</div>
</form>

<div id="overlay" class="overlay">
Loading...
</div>
</body>
</html>
7 changes: 1 addition & 6 deletions test/spendbook/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
];

$(document).ready(function () {
$('#overlay').fadeOut();
const dropdownButton = $('.select-button');
const dropdownMenu = $('.select-options');
const dropdownInput = $('.hidden-input');
Expand All @@ -44,7 +43,7 @@
})

$.each(months, function (key, obj) {
$("#custom-dropdown").append(`<option class="select-option" value="${obj.value}">${obj.text}</option>`);
$("#custom-dropdown").append(`<li class="select-option" value="${obj.value}">${obj.text}</li>`);
});

$(document).on('click', '.select-option', function() {
Expand Down Expand Up @@ -129,9 +128,5 @@
</label>
</div>
</form>

<div id="overlay" class="overlay">
Loading...
</div>
</body>
</html>
18 changes: 0 additions & 18 deletions test/spendbook/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,21 +183,3 @@ input[type=number] {
.radio-input:checked + .radio-input-text:before {
box-shadow: inset 0 0 0 8px #3290ec;
}

.overlay {
position: fixed;
z-index: 99999;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.9);

color: #fff;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;

transition: 1s 0.4s;
}

0 comments on commit 38d17cf

Please sign in to comment.