From 73d3cf01d1c119c6886f8dd64e8c9556c8156146 Mon Sep 17 00:00:00 2001 From: xtne6f Date: Sat, 22 Aug 2020 16:07:07 +0900 Subject: [PATCH] =?UTF-8?q?Legacy=20WebUI:=20=E3=83=97=E3=83=AD=E3=83=86?= =?UTF-8?q?=E3=82=AF=E3=83=88=E6=A9=9F=E8=83=BD=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ini/HttpPublic/legacy/default.css | 2 +- ini/HttpPublic/legacy/recinfo.html | 2 +- ini/HttpPublic/legacy/recinfodesc.html | 10 +++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ini/HttpPublic/legacy/default.css b/ini/HttpPublic/legacy/default.css index ce3204723e..1759cf9f58 100644 --- a/ini/HttpPublic/legacy/default.css +++ b/ini/HttpPublic/legacy/default.css @@ -44,7 +44,7 @@ th, td { } #footer { - margin-top: 1em; + margin-top: 2em; margin-bottom: 2em; } diff --git a/ini/HttpPublic/legacy/recinfo.html b/ini/HttpPublic/legacy/recinfo.html index e25d905a15..d4ab9ce8f6 100644 --- a/ini/HttpPublic/legacy/recinfo.html +++ b/ini/HttpPublic/legacy/recinfo.html @@ -41,7 +41,7 @@

録画済み一覧

v=a[i] ct:Append(' ' ..FormatTimeAndDuration(v.startTime, v.durationSecond) - ..''..v.serviceName..''..v.title + ..''..v.serviceName..''..v.title..''..(v.protectFlag and '🔑' or '-') ..'0 and ' class="drops"' or v.scrambles>0 and ' class="scrambles"' or '')..'>'..v.drops..'/'..v.scrambles ..''..v.comment..'\n') diff --git a/ini/HttpPublic/legacy/recinfodesc.html b/ini/HttpPublic/legacy/recinfodesc.html index fb94f5f7f9..b39c50d2b2 100644 --- a/ini/HttpPublic/legacy/recinfodesc.html +++ b/ini/HttpPublic/legacy/recinfodesc.html @@ -26,7 +26,10 @@

録画済み詳細

post=AssertPost() if post then - if mg.get_var(post,'del') then + if mg.get_var(post,'protect') then + edcb.ChgProtectRecFileInfo(id,mg.get_var(post,'protect')=='y') + ct:Append('
変更しました
\n') + elseif mg.get_var(post,'del') then edcb.DelRecFileInfo(id) ct:Append('
削除しました
\n') end @@ -103,6 +106,11 @@

録画済み詳細

end end ct:Append('
\n' + ..'
プロテクト
\n' + ..'
\n' + ..'\n' + ..'\n' + ..'
\n' ..(#v.programInfo>0 and '
番組情報
\n'..v.programInfo:gsub('\r?\n', '
\n')..'
\n' or '') ..(#v.errInfo>0 and '
エラーログ
\n'..v.errInfo:gsub('\r?\n', '
\n')..'
\n' or '') ..'
-
\n'