diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 14:02:01 +0100 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 14:02:01 +0100 |
commit | af336ee2c75a2894c0e655981057c71fdaa2c9b3 (patch) | |
tree | 5902e486b87c6c5b96e9c755cbba29094cabc602 /views/signup.ejs | |
parent | just cleaning up some tabs (diff) | |
download | Divid-af336ee2c75a2894c0e655981057c71fdaa2c9b3.tar.gz |
added the html
Diffstat (limited to 'views/signup.ejs')
-rw-r--r-- | views/signup.ejs | 328 |
1 files changed, 326 insertions, 2 deletions
diff --git a/views/signup.ejs b/views/signup.ejs index 05837c2..21c3ac9 100644 --- a/views/signup.ejs +++ b/views/signup.ejs @@ -2,7 +2,331 @@ </head> <body> - - + <input type="hidden" id="userId"> + <div id="account-form-container"> + <form method="post" id="account-form" class="form-horizontal well span6"> + <h1></h1> + <p id="sub1" class="subheading">Please tell us a little about yourself.</p> + <hr> + <fieldset> + <div id="name-cg" class="control-group"> + <label for="name-tf" class="control-label">Name</label> + <div class="controls"> + <input id="name-tf" type="text" name="name" class="input-xlarge"> + </div> + </div> + <div id="email-cg" class="control-group"> + <label for="email-tf" class="control-label">Email</label> + <div class="controls"> + <input id="email-tf" type="text" name="email" class="input-xlarge"> + </div> + </div> + <div id="clist-cg" class="control-group"> + <label for="country-list" class="control-label">Location</label> + <div class="controls"> + <select id="country-list" name="country"> + <option>Please select a country</option> + <option>Afghanistan</option> + <option>Albania</option> + <option>Algeria</option> + <option>American Samoa</option> + <option>Andorra</option> + <option>Angola</option> + <option>Anguilla</option> + <option>Antarctica</option> + <option>Antigua and Barbuda</option> + <option>Argentina</option> + <option>Armenia</option> + <option>Aruba</option> + <option>Australia</option> + <option>Austria</option> + <option>Azerbaijan</option> + <option>Bahamas</option> + <option>Bahrain</option> + <option>Bangladesh</option> + <option>Barbados</option> + <option>Belarus</option> + <option>Belgium</option> + <option>Belize</option> + <option>Benin</option> + <option>Bermuda</option> + <option>Bhutan</option> + <option>Bolivia</option> + <option>Bosnia and Herzegowina</option> + <option>Botswana</option> + <option>Bouvet Island</option> + <option>Brazil</option> + <option>British Indian Ocean Territory</option> + <option>Brunei Darussalam</option> + <option>Bulgaria</option> + <option>Burkina Faso</option> + <option>Burundi</option> + <option>Cambodia</option> + <option>Cameroon</option> + <option>Canada</option> + <option>Cape Verde</option> + <option>Cayman Islands</option> + <option>Central African Republic</option> + <option>Chad</option> + <option>Chile</option> + <option>China</option> + <option>Christmas Island</option> + <option>Cocos (Keeling) Islands</option> + <option>Colombia</option> + <option>Comoros</option> + <option>Congo</option> + <option>Congo, the Democratic Republic of the</option> + <option>Cook Islands</option> + <option>Costa Rica</option> + <option>Cote d'Ivoire</option> + <option>Croatia (Hrvatska)</option> + <option>Cuba</option> + <option>Cyprus</option> + <option>Czech Republic</option> + <option>Denmark</option> + <option>Djibouti</option> + <option>Dominica</option> + <option>Dominican Republic</option> + <option>East Timor</option> + <option>Ecuador</option> + <option>Egypt</option> + <option>El Salvador</option> + <option>Equatorial Guinea</option> + <option>Eritrea</option> + <option>Estonia</option> + <option>Ethiopia</option> + <option>Falkland Islands (Malvinas)</option> + <option>Faroe Islands</option> + <option>Fiji</option> + <option>Finland</option> + <option>France</option> + <option>France, Metropolitan</option> + <option>French Guiana</option> + <option>French Polynesia</option> + <option>French Southern Territories</option> + <option>Gabon</option> + <option>Gambia</option> + <option>Georgia</option> + <option>Germany</option> + <option>Ghana</option> + <option>Gibraltar</option> + <option>Greece</option> + <option>Greenland</option> + <option>Grenada</option> + <option>Guadeloupe</option> + <option>Guam</option> + <option>Guatemala</option> + <option>Guinea</option> + <option>Guinea-Bissau</option> + <option>Guyana</option> + <option>Haiti</option> + <option>Heard and Mc Donald Islands</option> + <option>Holy See (Vatican City State)</option> + <option>Honduras</option> + <option>Hong Kong</option> + <option>Hungary</option> + <option>Iceland</option> + <option>India</option> + <option>Indonesia</option> + <option>Iran (Islamic Republic of)</option> + <option>Iraq</option> + <option>Ireland</option> + <option>Israel</option> + <option>Italy</option> + <option>Jamaica</option> + <option>Japan</option> + <option>Jordan</option> + <option>Kazakhstan</option> + <option>Kenya</option> + <option>Kiribati</option> + <option>Korea, Democratic People's Republic of</option> + <option>Korea, Republic of</option> + <option>Kuwait</option> + <option>Kyrgyzstan</option> + <option>Lao People's Democratic Republic</option> + <option>Latvia</option> + <option>Lebanon</option> + <option>Lesotho</option> + <option>Liberia</option> + <option>Libyan Arab Jamahiriya</option> + <option>Liechtenstein</option> + <option>Lithuania</option> + <option>Luxembourg</option> + <option>Macau</option> + <option>Macedonia, The Former Yugoslav Republic of</option> + <option>Madagascar</option> + <option>Malawi</option> + <option>Malaysia</option> + <option>Maldives</option> + <option>Mali</option> + <option>Malta</option> + <option>Marshall Islands</option> + <option>Martinique</option> + <option>Mauritania</option> + <option>Mauritius</option> + <option>Mayotte</option> + <option>Mexico</option> + <option>Micronesia, Federated States of</option> + <option>Moldova, Republic of</option> + <option>Monaco</option> + <option>Mongolia</option> + <option>Montserrat</option> + <option>Morocco</option> + <option>Mozambique</option> + <option>Myanmar</option> + <option>Namibia</option> + <option>Nauru</option> + <option>Nepal</option> + <option>Netherlands</option> + <option>Netherlands Antilles</option> + <option>New Caledonia</option> + <option>New Zealand</option> + <option>Nicaragua</option> + <option>Niger</option> + <option>Nigeria</option> + <option>Niue</option> + <option>Norfolk Island</option> + <option>Northern Mariana Islands</option> + <option>Norway</option> + <option>Oman</option> + <option>Pakistan</option> + <option>Palau</option> + <option>Panama</option> + <option>Papua New Guinea</option> + <option>Paraguay</option> + <option>Peru</option> + <option>Philippines</option> + <option>Pitcairn</option> + <option>Poland</option> + <option>Portugal</option> + <option>Puerto Rico</option> + <option>Qatar</option> + <option>Reunion</option> + <option>Romania</option> + <option>Russian Federation</option> + <option>Rwanda</option> + <option>Saint Kitts and Nevis</option> + <option>Saint LUCIA</option> + <option>Saint Vincent and the Grenadines</option> + <option>Samoa</option> + <option>San Marino</option> + <option>Sao Tome and Principe</option> + <option>Saudi Arabia</option> + <option>Senegal</option> + <option>Seychelles</option> + <option>Sierra Leone</option> + <option>Singapore</option> + <option>Slovakia (Slovak Republic)</option> + <option>Slovenia</option> + <option>Solomon Islands</option> + <option>Somalia</option> + <option>South Africa</option> + <option>South Georgia and the South Sandwich Islands</option> + <option>Spain</option> + <option>Sri Lanka</option> + <option>St. Helena</option> + <option>St. Pierre and Miquelon</option> + <option>Sudan</option> + <option>Suriname</option> + <option>Svalbard and Jan Mayen Islands</option> + <option>Swaziland</option> + <option>Sweden</option> + <option>Switzerland</option> + <option>Syrian Arab Republic</option> + <option>Taiwan, Province of China</option> + <option>Tajikistan</option> + <option>Tanzania, United Republic of</option> + <option>Thailand</option> + <option>Togo</option> + <option>Tokelau</option> + <option>Tonga</option> + <option>Trinidad and Tobago</option> + <option>Tunisia</option> + <option>Turkey</option> + <option>Turkmenistan</option> + <option>Turks and Caicos Islands</option> + <option>Tuvalu</option> + <option>Uganda</option> + <option>Ukraine</option> + <option>United Arab Emirates</option> + <option>United Kingdom</option> + <option>United States</option> + <option>United States Minor Outlying Islands</option> + <option>Uruguay</option> + <option>Uzbekistan</option> + <option>Vanuatu</option> + <option>Venezuela</option> + <option>Viet Nam</option> + <option>Virgin Islands (British)</option> + <option>Virgin Islands (U.S.)</option> + <option>Wallis and Futuna Islands</option> + <option>Western Sahara</option> + <option>Yemen</option> + <option>Yugoslavia</option> + <option>Zambia</option> + <option>Zimbabwe</option> + </select> + </div> + </div> + <hr> + <p id="sub2" class="subheading"></p> + <div id="user-cg" class="control-group"> + <label for="user-tf" class="control-label">Username</label> + <div class="controls"> + <input id="user-tf" type="text" name="user" class="input-xlarge disabled"> + </div> + </div> + <div id="pass-cg" class="control-group"> + <label for="pass-tf" class="control-label">Password</label> + <div class="controls"> + <input id="pass-tf" type="password" name="pass" value="" class="input-xlarge"> + </div> + </div> + <div class="form-actions"> + <button type="button" id="account-form-btn1" class="btn"></button> + <button type="submit" id="account-form-btn2" class="btn"></button> + </div> + </fieldset> + </form> + </div> + <!-- display form errors in a custom modal window //--> + <div class="modal-form-errors modal hide fade"> + <div class="modal-header"> + <button data-dismiss="modal" class="close">x</button> + <h3>Whoops!</h3> + </div> + <div class="modal-body"> + <p class="subheading">It looks like there was a problem.</p> + <ul></ul> + </div> + <div class="modal-footer"> + <button data-dismiss="modal" class="btn btn-warning">OK</button> + </div> + </div> + + + + + + <div class="modal-alert modal hide fade"> + <div class="modal-header"> + <button data-dismiss="modal" class="close">x</button> + <h3></h3> + </div> + <div class="modal-body"> + <p></p> + </div> + <div class="modal-footer"> + <button data-dismiss="modal" id="ok" class="btn btn-warning">OK</button> + </div> + </div> + <script src="/vendor/jquery.min.js"></script> + <script src="/vendor/jquery.form.js"></script> + <script src="/vendor/bootstrap-modal.js"></script> + <script src="/vendor/bootstrap-transition.js"></script> + <script src="/js/views/signup.js"></script> + <script src="/js/form-validators/accountValidator.js"></script> + <script src="/js/controllers/signupController.js"></script> + <% include footer %> |