Revision f6bbbe36
src/sunstone/public/js/sunstone.js | ||
---|---|---|
582 | 582 |
"<div class='eight columns'>"+ |
583 | 583 |
'<div class="button-bar">'+ |
584 | 584 |
'<ul class="button-group right">'+ |
585 |
'<li>'+ |
|
586 |
"<div id='vmsstopresume_buttons'>"+
|
|
585 |
'<li id="vmsstopresume_buttons">'+
|
|
586 |
"<div>"+ |
|
587 | 587 |
"<div href='#' class='top_button small button secondary dropdown radius'>"+ |
588 | 588 |
"<i class='icon-play'/> / <i class='icon-pause'/>"+ |
589 | 589 |
"<ul>"+ |
... | ... | |
591 | 591 |
"</div>"+ |
592 | 592 |
"</div>"+ |
593 | 593 |
'</li>'+ |
594 |
'<li>'+ |
|
595 |
"<div id='vmsoneoff_buttons'>"+
|
|
594 |
'<li id="vmsoneoff_buttons">'+
|
|
595 |
"<div>"+ |
|
596 | 596 |
"<div href='#' class='top_button small button secondary dropdown radius'>"+ |
597 | 597 |
"<i class='icon-off'/>"+ |
598 | 598 |
"<ul>"+ |
... | ... | |
600 | 600 |
"</div>"+ |
601 | 601 |
"</div>"+ |
602 | 602 |
'</li>'+ |
603 |
'<li>'+ |
|
604 |
"<div id='vmsdelete_buttons'>"+
|
|
603 |
'<li id="vmsdelete_buttons">'+
|
|
604 |
"<div>"+ |
|
605 | 605 |
"<div href='#' class='top_button small button secondary dropdown radius'>"+ |
606 | 606 |
"<i class='icon-trash'/>"+ |
607 | 607 |
"<ul>"+ |
... | ... | |
609 | 609 |
"</div>"+ |
610 | 610 |
"</div>"+ |
611 | 611 |
'</li>'+ |
612 |
'<li>'+ |
|
613 |
"<div id='vmsplanification_buttons'>"+
|
|
612 |
'<li id="vmsplanification_buttons">'+
|
|
613 |
"<div>"+ |
|
614 | 614 |
"<div href='#' class='top_button small button secondary dropdown radius'>"+ |
615 | 615 |
"<i class='icon-th-list'/>"+ |
616 | 616 |
"<ul>"+ |
... | ... | |
754 | 754 |
action_block.append(buttons_row); |
755 | 755 |
|
756 | 756 |
if ($("#more_buttons ul li", action_block).length == 0 ) { |
757 |
$("#more_buttons", action_block).hide()
|
|
757 |
$("#more_buttons", action_block).remove()
|
|
758 | 758 |
} |
759 | 759 |
|
760 | 760 |
if ($("#user_buttons ul li", action_block).length == 0 ) { |
761 |
$("#user_buttons", action_block).hide()
|
|
761 |
$("#user_buttons", action_block).remove()
|
|
762 | 762 |
} |
763 | 763 |
|
764 | 764 |
if ($("#vmsplanification_buttons ul li", action_block).length == 0 ) { |
765 |
$("#vmsplanification_buttons", action_block).hide()
|
|
765 |
$("#vmsplanification_buttons", action_block).remove()
|
|
766 | 766 |
} |
767 | 767 |
|
768 | 768 |
if ($("#vmsdelete_buttons ul li", action_block).length == 0 ) { |
769 |
$("#vmsdelete_buttons", action_block).hide()
|
|
769 |
$("#vmsdelete_buttons", action_block).remove()
|
|
770 | 770 |
} |
771 | 771 |
|
772 | 772 |
if ($("#vmsoneoff_buttons ul li", action_block).length == 0 ) { |
773 |
$("#vmsoneoff_buttons", action_block).hide()
|
|
773 |
$("#vmsoneoff_buttons", action_block).remove()
|
|
774 | 774 |
} |
775 | 775 |
|
776 | 776 |
if ($("#vmsstopresume_buttons ul li", action_block).length == 0 ) { |
777 |
$("#vmsstopresume_buttons", action_block).hide()
|
|
777 |
$("#vmsstopresume_buttons", action_block).remove()
|
|
778 | 778 |
} |
779 | 779 |
|
780 | 780 |
if ($("#user_buttons ul li", action_block).length == 0 ) { |
781 |
$("#user_buttons", action_block).hide()
|
|
781 |
$("#user_buttons", action_block).remove()
|
|
782 | 782 |
} |
783 | 783 |
//action_block.foundationButtons(); |
784 | 784 |
|
Also available in: Unified diff