mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
23 lines
815 B
Smarty
23 lines
815 B
Smarty
|
{include file='include/colorbox.inc.tpl'}
|
||
|
{footer_script}{literal}
|
||
|
jQuery(document).ready(function() {
|
||
|
$("a.preview-box").colorbox();
|
||
|
});
|
||
|
{/literal}{/footer_script}
|
||
|
<div class="titrePage">
|
||
|
<h2>{'Add New Theme'|@translate}</h2>
|
||
|
</div>
|
||
|
|
||
|
{if not empty($new_themes)}
|
||
|
<div class="themeBoxes">
|
||
|
{foreach from=$new_themes item=theme name=themes_loop}
|
||
|
<div class="themeBox">
|
||
|
<div class="themeName">{$theme.name}</div>
|
||
|
<div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.thumbnail}" onerror="this.src='{$default_screenshot}'"></a></div>
|
||
|
<div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
|
||
|
</div>
|
||
|
{/foreach}
|
||
|
</div> <!-- themeBoxes -->
|
||
|
{else}
|
||
|
<p>{'There is no other theme available.'|@translate}</p>
|
||
|
{/if}
|