From 2e5e203280e92beaa1e844bcdace188ef8e82f19 Mon Sep 17 00:00:00 2001 From: benweet Date: Mon, 5 Aug 2013 19:39:53 +0100 Subject: [PATCH] Upgrade to Bootstrap 3 --- js/core.js | 3 +- js/html/bodyIndex.html | 215 ++++++++++++++++++++----------------- js/html/buttonPublish.html | 2 +- js/html/buttonShare.html | 2 +- js/html/buttonSync.html | 2 +- js/publisher.js | 2 +- js/styles/default.less | 85 +++++++++++---- 7 files changed, 185 insertions(+), 126 deletions(-) diff --git a/js/core.js b/js/core.js index e2dd03d5..f41e0b1a 100644 --- a/js/core.js +++ b/js/core.js @@ -205,7 +205,6 @@ define([ eventMgr.onLayoutCreated(layout); } - ; // Create the PageDown editor var editor = undefined; @@ -333,7 +332,7 @@ define([ editor.undoManager.reinit(initDocumentContent, fileDesc.editorStart, fileDesc.editorEnd, fileDesc.editorScrollTop); // Hide default buttons - $(".wmd-button-row").addClass("btn-group").find("li:not(.wmd-spacer)").addClass("btn btn-default").css("left", 0).find("span").hide(); + $(".wmd-button-row").addClass("btn-group").find("li:not(.wmd-spacer)").addClass("btn btn-success").css("left", 0).find("span").hide(); // Add customized buttons $("#wmd-bold-button").append($('')); diff --git a/js/html/bodyIndex.html b/js/html/bodyIndex.html index 5dd58db3..398b3f93 100644 --- a/js/html/bodyIndex.html +++ b/js/html/bodyIndex.html @@ -6,15 +6,16 @@ -
  • -