aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-24 03:34:02 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-24 03:43:24 +0100
commit6966eb6938356224c61760ec44a15c2e690311e3 (patch)
treea3fdc93176a37f061c5c995ae27b746a4e737498 /web/index.php
parentAdding RECAPTCHA, more standards work (diff)
downloadgentoaster-6966eb6938356224c61760ec44a15c2e690311e3.tar.gz
gentoaster-6966eb6938356224c61760ec44a15c2e690311e3.tar.bz2
gentoaster-6966eb6938356224c61760ec44a15c2e690311e3.zip
Added disk size cap
Diffstat (limited to 'web/index.php')
-rw-r--r--web/index.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/index.php b/web/index.php
index 43be192..6b6abec 100644
--- a/web/index.php
+++ b/web/index.php
@@ -37,6 +37,11 @@
<script type="text/javascript" src="/js/bbq.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src=" /js/jquery.form.wizard.js"></script>
+ <script type="text/javascript">
+ var RecaptchaOptions = {
+ theme : 'clean'
+ };
+ </script>
</head>
<body>
<div id="container">
@@ -108,7 +113,7 @@
<h1>Partitioning</h1>
<label for="partitioning_size">Disk size</label><br />
- <input id="partitioning_size" class="required" type="text" name="size" value="4096"><br>
+ <input id="partitioning_size" class="required" type="text" name="image_size" value="4096"><br>
<label for="">Split</label><br /><br />
<div id="partitioning_split" name="split"></div><br /><br />
@@ -148,6 +153,9 @@
</div>
</form>
</div>
+ <script type="text/javascript">
+ MAX_DISK_SIZE = <?php echo MAX_DISK_SIZE; ?>;
+ </script>
<script type="text/javascript" src=" /js/gentoaster.js"></script>
</body>
</html>