+ <div class="form-group">
+ <label for="password" class="control-label">Authentication</label>
+ <input type="password" id="password" name="password" class="form-control" style="width:200px" minlength="4" value="{{ password }}" placeholder="Password" required/>
+ </div>
+ <div class="form-group">
+ <input type="password" id="confirmpassword" name="confirmpassword" style="width:200px" minlength="4" class="form-control" value="" placeholder="Confirm Password" required/>
+ <p class="help-block">Your password allows you to log in to this portal.</p>
+ </div>
+ <div class="form-group">
+ <!--<label for="question" class="control-label">Keys</label> -->
+ <select name="question" class="form-control" style="width:200px" id="key-policy" required>
+ <option value="generate">Generate my keys for me (recommended)</option>
+ <option value="upload">Upload my public key (advanced users only)</option>
+ </select>
+ <p class="help-block">Your public/private key pair allows you to access the testbeds.</p>
+ </div>
+ <div class="form-group" style="display:none;" id="upload_key">
+ <label for="file" class="control-label">Upload public key</label>
+ <input type="file" name="user_public_key" class="form-control" style="width:200px" id="user_public_key" required/>
+ <br />
+ <div class="alert alert-danger" id="pkey_del_msg">
+ In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to i
+ <a href="http://trac.myslice.info/wiki/InstallSfa" target="_blank">delegate your public key to the portal.</a>
+ </div>
+ </div>
+ <div class="form-group">
+ <input type="checkbox" required /> I agree to the terms and conditions.
+ </div>
+ <div class="form-group" id="register">
+ <button class="submit btn btn-default" type="submit">Sign up</button>
+ </div>
+ </form>