mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
fixing up bs3 integration for themes page
This commit is contained in:
@@ -39,7 +39,7 @@ var nodebb_admin = (function(nodebb_admin) {
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var scriptEl = document.createElement('script');
|
var scriptEl = document.createElement('script');
|
||||||
scriptEl.src = 'http://api.bootswatch.com/2/?callback=nodebb_admin.themes.render';
|
scriptEl.src = 'http://api.bootswatch.com/3/?callback=nodebb_admin.themes.render';
|
||||||
document.body.appendChild(scriptEl);
|
document.body.appendChild(scriptEl);
|
||||||
|
|
||||||
var bootstrapThemeContainer = document.querySelector('#bootstrap_themes'),
|
var bootstrapThemeContainer = document.querySelector('#bootstrap_themes'),
|
||||||
@@ -94,7 +94,7 @@ var nodebb_admin = (function(nodebb_admin) {
|
|||||||
'<div>' +
|
'<div>' +
|
||||||
'<div class="pull-right">' +
|
'<div class="pull-right">' +
|
||||||
'<button class="btn btn-primary" data-action="use">Use</button> ' +
|
'<button class="btn btn-primary" data-action="use">Use</button> ' +
|
||||||
'<button class="btn" data-action="preview">Preview</button>' +
|
'<button class="btn btn-default" data-action="preview">Preview</button>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<h4>' + themes[x].name + '</h4>' +
|
'<h4>' + themes[x].name + '</h4>' +
|
||||||
'<p>' +
|
'<p>' +
|
||||||
|
|||||||
Reference in New Issue
Block a user