join_view: terms and condition line added
[unfold.git] / portal / templates / join_view.html
index a581730..89d06ba 100644 (file)
@@ -5,7 +5,7 @@
 
 <div class="row">
        <div class="col-md-12">
-       <h1><img src="{{ STATIC_URL }}icons/testbed-xs.png" alt="Join Federation" /> Add organization</h1>
+       <h1><img src="{{ STATIC_URL }}icons/testbed-xs.png" alt="Join Federation" /> Request to add organization</h1>
        </div>
 </div>
 <div class="row">
@@ -38,7 +38,7 @@
 <div class="row">
   
   {% csrf_token %}
-  <div class="col-md-6">
+  <div class="col-md-4">
        <h3>Organization</h3>
        
        <div class="form-group">
 
        <div class="form-group">  
         <input type="text" id="site_abbreviated_name" name="site_abbreviated_name" value="{{ site_abbreviated_name }}" style="width:200px" 
-               title="Maximum eight characters, joined, all lower case. Example: 'upmc' for Université Pierre et Marie Curie. This will be used by the system as an identifier for the organization." placeholder="Short name" maxlength="40" class="form-control" required>
+               title="Maximum eight characters, joined, all lower case. Example: 'upmc' for Université Pierre et Marie Curie. This will be used by the system as an identifier for the organization." placeholder="Short name" maxlength="8" class="form-control" required>
     </div>
        <div class="form-group">  
         <input type="text" id="site_url" name="site_url" value="{{ site_url }}" style="width:200px" placeholder="http://" maxlength="128" class="form-control" required>
     </div>
   </div>
   
-  <div class="col-md-6">
+  <div class="col-md-4">
        <h3>Manager</h3>
 
        <div class="form-group">
@@ -95,7 +95,7 @@
                placeholder="Email" maxlength="40" class="form-control" required>
        </div>
        <div class="form-group">
-       <input type="text" id="pi_phone" name="pi_phone" value="{{ pi_phone }}" 
+       <input type="tel" id="pi_phone" name="pi_phone" value="{{ pi_phone }}" 
                title="We may phone the manager as part of the validation process, and in case any issues arise with the use of the system."
                style="width:200px" placeholder="Phone number"  maxlength="20" class="form-control" required>
     </div>
 
        </div>
 </div>
-<div class="row">
-       <div class="col-md-12" style="text-align:center;">
-               <button type="submit" class="btn btn-default" style="left: 300px; position: absolute;">Submit</button>
+       <div class="form-group" >
+               <input type="checkbox" name="agreement" value="agreement" required />&nbsp;&nbsp; I agree to the
+<a href="/terms" target="_blank">terms and conditions.</a>
+
+               <br><br>
+               <button type="submit" class="btn btn-onelab">Submit</button>
        </div>
-</div>
 </form>
 <script>
+
 /*
 jQuery(document).ready(function(){
   var availableTags = [