OSDN Git Service

DVB configures added.
[rec10/rec10-git.git] / Rec10WEB / trunk / src / schedule.htm
index f45989d..424c4bf 100644 (file)
         </style>
         <script type="text/javascript">
             <!--
+            dojo.require('dojo.parser');
             dojo.require('dojox.grid.DataGrid');
             dojo.require('dojo.data.ItemFileReadStore');
             dojo.require('dojox.data.CsvStore');
-            dojo.require('dojo.parser');
+            dojo.require("dijit.form.Form");
             dojo.require('dijit.form.FilteringSelect');
             dojo.require('dijit.form.Button');
             // グリッドに表示する元データをロード
     </head>
 
     <!-- テーマの読み込み -->
-    <body class="tundra">  
-        <table
-            id="grid"
-            name="grid"
-            dojoType="dojox.grid.DataGrid"
-            store="store"
-            query="{id:'*'}"
-            autoHeight="true"
-            width="100%"
-            autoWidth="true"
-            clientSort="true"
-            onClick="click">
-            <thead>
-                <tr>
-                    <th width="30px" field="id">ID</th>
-                    <th width="90px" field="type">タイプ</th>
-                    <th width="50px" field="chtxt">チャンネル</th>
-                    <th width="150px" field="title">タイトル</th>
-                    <th width="100px" field="btime">開始</th>
-                    <th width="100px" field="etime">終了</th>
-                    <th width="30px" field="opt">オプション</th>
-                    <th width="50px" field="deltaday">周期</th>
-                </tr>
-            </thead>
-        </table>
-        <select name="exec"
-                dojoType="dijit.form.FilteringSelect"
-                autocomplete="false"
-                value="del"
-                onChange="setType">
-            <option value="del">削除(複数同時可能)</option>
-            <option value="change">変更(最後に選択したもの)</option>
-        </select>
-        <div dojoType="dijit.form.Button" type="submit">実行</div>
-        <div dojoType="dijit.form.TextBox"
-             name="tasknum"
-             id="tasknum"
-             value=""
-             style="display:none">
+    <body class="tundra">
+        <div dojoType="dijit.form.Form" action="rec10web.py" onExecute="this.submit()">
+            <table
+                id="grid"
+                name="grid"
+                dojoType="dojox.grid.DataGrid"
+                store="store"
+                query="{id:'*'}"
+                autoHeight="true"
+                width="100%"
+                autoWidth="true"
+                clientSort="true"
+                onClick="click">
+                <thead>
+                    <tr>
+                        <th width="30px" field="id">ID</th>
+                        <th width="90px" field="type">タイプ</th>
+                        <th width="50px" field="chtxt">チャンネル</th>
+                        <th width="150px" field="title">タイトル</th>
+                        <th width="100px" field="btime">開始</th>
+                        <th width="100px" field="etime">終了</th>
+                        <th width="30px" field="opt">オプション</th>
+                        <th width="50px" field="deltaday">周期</th>
+                    </tr>
+                </thead>
+            </table>
+            <select name="exec"
+                    dojoType="dijit.form.FilteringSelect"
+                    autocomplete="false"
+                    value="del"
+                    onChange="setType">
+                <option value="del">削除(複数同時可能)</option>
+                <option value="change">変更(最後に選択したもの)</option>
+            </select>
+            <div dojoType="dijit.form.Button" type="submit">実行</div>
+            <div dojoType="dijit.form.TextBox"
+                 name="tasknum"
+                 id="tasknum"
+                 value=""
+                 style="display:none">
+            </div>
         </div>
     </body>
 </html>