trunk 20080912
[gitenigma.git] / data / templates / flashMgrWriteMenu.tmp
blobbc99b3db13a6aa57d44b39f365faed1683e62272
1 <html>
2         <head>
3                 <title>Write Flash Partition</title>
4                 <link rel="stylesheet" type="text/css" href="webif.css">
5                 <script>
6                         function selectFile()
7                         {
8                                 var file = document.fileselector.file.value;
9                                 if (window.confirm('Do you really want to WRITE flash partition #MTD# (#MTDNAME#)? Note: All data in this partition will be lost.'))
10                                         document.location = "/writeFlashPartition?mtd=" + document.fileselector.mtd.value + "&file=" + file;
11                         }
12                 </script>
13         </head>
14         <body>
15                 <form name="fileselector">
16                         <input type="hidden" name="mtd" value="#MTD#">
17                         <table width="100%" border="0" cellpadding="0" cellspacing="10">
18                                 <tr>
19                                         <td>Please specify the full filename of the image (e.g. /tmp/image.img) to be written to partition #MTD# (#MTDNAME#):</td>
20                                 </tr>
21                                 <tr>
22                                         <td>
23                                                 <input name="file" type="text" size="70" maxlength="70" value="#FILE#">
24                                         </td>
25                                 </tr>
26                                 <tr>
27                                         <td>&nbsp;</td>
28                                 </tr>
29                                 <tr>
30                                         <td>
31                                                 #FLASHBUTTON#
32                                         </td>
33                                 </tr>
34                         </table>
35                 </form>
36         </body>
37 </html>