Factor out default show background colour and fix some style issues
This commit is contained in:
parent
f63ce23c9f
commit
2a1d09bc08
9 changed files with 49 additions and 20 deletions
|
@ -274,6 +274,8 @@ var AIRTIME = (function(AIRTIME) {
|
|||
animated: false,
|
||||
create: function( event, ui ) {
|
||||
var $div = $showList.find(".ui-accordion-content-active");
|
||||
console.log(event);
|
||||
//$div.css()
|
||||
createShowTable($div);
|
||||
},
|
||||
change: function( event, ui ) {
|
||||
|
@ -288,8 +290,16 @@ var AIRTIME = (function(AIRTIME) {
|
|||
|
||||
function createToolbarButtons ($el) {
|
||||
var $menu = $("<div class='btn-toolbar' />");
|
||||
|
||||
$menu.append("<div class='btn-group'>" +
|
||||
|
||||
$menu.append("<div class='btn-group'>" +
|
||||
"<button class='btn btn-small' id='his_create'>" +
|
||||
"<i class='icon-white icon-plus'></i>" +
|
||||
$.i18n._("New Log Entry") +
|
||||
"</button>" +
|
||||
"</div>");
|
||||
|
||||
|
||||
$menu.append("<div class='btn-group'>" +
|
||||
"<button class='btn btn-small dropdown-toggle' data-toggle='dropdown'>" +
|
||||
$.i18n._("Select")+" <span class='caret'></span>" +
|
||||
"</button>" +
|
||||
|
@ -300,13 +310,6 @@ var AIRTIME = (function(AIRTIME) {
|
|||
"</ul>" +
|
||||
"</div>");
|
||||
|
||||
$menu.append("<div class='btn-group'>" +
|
||||
"<button class='btn btn-small' id='his_create'>" +
|
||||
"<i class='icon-white icon-plus'></i>" +
|
||||
$.i18n._("Create Entry") +
|
||||
"</button>" +
|
||||
"</div>");
|
||||
|
||||
$menu.append("<div class='btn-group'>" +
|
||||
"<button class='btn btn-small' id='his_trash'>" +
|
||||
"<i class='icon-white icon-trash'></i>" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue