styling for the demos
[unfold.git] / portal / templates / registration_view.html
index d7788d0..3d19def 100644 (file)
@@ -2,7 +2,7 @@
 
 {% block unfold1_main %}        
 
-<div class="onelab-title well well-lg">
+<div class="onelab-title well-lg">
   <h2>OneLab Experimenter Registration</h2>
   <h4>For First Line Support please <a href="/portal/contact" >Contact Support</a></h3>
 </div>
       </div>
       <div class="col-xs-4"><p class="form-hint">Please select an authority responsible for vetting your account</p></div>
     </div>
+
+       <!-- LOGIN
+       TODO: Login should be suggested from user email or first/last name, and
+       checked for existence. In addition, the full HRN should be shown to the
+       user.
+       -->
+    <div class="form-group">
+      <label for="login" class="col-xs-4 control-label">Login</label>
+      <div class="col-xs-4">
+         <input type="text" name="login" size="25" class="form-control" minlength="2" value="{{ login }}" placeholder="Login" required />
+      </div>
+      <div class="col-xs-4"><p class="form-hint">Enter your login</p></div>
+    </div>
     
     <div class="form-group">
       <label for="email" class="col-xs-4 control-label">Email</label>
       <div class="col-xs-4"><p class="form-hint">Account Delegation: Manual (Advanced Users)</p></div>
     </div>
     <div class="form-group" id="register">
-      <div class="col-xs-offset-4 col-xs-4">
-       <button class="submit btn btn-default" type="submit">Register</button>
-      </div>
+      <button class="submit btn btn-default col-md-offset-4 col-xs-4" type="submit">Register</button>
+    </div>
     </div>
   </fieldset>
   </form>