Commit realizado el 12:13:52 08-04-2024

This commit is contained in:
Pagina Web Monito
2024-04-08 12:13:55 -04:00
commit 0c33094de9
7815 changed files with 1365694 additions and 0 deletions

View File

@@ -0,0 +1,204 @@
.dfg_package_boxes {
display: flex;
flex-wrap: wrap;
margin: 0 -10px;
}
.dfg_package_boxes * {
box-sizing: border-box;
}
.dfg_package_boxes .dfg_package_box pre {
word-wrap: break-word;
white-space: initial;
}
.dfg_package_boxes .dfg_package_box {
flex: 0 0 auto;
width: calc(100% / 4);
padding: 10px;
}
.dfg_log_textarea {
width: 100%;
height: 500px;
margin-top: 10px;
font-size: 9.5pt;
}
.dfg_form_box {
padding: 20px;
border: 1px solid #ccc;
margin-top: 20px;
}
.dfg_form_box p.submit {
margin-bottom: 0;
padding-bottom: 0;
}
.dfg_form_box h3 {
margin-top: 0;
}
.dfg_package_box a {
text-decoration: none;
}
.dfg_package_box h3 {
display: flex;
align-items: center;
font-weight: 300;
}
.dfg_package_box h3 img {
margin-right: 8px;
height: 15px;
}
.dfg_package_box h3 i {
margin-left: 5px;
}
.dfg_alert_box {
background-color: #fbd1d1;
padding: 10px;
font-size: 15px;
font-weight: 400;
}
@media screen and ( max-width: 1280px ) {
.dfg_package_boxes .dfg_package_box {
width: calc(100% / 3);
}
}
@media screen and ( max-width: 767px ) {
.dfg_package_boxes .dfg_package_box {
width: 100%;
}
}
.dfg_package_boxes .dfg_package_box ul {
display: flex;
flex-direction: column;
margin-top: auto;
margin-bottom: 0;
}
.dfg_package_boxes .dfg_package_box > div {
padding: 10px;
border: 1px solid #ccc;
background-color: white;
border-top: 5px solid #2271b1;
height: 100%;
display: flex;
flex-direction: column;
}
.dfg_package_box_action {
/* display: flex; */
display: none;
margin-top: 5px;
}
.dfg_mt_10 {
margin-top: 10px;
}
.dfg_package_box_action.visible {
display: flex;
}
.dfg_package_box_action .button {
overflow: hidden;
text-overflow: ellipsis;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.dfg_package_box_action input {
flex: 1;
margin-right: 10px;
font-size: 12px;
}
.dfg_package_box_buttons {
margin: 10px 0 0 0;
display: flex;
}
.dfg_package_box_buttons .update-package-btn.loading .dashicons-update {
animation: rotation 2s infinite linear;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.dfg_package_box_buttons .update-package-btn {
display: inline-flex;
align-items: center;
}
.dfg_package_box_buttons .delete-theme {
margin-left: auto;
color: #d63638;
text-decoration: none;
border-color: transparent;
box-shadow: none;
background: 0 0;
display: inline-flex;
align-items: center;
}
.dfg_package_box_buttons .delete-theme:hover {
background: #d63638;
color: #fff;
border-color: #d63638;
}
@media screen and ( max-width: 1350px ) {
.dfg_package_box_action {
flex-wrap: wrap;
}
.dfg_package_box_action .button {
flex: 100%;
}
.dfg_package_box_action input {
flex: 100%;
margin-bottom: 10px;
margin-right: 0;
}
}
.dfg_hidden {
display: none !important;
}
.dfg_is_private_repository_row.no_license,
.dfg_is_private_repository_row.free {
border: 1px solid #ccc;
opacity: .5;
pointer-events: none;
}
.dfg_is_private_repository_row th small {
color: red;
}
.dfg_is_private_repository_row.no_license th,
.dfg_is_private_repository_row.no_license td,
.dfg_is_private_repository_row.free th,
.dfg_is_private_repository_row.free td {
padding-left: 10px;
}

View File

@@ -0,0 +1 @@
<svg height="2256" preserveAspectRatio="xMidYMid" width="2500" xmlns="http://www.w3.org/2000/svg" viewBox="-0.9662264221278978 -0.5824607696358868 257.93281329857973 230.8324730411935"><linearGradient id="a" x1="108.633%" x2="46.927%" y1="13.818%" y2="78.776%"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><g fill="none"><path d="M101.272 152.561h53.449l12.901-75.32H87.06z"/><path d="M8.308 0A8.202 8.202 0 0 0 .106 9.516l34.819 211.373a11.155 11.155 0 0 0 10.909 9.31h167.04a8.202 8.202 0 0 0 8.201-6.89l34.82-213.752a8.202 8.202 0 0 0-8.203-9.514zm146.616 152.768h-53.315l-14.436-75.42h80.67z" fill="#2684ff"/><path d="M244.61 77.242h-76.916l-12.909 75.36h-53.272l-62.902 74.663a11.105 11.105 0 0 0 7.171 2.704H212.73a8.196 8.196 0 0 0 8.196-6.884z" fill="url(#a)"/></g></svg>

After

Width:  |  Height:  |  Size: 831 B

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" id="main_outline" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 142 640 390" style="enable-background:new 0 0 640 640;" xml:space="preserve">
<g>
<path id="teabag" style="fill:#FFFFFF" d="M395.9,484.2l-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5,21.2-17.9,33.8-11.8 c17.2,8.3,27.1,13,27.1,13l-0.1-109.2l16.7-0.1l0.1,117.1c0,0,57.4,24.2,83.1,40.1c3.7,2.3,10.2,6.8,12.9,14.4 c2.1,6.1,2,13.1-1,19.3l-61,126.9C423.6,484.9,408.4,490.3,395.9,484.2z"/>
<g>
<g>
<path style="fill:#609926" d="M622.7,149.8c-4.1-4.1-9.6-4-9.6-4s-117.2,6.6-177.9,8c-13.3,0.3-26.5,0.6-39.6,0.7c0,39.1,0,78.2,0,117.2 c-5.5-2.6-11.1-5.3-16.6-7.9c0-36.4-0.1-109.2-0.1-109.2c-29,0.4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5 c-9.8-0.6-22.5-2.1-39,1.5c-8.7,1.8-33.5,7.4-53.8,26.9C-4.9,212.4,6.6,276.2,8,285.8c1.7,11.7,6.9,44.2,31.7,72.5 c45.8,56.1,144.4,54.8,144.4,54.8s12.1,28.9,30.6,55.5c25,33.1,50.7,58.9,75.7,62c63,0,188.9-0.1,188.9-0.1s12,0.1,28.3-10.3 c14-8.5,26.5-23.4,26.5-23.4s12.9-13.8,30.9-45.3c5.5-9.7,10.1-19.1,14.1-28c0,0,55.2-117.1,55.2-231.1 C633.2,157.9,624.7,151.8,622.7,149.8z M125.6,353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6,321.8,60,295.4 c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5,38.5-30c13.8-3.7,31-3.1,31-3.1s7.1,59.4,15.7,94.2c7.2,29.2,24.8,77.7,24.8,77.7 S142.5,359.9,125.6,353.9z M425.9,461.5c0,0-6.1,14.5-19.6,15.4c-5.8,0.4-10.3-1.2-10.3-1.2s-0.3-0.1-5.3-2.1l-112.9-55 c0,0-10.9-5.7-12.8-15.6c-2.2-8.1,2.7-18.1,2.7-18.1L322,273c0,0,4.8-9.7,12.2-13c0.6-0.3,2.3-1,4.5-1.5c8.1-2.1,18,2.8,18,2.8 l110.7,53.7c0,0,12.6,5.7,15.3,16.2c1.9,7.4-0.5,14-1.8,17.2C474.6,363.8,425.9,461.5,425.9,461.5z"/>
<path style="fill:#609926" d="M326.8,380.1c-8.2,0.1-15.4,5.8-17.3,13.8c-1.9,8,2,16.3,9.1,20c7.7,4,17.5,1.8,22.7-5.4 c5.1-7.1,4.3-16.9-1.8-23.1l24-49.1c1.5,0.1,3.7,0.2,6.2-0.5c4.1-0.9,7.1-3.6,7.1-3.6c4.2,1.8,8.6,3.8,13.2,6.1 c4.8,2.4,9.3,4.9,13.4,7.3c0.9,0.5,1.8,1.1,2.8,1.9c1.6,1.3,3.4,3.1,4.7,5.5c1.9,5.5-1.9,14.9-1.9,14.9 c-2.3,7.6-18.4,40.6-18.4,40.6c-8.1-0.2-15.3,5-17.7,12.5c-2.6,8.1,1.1,17.3,8.9,21.3c7.8,4,17.4,1.7,22.5-5.3 c5-6.8,4.6-16.3-1.1-22.6c1.9-3.7,3.7-7.4,5.6-11.3c5-10.4,13.5-30.4,13.5-30.4c0.9-1.7,5.7-10.3,2.7-21.3 c-2.5-11.4-12.6-16.7-12.6-16.7c-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3c4.7-9.7,9.4-19.3,14.1-29 c-4.1-2-8.1-4-12.2-6.1c-4.8,9.8-9.7,19.7-14.5,29.5c-6.7-0.1-12.9,3.5-16.1,9.4c-3.4,6.3-2.7,14.1,1.9,19.8 C343.2,346.5,335,363.3,326.8,380.1z"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>

After

Width:  |  Height:  |  Size: 814 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="93 97 195 186"><defs><style>.cls-1{fill:#e24329;}.cls-2{fill:#fc6d26;}.cls-3{fill:#fca326;}</style></defs><g id="LOGO"><path class="cls-1" d="M282.83,170.73l-.27-.69-26.14-68.22a6.81,6.81,0,0,0-2.69-3.24,7,7,0,0,0-8,.43,7,7,0,0,0-2.32,3.52l-17.65,54H154.29l-17.65-54A6.86,6.86,0,0,0,134.32,99a7,7,0,0,0-8-.43,6.87,6.87,0,0,0-2.69,3.24L97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82,19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91,40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-2" d="M282.83,170.73l-.27-.69a88.3,88.3,0,0,0-35.15,15.8L190,229.25c19.55,14.79,36.57,27.64,36.57,27.64l40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-3" d="M153.43,256.89l19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91S209.55,244,190,229.25C170.45,244,153.43,256.89,153.43,256.89Z"/><path class="cls-2" d="M132.58,185.84A88.19,88.19,0,0,0,97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82s17-12.85,36.57-27.64Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,121 @@
'use strict';
var j = jQuery.noConflict();
j(function() {
init_provider_changed_listener();
init_private_repo_changed_listener();
init_dashboard_listenes();
});
function init_provider_changed_listener() {
j('.dfg_install_package_form').on('change', 'select[name="provider_type"]', function(e) {
const selected_provider_name = e.target.value;
// Repo URL descriptions
j(`.dfg_install_package_form .dfg_repo_url_description`).addClass('dfg_hidden');
j(`.dfg_install_package_form #${selected_provider_name}-repo-url-description`).removeClass('dfg_hidden');
// Show "is private repository" row
j('.dfg_is_private_repository_row').removeClass('dfg_hidden');
// Refresh private repo fields
refresh_private_repo_fields();
});
}
function init_private_repo_changed_listener() {
j('.dfg_install_package_form').on('change', 'input[name="is_private_repository"]', function(e) {
refresh_private_repo_fields();
});
}
function refresh_private_repo_fields() {
const is_checked = j('.dfg_install_package_form input[name="is_private_repository"]').is(':checked');
const provider_type = j('.dfg_install_package_form select[name="provider_type"]').val();
j(`.dfg_install_package_form .dfg_username_row,
.dfg_install_package_form .dfg_password_row,
.dfg_install_package_form .dfg_access_token_row,
.dfg_install_package_form .dfg_access_token_description`).addClass('dfg_hidden');
if (is_checked) {
if (provider_type === 'github') {
j('.dfg_install_package_form .dfg_access_token_row').removeClass('dfg_hidden');
j(`.dfg_install_package_form #github-access-token-description`).removeClass('dfg_hidden');
}
if (provider_type === 'bitbucket') {
j(`.dfg_install_package_form .dfg_username_row,
.dfg_install_package_form .dfg_password_row`).removeClass('dfg_hidden');
}
if (provider_type === 'gitlab') {
j('.dfg_install_package_form .dfg_access_token_row').removeClass('dfg_hidden');
j(`.dfg_install_package_form #gitlab-access-token-description`).removeClass('dfg_hidden');
}
if (provider_type === 'gitea') {
j('.dfg_install_package_form .dfg_access_token_row').removeClass('dfg_hidden');
j(`.dfg_install_package_form #gitea-access-token-description`).removeClass('dfg_hidden');
}
}
}
function init_dashboard_listenes() {
j('.dfg_package_boxes a[data-copy-url-btn]').on('click', function(e) {
e.preventDefault();
const url = j(this).data('copy-url-btn');
let $text_el = j(this).find('.text');
navigator.clipboard.writeText(url).then(function() {
$text_el.text( dfg.copied_url_label );
setTimeout(function() {
$text_el.text( dfg.copy_url_label );
}, 2000);
});
});
j('.dfg_package_boxes a[data-show-ptd-btn]').on('click', function(e) {
e.preventDefault();
let $package_box_action = j(this).parent().find('.dfg_package_box_action');
$package_box_action.toggleClass('visible');
});
j('.dfg_package_boxes button[data-trigger-ptd-btn]').on('click', function(e) {
e.preventDefault();
const endpoint_url = j(this).data('trigger-ptd-btn');
let $parent_el = j(this);
let $parent_text_el = j(this).find('.text');
j.ajax({
url: endpoint_url,
type: 'GET',
dataType: 'json',
beforeSend: function() {
$parent_el.addClass( 'loading' );
$parent_el.attr( 'disabled', true );
$parent_text_el.text( dfg.updating_now_label );
}
})
.done(function(response) {
if (response.success) {
$parent_text_el.text( dfg.update_completed_label );
setTimeout(function() {
if ( $parent_el.data('package-type') === 'theme') {
$parent_text_el.text( dfg.update_theme_label );
} else {
$parent_text_el.text( dfg.update_plugin_label );
}
$parent_el.removeAttr( 'disabled' );
}, 2000);
} else {
$parent_text_el.text( dfg.error_label );
}
$parent_el.removeClass( 'loading' );
});
});
}