1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 07:34:22 +02:00

Admin Panel:

- ClipboardJS added!
- Snippets Manager: Embeded info modal added.
This commit is contained in:
Awilum
2019-01-08 22:08:06 +03:00
parent 2793f81c07
commit f05cb4249c
3 changed files with 4 additions and 2 deletions

View File

@@ -225,3 +225,4 @@ admin_shortcode: "Shortcode"
admin_php_code: "PHP Code"
admin_entries_choose_files_to_upload: "Choose file"
admin_entries_browse_files: "Browse"
admin_copy: "Copy"

View File

@@ -225,3 +225,4 @@ admin_shortcode: "Шорткод"
admin_php_code: "PHP код"
admin_entries_choose_files_to_upload: "Выбрать файл"
admin_entries_browse_files: "Выбрать файл"
admin_copy: "Копировать"

View File

@@ -73,7 +73,7 @@
<div class="alert alert-dark clipboard" role="alert">
<span id="snippet">[snippet name="<span class="js-snippets-snippet-placeholder"></span>"]</span>
<button class="js-clipboard-btn btn" data-clipboard-target="#snippet">
copy
<?= __('admin_copy') ?>
</button>
</div>
<br>
@@ -81,7 +81,7 @@
<div id="php" class="alert alert-dark clipboard" role="alert">
<span id="php">&lt;?= Snippet::get("<span class="js-snippets-php-placeholder"></span>") ?&gt;</span>
<button class="js-clipboard-btn btn" data-clipboard-target="#php">
copy
<?= __('admin_copy') ?>
</button>
</div>
</div>