Upgrade to Bootstrap 3

This commit is contained in:
benweet 2013-09-03 12:29:19 +01:00
parent 7528726bab
commit 3716535194
8 changed files with 18 additions and 16 deletions

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
#Date Tue Sep 03 2013 11:36:31
#Date Tue Sep 03 2013 12:27:48
CACHE:
index.html

File diff suppressed because one or more lines are too long

View File

@ -1351,7 +1351,7 @@ body{tab-size:4}
.navbar{position:static;padding:0;border:0;border-radius:0}
.navbar .left-space{width:30px;height:38px}
.navbar .right-space{width:20px;height:38px}
.navbar .nav{float:left;margin:6px 10px 0}
.navbar .nav{float:left;margin:6px 10px;height:38px}
.navbar .nav>li{display:inline-block}
.navbar .nav.pull-right{float:right}
.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}

View File

@ -1351,7 +1351,7 @@ body{tab-size:4}
.navbar{position:static;padding:0;border:0;border-radius:0}
.navbar .left-space{width:30px;height:38px}
.navbar .right-space{width:20px;height:38px}
.navbar .nav{float:left;margin:6px 10px 0}
.navbar .nav{float:left;margin:6px 10px;height:38px}
.navbar .nav>li{display:inline-block}
.navbar .nav.pull-right{float:right}
.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}

View File

@ -1351,7 +1351,7 @@ body{tab-size:4}
.navbar{position:static;padding:0;border:0;border-radius:0}
.navbar .left-space{width:30px;height:38px}
.navbar .right-space{width:20px;height:38px}
.navbar .nav{float:left;margin:6px 10px 0}
.navbar .nav{float:left;margin:6px 10px;height:38px}
.navbar .nav>li{display:inline-block}
.navbar .nav.pull-right{float:right}
.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}

View File

@ -299,7 +299,7 @@
<div class="form-group">
<label class="col-lg-4 control-label"
for="input-import-image-size">Size limit (optional)</label>
<div class="col-lg-7">
<div class="col-lg-7 form-inline">
<input type="text" id="input-import-image-size" placeholder="123"
class="col-lg-3 form-control"> px
</div>

View File

@ -134,27 +134,28 @@ if(baseDir.indexOf('-min') !== -1) {
require([
"jquery",
"core",
"eventMgr",
"synchronizer",
"publisher",
"mediaImporter",
"css",
themeModule,
], function($, core) {
], function($, core, eventMgr) {
$(function() {
// Here, all the modules are loaded and the DOM is ready
core.onReady();
// If browser has detected a new application cache.
if(window.applicationCache) {
window.applicationCache.addEventListener('updateready', function(e) {
if(window.applicationCache.status === window.applicationCache.UPDATEREADY) {
window.applicationCache.swapCache();
window.location.reload();
eventMgr.onMessage('New version available! Please refresh the page to upgrade.');
}
}, false);
}
// Here, all the modules are loaded and the DOM is ready
core.onReady();
});
});

View File

@ -276,7 +276,8 @@ body {
}
.nav {
float: left;
margin: 6px 10px 0;
margin: 6px 10px;
height: @input-height-base;
& > li {
display: inline-block;
}