Add ellipsis overflow to device name.

This commit is contained in:
Gunther Brunner
2014-04-14 19:06:42 +09:00
parent 3aa44f1a9c
commit 2279099a10
2 changed files with 7 additions and 2 deletions

View File

@@ -18,12 +18,12 @@
i(ng-show='showScreen', tooltip-html-unsafe='{{"Just control device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye
i(ng-show='!showScreen', tooltip-html-unsafe='{{"View device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye-slash
div
.device-name-containerX
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
p
.device-small-image
img(ng-src='{{device.image ? "/static/devices/" + device.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
span {{ device.name }}
span.device-name-text {{ device.name }}
span.caret(ng-show='groupDevices.length > 0')
span(ng-show='device && !device.present', translate) (Absent)