1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00

Fixed all drop-downs for latest ui-bootstrap 0.12 using the new attribute-only directive syntax.

This commit is contained in:
Gunther Brunner 2014-12-02 19:37:22 +09:00
parent 581689d67a
commit ba5d245c53
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@
i(ng-show='!showScreen', tooltip-html-unsafe='{{"Show Screen"|translate}}', tooltip-placement='bottom').fa.fa-eye-slash
.device-name-container(dropdown)
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
a.stf-vnc-device-name.pointer.unselectable(dropdown-toggle)
p
.device-small-image
img(ng-src='/static/app/devices/icon/x24/{{ device.image || "E30HT.jpg" }}')

View file

@ -22,11 +22,11 @@
span.pull-right(ng-if='activeTabs.details && !$root.basicMode')
.btn-group(dropdown).pull-right
button.btn.btn-sm.btn-primary-outline.dropdown-toggle(dropdown-toggle)
button.btn.btn-sm.btn-primary-outline(type='button', dropdown-toggle)
i.fa.fa-columns
span {{"Customize"|translate}}
span(ng-bind='"Customize"|translate')
ul.dropdown-menu(role='menu', data-toggle='dropdown').pointer.stf-device-details-customize
ul.dropdown-menu(role='menu').pointer.stf-device-details-customize
li(ng-repeat='column in columns track by column.name',
ng-hide='!adminMode && columnDefinitions[column.name].admin',
ng-click='$event.stopPropagation()')