Use Skin instead of Theme

v1.18.x
pichalite 9 years ago
parent 5d38b8d687
commit 90210350f9

@ -61,7 +61,8 @@ define('admin/appearance/skins', function() {
description: theme.description, description: theme.description,
screenshot_url: theme.thumbnail, screenshot_url: theme.thumbnail,
url: theme.preview, url: theme.preview,
css: theme.cssCdn css: theme.cssCdn,
skin: true
}; };
}), }),
showRevert: true showRevert: true
@ -84,7 +85,7 @@ define('admin/appearance/skins', function() {
.find('[data-action="use"]').each(function() { .find('[data-action="use"]').each(function() {
if ($(this).parents('[data-theme]').attr('data-theme')) { if ($(this).parents('[data-theme]').attr('data-theme')) {
$(this) $(this)
.html('Select Theme') .html('Select Skin')
.removeClass('btn-success') .removeClass('btn-success')
.addClass('btn-primary'); .addClass('btn-primary');
} }
@ -97,7 +98,7 @@ define('admin/appearance/skins', function() {
$('[data-theme="' + themeId + '"]') $('[data-theme="' + themeId + '"]')
.addClass('selected') .addClass('selected')
.find('[data-action="use"]') .find('[data-action="use"]')
.html('Current Theme') .html('Current Skin')
.removeClass('btn-primary') .removeClass('btn-primary')
.addClass('btn-success'); .addClass('btn-success');
} }

Loading…
Cancel
Save