OSDN Git Service

fix html
[rec10/rec10-git.git] / Rec10WEB / trunk / src / rswi.htm
index 502ba48..bd0e3da 100644 (file)
@@ -1,11 +1,11 @@
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="ja">
+<html lang="ja">
     <head>
-        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-        <title>Rec10 Simple Web Interface ver.0.9.0</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+        <title>Rec10 Simple Web Interface ver.0.9.1</title>
         <!-- dojo.jsの読み込み -->
-        <script src="./dojo/dojo/dojo.js" djConfig="parseOnLoad:true">
+        <script type="text/javascript" src="./dojo/dojo/dojo.js" djConfig="parseOnLoad:true">
         </script>
         <!-- テーマの読み込み -->
         <style type="text/css">
             }
             function changeOpts(){
                 var str=dijit.byId("opts").value;
-                if (str.indexOf("a")>-1){
-                    dijit.byId("anime").setChecked(true);
+                if (str.indexOf("v")>-1){
+                    dijit.byId("vfr").setChecked(true);
                 }else{
-                    dijit.byId("anime").setChecked(false);
+                    dijit.byId("vfr").setChecked(false);
                 }
                 if (str.indexOf("2")>-1){
-                    dijit.byId("2pass").setChecked(true);
+                    dijit.byId("dualpass").setChecked(true);
                 }else{
-                    dijit.byId("2pass").setChecked(false);
+                    dijit.byId("dualpass").setChecked(false);
                 }
                 if (str.indexOf("d")>-1){
                     dijit.byId("dualaudio").setChecked(true);
             }
             function setbtime_now(){
                 var now =new Date();
-                now.setMinutes(0,0,0);
+                now.getMinutes()
+                var nm=now.getMinutes();
+                nm=nm-nm%10;
+                nm=nm+10;
+                now.setMinutes(nm,0,0);
                 setbtime(now);
             }
             function setetime_now(){
             }
             function setnow(){
                 var now =new Date();
-                now.setMinutes(0,0,0);
+                var nm=now.getMinutes();
+                nm=nm-nm%10;
+                nm=nm+10;
+                now.setMinutes(nm,0,0);
                 setbtime(now);
                 setetime(now);
             }
                 //stropt=stropt.replace("undefined","");
                 //stropt=""
                 if (str.indexOf("(2)")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"d";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("(二)")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"d";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("[二]")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"d";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("(二)")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"d";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("(二)")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"d";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("5.1")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"5";
                     dijit.byId("opts").setValue(str);
                 }else if(str.indexOf("5.1")>-1){
-                    //dijit.byId("2pass").setChecked(true);
+                    //dijit.byId("dualpass").setChecked(true);
                     str=stropt+"5";
                     dijit.byId("opts").setValue(str);
                 }
                    dojoType="dijit.form.TextBox"
                    value="<!--title-value//-->"
                    id="title"
-                   name="title">チャンネル
+                   name="title">
+            チャンネル
             <select name="chtxt"
                     dojoType="dijit.form.FilteringSelect"
                     autocomplete="false"
 
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Mon" name="day_Mon" value="1">月曜</input>
+                   id="day_Mon" name="day_Mon" value="1">月曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Tue" name="day_Tue" value="2">火曜</input>
+                   id="day_Tue" name="day_Tue" value="2">火曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Wed" name="day_Wed" value="3">水曜</input>
+                   id="day_Wed" name="day_Wed" value="3">水曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Thu" name="day_Thu" value="4">木曜</input>
+                   id="day_Thu" name="day_Thu" value="4">木曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Fri" name="day_Fri" value="5">金曜</input>
+                   id="day_Fri" name="day_Fri" value="5">金曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Sat" name="day_Sat" value="6">土曜</input>
+                   id="day_Sat" name="day_Sat" value="6">土曜
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="day_Sun" name="day_Sun" value="7">日曜</input>
+                   id="day_Sun" name="day_Sun" value="7">日曜
               処理後自動移動オプション
             <select name="move"
                     dojoType="dijit.form.FilteringSelect"
             </select>
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="anime" name="anime" value="a"
-                   onClick="setOpts(this)">アニメ</input>
+                   id="vfr" name="vfr" value="v"
+                   onClick="setOpts(this)">可変フレームレート
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
                    id="dualaudio" name="dualaudio" value="d"
-                   onClick="setOpts(this)">二ヶ国語放送</input>
+                   onClick="setOpts(this)">二ヶ国語放送
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
                    id="pentaaudio" name="pentaaudio" value="5"
-                   onClick="setOpts(this)">5.1ch放送</input>
+                   onClick="setOpts(this)">5.1ch放送
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
-                   id="2pass" name="2pass" value="2"
-                   onClick="setOpts(this)">2passモード</input>
+                   id="dualpass" name="dualpass" value="2"
+                   onClick="setOpts(this)">2passモード
             <input type="checkbox"
                    dojoType="dijit.form.CheckBox"
                    id="datename" name="datename" value="N"
-                   onClick="setOpts(this)">タイトル日付追加</input>
+                   onClick="setOpts(this)">タイトル日付追加
             Options
             <div name="opts"
                  dojoType="dijit.form.ValidationTextBox"
         </div>
     </div>
 </body>
-</html>
+</html>
\ No newline at end of file