diff --git a/assets/admin-settings.js b/assets/admin-settings.js index 6061389..db13f1a 100644 --- a/assets/admin-settings.js +++ b/assets/admin-settings.js @@ -1,19 +1,11 @@ -// assets/admin-settings.js (function ($) { - const toggleSections = () => { + function toggleSections() { const adapter = $('#flysystem-offload-adapter').val(); $('.flysystem-offload-adapter-section').hide(); $(`.flysystem-offload-adapter-section[data-adapter="${adapter}"]`).show(); - }; + } $(document).ready(function () { - const $heading = $('h2:contains("Amazon S3 / Compatible")'); - const $table = $heading.next('table'); - - if ($heading.length && $table.length) { - $heading.add($table).wrapAll('
'); - } - toggleSections(); $('#flysystem-offload-adapter').on('change', toggleSections); }); diff --git a/git.txt b/git.txt new file mode 100644 index 0000000..635e979 --- /dev/null +++ b/git.txt @@ -0,0 +1,17 @@ +# Realizando push para um repositório existente por linha de comando +cd /ruta/de/tu/proyecto +git init +git add . +git commit -m "First commit" +git remote add origin https://git.brasdrive.com.br/Brasdrive/flysystem-offload.git +git push -u origin main + +---------------- +# Criando um novo repositório por linha de comando +touch README.md +git init +git checkout -b main +git add README.md +git commit -m "First commit" +git remote add origin https://git.brasdrive.com.br/Brasdrive/flysystem-offload.git +git push -u origin main diff --git a/src/Admin/SettingsPage.php b/src/Admin/SettingsPage.php index e0da506..feae5c3 100644 --- a/src/Admin/SettingsPage.php +++ b/src/Admin/SettingsPage.php @@ -188,7 +188,10 @@ class SettingsPage @@ -196,6 +199,23 @@ class SettingsPage ]*>\s*' . $label . '\s*<\/h2>\s*