mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Added translate to everything.
Added new version update modal.
This commit is contained in:
@@ -6,49 +6,49 @@
|
||||
div
|
||||
h6(translate) Special Keys
|
||||
div.special-keys-buttons
|
||||
button(title='Power', ng-click='press("power")').btn.btn-danger
|
||||
button(tooltip='{{ "Power" | translate }}', ng-click='press("power")').btn.btn-danger
|
||||
i.fa.fa-power-off
|
||||
button(title='Camera', ng-click='press("camera")').btn.btn-primary
|
||||
button(tooltip='{{ "Camera" | translate }}', ng-click='press("camera")').btn.btn-primary
|
||||
i.fa.fa-camera
|
||||
button(title='Switch Charset', ng-click='press("switch_charset")').btn.btn-primary.btn-info
|
||||
button(tooltip='{{ "Switch Charset" | translate }}', ng-click='press("switch_charset")').btn.btn-primary.btn-info
|
||||
i.fa Aa
|
||||
button(title='Search', ng-click='press("search")').btn.btn-primary
|
||||
button(tooltip='{{ "Search" | translate }}', ng-click='press("search")').btn.btn-primary
|
||||
i.fa.fa-search
|
||||
|
||||
h6(translate) Volume
|
||||
.btn-group
|
||||
button(title='Mute', ng-click='press("mute")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Mute" | translate }}', ng-click='press("mute")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-volume-off
|
||||
button(title='Volume Down', ng-click='press("volume_down")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Volume Down" | translate }}', ng-click='press("volume_down")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-volume-down
|
||||
button(title='Volume Up', ng-click='press("volume_up")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Volume Up" | translate }}', ng-click='press("volume_up")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-volume-up
|
||||
|
||||
h6(translate) Media
|
||||
.btn-group
|
||||
button(title='Rewind', ng-click='press("media_rewind")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Rewind" | translate }}', ng-click='press("media_rewind")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-fast-backward
|
||||
button(title='Previous', ng-click='press("media_previous")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Previous" | translate }}', ng-click='press("media_previous")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-step-backward
|
||||
button(title='Play/Pause', ng-click='press("media_play_pause")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Play/Pause" | translate }}', ng-click='press("media_play_pause")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-youtube-play
|
||||
button(title='Stop', ng-click='press("media_stop")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Stop" | translate }}', ng-click='press("media_stop")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-stop
|
||||
button(title='Next', ng-click='press("media_next")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Next" | translate }}', ng-click='press("media_next")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-step-forward
|
||||
button(title='Fast Forward', ng-click='press("media_fast_forward")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Fast Forward" | translate }}', ng-click='press("media_fast_forward")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-fast-forward
|
||||
//h6 Physical Media
|
||||
//.btn-group
|
||||
button(title='Play', ng-click='press("KEYCODE_MEDIA_PLAY")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Play" | translate }}', ng-click='press("KEYCODE_MEDIA_PLAY")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-play
|
||||
button(title='Pause', ng-click='press("KEYCODE_MEDIA_PAUSE")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Pause" | translate }}', ng-click='press("KEYCODE_MEDIA_PAUSE")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-pause
|
||||
button(title='Close', ng-click='press("KEYCODE_MEDIA_CLOSE")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Close" | translate }}', ng-click='press("KEYCODE_MEDIA_CLOSE")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-sign-out
|
||||
button(title='Eject', ng-click='press("KEYCODE_MEDIA_EJECT")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Eject" | translate }}', ng-click='press("KEYCODE_MEDIA_EJECT")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-eject
|
||||
button(title='Record', ng-click='press("KEYCODE_MEDIA_RECORD")').btn.btn-primary.btn-xs
|
||||
button(tooltip='{{ "Record" | translate }}', ng-click='press("KEYCODE_MEDIA_RECORD")').btn.btn-primary.btn-xs
|
||||
i.fa.fa-circle
|
||||
//h6(translate) Other Keys
|
||||
//div.special-other-keys-buttons
|
||||
@@ -84,7 +84,7 @@
|
||||
i.fa かな
|
||||
button(ng-click='press("KEYCODE_ASSIST")').btn.btn-default.btn-xs
|
||||
i.fa Assist
|
||||
//button(title='Switch Charset', ng-click='press(80)').btn.btn-primary
|
||||
//button(tooltip='{{ "Switch Charset" | translate }}', ng-click='press(80)').btn.btn-primary
|
||||
i.fa TST
|
||||
//button(ng-click='press("KEYCODE_CLEAR")').btn.btn-primary.btn-sm
|
||||
i.fa Clear
|
||||
@@ -93,22 +93,22 @@
|
||||
tr
|
||||
td
|
||||
td
|
||||
button(title='D-pad Up', ng-click='press("dpad_up")').btn.btn-info.btn-xs
|
||||
button(tooltip='{{ "D-pad Up" | translate }}', ng-click='press("dpad_up")').btn.btn-info.btn-xs
|
||||
i.fa.fa-chevron-up
|
||||
td
|
||||
tr
|
||||
td
|
||||
button(title='D-pad Left', ng-click='press("dpad_left")').btn.btn-info.btn-xs
|
||||
button(tooltip='{{ "D-pad Left" | translate }}', ng-click='press("dpad_left")').btn.btn-info.btn-xs
|
||||
i.fa.fa-chevron-left
|
||||
td
|
||||
button(title='D-pad Center', ng-click='press("dpad_center")').btn.btn-info.btn-xs
|
||||
button(tooltip='{{ "D-pad Center" | translate }}', ng-click='press("dpad_center")').btn.btn-info.btn-xs
|
||||
i.fa.fa-circle-o
|
||||
td
|
||||
button(title='D-pad Right', ng-click='press("dpad_right")').btn.btn-info.btn-xs
|
||||
button(tooltip='{{ "D-pad Right" | translate }}', ng-click='press("dpad_right")').btn.btn-info.btn-xs
|
||||
i.fa.fa-chevron-right
|
||||
tr
|
||||
td
|
||||
td
|
||||
button(title='D-pad Down', ng-click='press("dpad_down")').btn.btn-info.btn-xs
|
||||
button(tooltip='{{ "D-pad Down" | translate }}', ng-click='press("dpad_down")').btn.btn-info.btn-xs
|
||||
i.fa.fa-chevron-down
|
||||
td
|
||||
|
||||
Reference in New Issue
Block a user