Skip to content

Commit

Permalink
Merge pull request #35 from Aleks130699/master
Browse files Browse the repository at this point in the history
Добавление поддержки Яндекс Станции Лайт
  • Loading branch information
sergejey committed Nov 3, 2021
2 parents 579f654 + 17bc4c7 commit 8de1197
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Binary file added templates/yadevices/img/cover/yandexmicro.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions templates/yadevices/yastations_edit.html
Expand Up @@ -73,7 +73,7 @@ <h2><img src="[#ICON_URL#]"> [#TITLE#]</h2>
[#endif#]
</div>
</div>
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexmicro' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
<div class="form-group [#if ERR_IP#]has-error[#endif#]">
<label for="" class="col-lg-2 col-md-2 col-sm-12 col-xs-12" style="text-align: left;padding: 5px 10px 0px 15px;">IP</label>
<div class="col-lg-10 col-md-10 col-sm-12 col-xs-12">
Expand All @@ -87,7 +87,7 @@ <h2><img src="[#ICON_URL#]"> [#TITLE#]</h2>
<label class="radio-inline">
<input type="radio" name="tts" value="0"[#if TTS="0"#] checked[#endif#] onclick="$('#cloudTTSHelpHint').hide();"> <#LANG_NO#>
</label>
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexmicro' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if DEVICE_TOKEN!="" AND IP != ""#]
<label class="radio-inline">
<input type="radio" name="tts" value="1"[#if TTS="1"#] checked[#endif#] onclick="$('#cloudTTSHelpHint').hide();"> <#LANG_YES#> (локально)
Expand Down Expand Up @@ -124,7 +124,7 @@ <h2><img src="[#ICON_URL#]"> [#TITLE#]</h2>
</label>
</div>
</div>
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexmicro' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]

<div class="form-group">
<label for="" class="col-lg-2 col-md-2 col-sm-12 col-xs-12" style="text-align: left;padding: 5px 10px 0px 15px;">Плеер для сцены:</label>
Expand Down Expand Up @@ -220,7 +220,7 @@ <h2><img src="[#ICON_URL#]"> [#TITLE#]</h2>
<div class="form-group">
<label for="" class="col-lg-2 col-md-2 col-sm-12 col-xs-12" style="text-align: left;padding: 5px 10px 0px 15px;">Способ отправки:</label>
<div class="col-lg-10 col-md-10 col-sm-12 col-xs-12">
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if PLATFORM == 'yandexmini' OR PLATFORM == 'yandexmicro' OR PLATFORM == 'yandexstation' OR PLATFORM == 'yandexstation_2'#]
[#if DEVICE_TOKEN!="" AND IP != ""#]
<label class="radio-inline">
<input type="radio" onchange="if($(this).prop('checked')) {$('#sendAsOnlyCloud').hide();$('#cloudTTSHelpHintdemo').hide();}" name="cloud" value="0" [#if CLOUD=="0"#] checked[#endif#]> Локально
Expand Down
2 changes: 2 additions & 0 deletions templates/yadevices/yastations_search_admin.html
Expand Up @@ -27,6 +27,8 @@
<a class="pull-left" href="#">
[#if PLATFORM == 'yandexmini'#]
<img class="media-object" src="/templates/yadevices/img/cover/yandexmini.png">
[#else if PLATFORM == 'yandexmicro'#]
<img class="media-object" src="/templates/yadevices/img/cover/yandexmicro.png">
[#else if PLATFORM == 'yandexstation'#]
<img class="media-object" src="/templates/yadevices/img/cover/yandexstation.png">
[#else if PLATFORM == 'linkplay_a98'#]
Expand Down

0 comments on commit 8de1197

Please sign in to comment.