diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-18 20:10:06 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-20 09:38:43 +0300 |
commit | c680b535c970a46a29d0d4ccd670014b54b98f65 (patch) | |
tree | 40e77746faf5304ef146698a28476184f497276b /templates | |
parent | ec9a21184695b99033ad70bceca892c1d1518560 (diff) |
Add template js handler and comments
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/admin.php b/templates/admin.php index d6863074..b68a30a6 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -60,8 +60,16 @@ script('files', 'jquery.fileupload'); </h2> <?php if (!empty($_['templates'])) { ?> <ul> + <li class="hidden template-model"> + <figure> + <img src="" alt="<?php p($l->t('template preview')) ?>" /> + <figcaption></figcaption> + </figure> + <a href="" class="delete-template icon-delete"></a> + <div class="delete-cover"></div> + </li> <?php foreach ($_['templates'] as $template) {?> - <li data-id="<?php p($template['name']) ?>"> + <li> <figure> <img src="<?php p($template['preview']) ?>" alt="<?php p($l->t('template preview')) ?>" /> <figcaption><?php p($template['name']) ?></figcaption> |