2014-07-19 02:05:50 +00:00
|
|
|
<?php
|
|
|
|
|
$themes = Cms\Classes\Theme::all();
|
2014-10-18 03:32:06 +00:00
|
|
|
?>
|
|
|
|
|
<?php foreach ($themes as $index => $theme): ?>
|
2015-03-14 07:09:54 +00:00
|
|
|
|
|
|
|
|
<div id="themeListItem-<?= $theme->getId() ?>" class="layout-row min-size <?= $theme->isActiveTheme() ? 'active' : null ?>">
|
|
|
|
|
<?= $this->makePartial('theme_list_item', ['theme' => $theme]) ?>
|
2014-07-19 02:05:50 +00:00
|
|
|
</div>
|
2015-03-14 07:09:54 +00:00
|
|
|
|
2014-07-19 02:05:50 +00:00
|
|
|
<?php endforeach ?>
|
2014-10-18 03:32:06 +00:00
|
|
|
|
2014-07-19 02:05:50 +00:00
|
|
|
<div class="layout-row links">
|
|
|
|
|
<div class="layout-cell theme-thumbnail">
|
2014-10-18 03:32:06 +00:00
|
|
|
<!-- Spacer -->
|
2014-07-19 02:05:50 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="layout-cell theme-description">
|
2015-03-16 08:00:39 +00:00
|
|
|
<a
|
|
|
|
|
class="create-new-theme"
|
|
|
|
|
data-control="popup"
|
|
|
|
|
data-handler="onLoadCreateForm"
|
|
|
|
|
data-size="huge"
|
2015-04-04 06:28:51 +00:00
|
|
|
href="javascript:;">
|
2015-03-16 08:33:58 +00:00
|
|
|
<?= e(trans('cms::lang.theme.create_new_blank_theme')) ?>
|
2015-03-16 08:00:39 +00:00
|
|
|
</a>
|
2015-03-14 07:09:54 +00:00
|
|
|
<a
|
|
|
|
|
class="find-more-themes"
|
2015-04-04 06:28:51 +00:00
|
|
|
href="<?= Backend::url('system/updates/install/themes') ?>">
|
2015-03-14 07:09:54 +00:00
|
|
|
<?= e(trans('cms::lang.theme.find_more_themes')) ?>
|
|
|
|
|
</a>
|
2014-07-19 02:05:50 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|