fixing minor errors in css in composer

v1.18.x
Julian Lam 12 years ago
parent c1a41c6605
commit 45d5524df7

@ -5,11 +5,11 @@ define(function() {
tasklist: undefined, tasklist: undefined,
init: function() { init: function() {
var footerEl = document.getElementById('footer'); var footerEl = document.getElementById('footer');
taskbar.taskbar = document.createElement('div'); taskbar.taskbar = document.createElement('div');
var jTaskbar = $(taskbar.taskbar); var jTaskbar = $(taskbar.taskbar);
taskbar.taskbar.innerHTML = '<div class="navbar-inner"><ul class="nav pull-right"></ul></div>'; taskbar.taskbar.innerHTML = '<div class="navbar-inner"><ul class="nav navbar-nav pull-right"></ul></div>';
taskbar.taskbar.className = 'taskbar navbar navbar-fixed-bottom'; taskbar.taskbar.className = 'taskbar navbar navbar-default navbar-fixed-bottom';
taskbar.taskbar.id = 'taskbar'; taskbar.taskbar.id = 'taskbar';
taskbar.tasklist = taskbar.taskbar.querySelector('ul'); taskbar.tasklist = taskbar.taskbar.querySelector('ul');
@ -60,7 +60,7 @@ define(function() {
var element = $(taskbar.tasklist).find('li[data-uuid="'+uuid+'"]'); var element = $(taskbar.tasklist).find('li[data-uuid="'+uuid+'"]');
if(element.length) if(element.length)
return; return;
var btnEl = document.createElement('li'); var btnEl = document.createElement('li');
btnEl.innerHTML = '<a href="#">' + btnEl.innerHTML = '<a href="#">' +

@ -31,7 +31,7 @@
</head> </head>
<body> <body>
<div class="navbar navbar-inverse navbar-fixed-top" id="header-menu"> <div class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="header-menu">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@ -42,7 +42,7 @@
<a class="navbar-brand" href="/">{title}</a> <a class="navbar-brand" href="/">{title}</a>
</div> </div>
<div class="navbar-collapse collapse"> <div class="navbar-collapse collapse navbar-ex1-collapse">
<ul id="main-nav" class="nav navbar-nav"> <ul id="main-nav" class="nav navbar-nav">
<li> <li>
<a href="/recent">Recent</a> <a href="/recent">Recent</a>

Loading…
Cancel
Save