This commit is contained in:
Julian Lam
2015-02-18 15:41:44 -05:00
parent 502e806f88
commit 6a69fcd4cd
2 changed files with 5 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ define('admin/appearance/skins', function() {
url: theme.preview,
css: theme.cssCdn
};
})
}),
showRevert: true
}, function(html) {
themeContainer.html(html);
});

View File

@@ -16,10 +16,12 @@
<div class="clear"></div>
</li>
<!-- END themes -->
<!-- IF showRevert -->
<li data-type="bootswatch" data-theme="" data-css="">
<div class="pull-right">
<button class="btn btn-primary pull-right" data-action="use">Revert</button>
</div>
<h4>No Skin</h4>
<p>Remove applied skin and revert back to the base colours</p>
</li>
</li>
<!-- ENDIF showRevert -->