Skip to content
Browse files

narcissus: add image type selection to frontend

* Still hidden with javascript voodoo
  • Loading branch information...
1 parent 797c350 commit 20f85dfbaccbc956a526ab2d8b0f210bf25e35c0 @koenkooi koenkooi committed Sep 21, 2009
Showing with 11 additions and 0 deletions.
  1. +11 −0 index.php
View
11 index.php
@@ -10,6 +10,7 @@ function initForm() {
toggleVisibility('devman');
toggleVisibility('console_packages');
toggleVisibility('x11_packages');
+ toggleVisibility('imagetypebox');
environmentChange();
}
@@ -260,6 +261,16 @@ function config_dropdown()
print "</div>";
?>
+
+<div id='imagetypebox'>
+<input name="imagetype" type="radio" checked="checked" value="tbz2">tar.bz2
+<input name="imagetype" type="radio" value="ext2">ext2
+<input name="imagetype" type="radio" value="ubifs">ubifs2
+<input name="imagetype" type="radio" value="jffs2">jffs2
+</div>
+
+<hr width="80%"/>
+
Image name:
<input type="text" name="name" id="name" value="random-<?print(substr(md5(time()),0,8));?>"/>
<hr width="80%"/>

0 comments on commit 20f85df

Please sign in to comment.
Something went wrong with that request. Please try again.