Last active
April 19, 2017 23:14
-
-
Save rttomlinson/d5e567d42347aff55bea0260ced79b5f to your computer and use it in GitHub Desktop.
Templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--JQUERY CDN--> | |
| <script | |
| src="https://code.jquery.com/jquery-3.2.1.min.js" | |
| integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" | |
| crossorigin="anonymous"></script> | |
| <!--BOOTSTRAP CSS--> | |
| <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| <!--BOOTSTRAP HTML--> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row"> | |
| <img src={{user.Profile.image}}></img> | |
| <h3>{{user.username}}</h3> | |
| <div class="col-xs-12"> | |
| <h3>Age</h3> | |
| <div> | |
| {{user.Profile.age}} | |
| </div> | |
| <div> | |
| {{user.Profile.location}} | |
| </div> | |
| </div> | |
| <div class="col-xs-12"> | |
| <h3>Villages Captured</h3> | |
| <div> | |
| {{user.Profile.villagesCaptured}} | |
| </div> | |
| </div> | |
| <div class="col-xs-12"> | |
| <h3>Occupation</h3> | |
| <div> | |
| {{user.Profile.occupation}} | |
| </div> | |
| </div> | |
| <div class="col-xs-12"> | |
| <h3>Marital Status</h3> | |
| <div> | |
| {{user.Profile.marital}} | |
| </div> | |
| </div> | |
| <div class="col-xs-12"> | |
| <h3>Gender</h3> | |
| <div> | |
| {{user.Profile.gender}} | |
| </div> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row"> | |
| {{#each users as |user|}} | |
| <a href="{{ userPath user.id }}"> | |
| <div class="col-xs-4"> | |
| <div class="user-image"> | |
| <img class="" src="{{ user.Profile.image }}"> | |
| </div> | |
| <div> | |
| {{ user.fullName }} | |
| </div> | |
| </div> | |
| </a> | |
| {{/each}} | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row"> | |
| <form action="/users" method="get"> | |
| <!-- User Profile Gender --> | |
| <div class="form-group"> | |
| <label>Gender</label> | |
| <div class="radio"> | |
| <label> | |
| <input type="radio" value="male" name="form[gender]"> Male | |
| </label> | |
| <label> | |
| <input type="radio" value="female" name="form[gender]"> Female | |
| </label> | |
| <label> | |
| <input type="radio" value="pterodactyl" name="form[gender]"> Pterodactyl | |
| </label> | |
| </div> | |
| </div> | |
| <!-- User Age --> | |
| <div class="form-group"> | |
| <label for="minAge">Minimum Age</label> | |
| <input type="number" class="form-control" name="form[minAge]" id="minAge" min="13" max="120"> | |
| </div> | |
| <div class="form-group"> | |
| <label for="maxAge">Maximum Age</label> | |
| <input type="number" class="form-control" name="form[maxAge]" id="maxAge" min="13" max="120"> | |
| </div> | |
| <!-- Marital Status --> | |
| <div class="form-check"> | |
| <label class="form-check-label"> | |
| <input class="form-check-input" name="form[marital][]" type="checkbox" value="single"> | |
| Single and ready to mingle | |
| </label> | |
| </div> | |
| <div class="form-check"> | |
| <label class="form-check-label"> | |
| <input class="form-check-input" name="form[marital][]" type="checkbox" value="dating"> | |
| Dating | |
| </label> | |
| </div> | |
| <div class="form-check"> | |
| <label class="form-check-label"> | |
| <input class="form-check-input" name="form[marital][]" type="checkbox" value="married"> | |
| Married | |
| </label> | |
| </div> | |
| <button type="submit" class="btn btn-info">Get those honeys</button> | |
| </form> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment