first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1 @@
<svg id="nc_icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g class="nc-icon-wrapper" fill="currentColor"><title>thin</title><path d="M5.025 16L4 15.009 11.25 8 4 .991 5.025 0l7.762 7.504a.684.684 0 0 1 0 .992L5.025 16z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 324 B

View File

@@ -0,0 +1,48 @@
#brizy-root-element {
position: relative;
min-height: 400px;
background: #f3f3f3;
}
#brizy-root-element > .spinner {
display: none;
}
#brizy-root-element > .spinner:first-child:last-child {
display: block;
}
#brizy-root-element > .spinner,
#brizy-root-element > .spinner:after,
#brizy-root-element > .spinner:before {
content: "";
position: absolute;
top: 50%;
left: 50%;
border: 3px solid transparent;
border-radius: 50%;
animation: spin 1s linear infinite
}
#brizy-root-element > .spinner {
width: 100px;
height: 100px;
margin: -50px 0 0 -50px;
border-top-color: #2eb9d7;
animation-duration: 2.5s
}
#brizy-root-element > .spinner:after {
width: 80px;
height: 80px;
margin: -40px 0 0 -40px;
border-right-color: #8767bc;
animation-duration: 2s
}
#brizy-root-element > .spinner:before {
width: 60px;
height: 60px;
margin: -30px 0 0 -30px;
border-bottom-color: #fff
}

View File

@@ -0,0 +1,24 @@
(function ($) {
$('body').on('click', '.brizy-public-update-button', function (e) {
e.preventDefault()
var xhr = false
var url = Brizy_Public_Data.url
var action = Brizy_Public_Data.action
var id = Brizy_Public_Data.id
if (xhr) {
return
}
$(this).addClass('loading')
xhr = true
jQuery.post(url, {
action: action,
id: id
}).always(function () {
xhr = false
$(this).removeClass('loading')
})
})
})(jQuery)