Skip to content

Commit 722de6e

Browse files
committed
Legacy WebUI: web-bmlの更新と微調整
データ表示中も動画の操作をできるようにする 数字ボタンはめったに使わないので折りたたむ
1 parent aa04621 commit 722de6e

File tree

5 files changed

+15
-36
lines changed

5 files changed

+15
-36
lines changed

ini/HttpPublic/legacy/default.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -457,41 +457,37 @@ th, td {
457457
min-width: 2em;
458458
}
459459

460-
#key1, #key2, #key3, #key4, #key18, #key19 {
460+
#key1, #key2, #key3, #key4, #key18, #key19, #key20, #key21, #key22, #key23, #key24 {
461461
min-width: 3em;
462462
}
463463

464+
#key18 {
465+
border: 2px solid #aae;
466+
}
467+
464468
#key20 {
465469
background-color: gray;
466470
color: white;
467-
margin-left: 1em;
468-
margin-right: 1em;
469-
min-width: 3em;
470471
}
471472

472473
#key21 {
473474
background-color: rgb(0, 114, 214);
474475
color: white;
475-
min-width: 3em;
476476
}
477477

478478
#key22 {
479479
background-color: rgb(201, 0, 0);
480480
color: white;
481-
min-width: 3em;
482481
}
483482

484483
#key23 {
485484
background-color: rgb(27, 135, 0);
486485
color: white;
487-
min-width: 3em;
488486
}
489487

490488
#key24 {
491489
background-color: rgb(227, 178, 0);
492490
color: white;
493-
margin-right: 1em;
494-
min-width: 3em;
495491
}
496492

497493
.remote-control-indicator {

ini/HttpPublic/legacy/util.lua

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function VideoWrapperBegin()
289289
return '<div class="video-wrapper" id="vid-wrap">'
290290
..'<div class="data-broadcasting-browser-container"><div class="data-broadcasting-browser-content"></div></div>'
291291
..'<div class="video-full-container arib-video-invisible-container" id="vid-full">'
292-
..'<div class="video-container arib-video-container" id="vid-cont">'
292+
..'<div class="video-container arib-video-container arib-video-container-tunnel-pointer" id="vid-cont">'
293293
end
294294

295295
function VideoWrapperEnd()
@@ -336,30 +336,13 @@ end
336336
function WebBmlScriptTemplate(label)
337337
return USE_DATACAST and [=[
338338
<div class="remote-control" style="display:none">
339-
<button type="button" id="key21">青</button><button
340-
type="button" id="key22">赤</button><button
341-
type="button" id="key23">緑</button><button
342-
type="button" id="key24">黄</button><button
343-
type="button" id="key1">↑</button><button
344-
type="button" id="key3">←</button><button
345-
type="button" id="key18">決定</button><button
346-
type="button" id="key4">→</button><button
347-
type="button" id="key2">↓</button><button
348-
type="button" id="key20">d</button><button
349-
type="button" id="key19">戻る</button><button
350-
type="button" id="key6">1</button><button
351-
type="button" id="key7">2</button><button
352-
type="button" id="key8">3</button><button
353-
type="button" id="key9">4</button><button
354-
type="button" id="key10">5</button><button
355-
type="button" id="key11">6</button><button
356-
type="button" id="key12">7</button><button
357-
type="button" id="key13">8</button><button
358-
type="button" id="key14">9</button><button
359-
type="button" id="key15">10</button><button
360-
type="button" id="key16">11</button><button
361-
type="button" id="key17">12</button><button
362-
type="button" id="key5">0</button>
339+
<button
340+
type="button" id="key]=]..table.concat({'21">青','22">赤','23">緑','24">黄','1">↑','3">←','18">決定','4">→','2">↓','20">d','19">戻る'},[=[</button><button
341+
type="button" id="key]=])..[=[</button>
342+
<label class="expand-on-checked"><input type="checkbox">数字</label><span class="expand-on-checked">
343+
<button
344+
type="button" id="key]=]..table.concat({'6">1','7">2','8">3','9">4','10">5','11">6','12">7','13">8','14">9','15">10','16">11','17">12','5">0'},[=[</button><button
345+
type="button" id="key]=])..[=[</button></span>
363346
<span class="remote-control-receiving-status" style="display:none">Loading...</span>
364347
<div class="remote-control-indicator"></div>
365348
</div>

ini/HttpPublic/legacy/web_bml_play_ts.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ini/HttpPublic/legacy/web_bml_play_ts.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)