-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircular-ped-gen.html
44 lines (40 loc) · 1.05 KB
/
circular-ped-gen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<head>
<title>circular-ped-gen</title>
</head>
<body>
<div class='container-fluid'>
{{loginButtons}}
{{> pedigree}}
</div>
</body>
<template name="pedigree">
<h1>Circular Pedigree Generator </h1>
{{#if userId}}
{{#if allPeds}}
<p>Edit Pedigree</p>
{{#each allPeds}}
<a>{{startingDog}}</a>
{{/each}}
or start <input type='button' id='new' class='btn' value='New'></input>
<div id="newPed" class="hidden">{{> newPedForm}}</div>
{{else}}
{{> newPedForm}}
{{/if}}
<div>
{{#if editActive}}
<h3>{{currentPedigree}}</h3>
{{/if}}
</div>
{{else}}
<p>Please login to get started!</p>
{{/if}}
</template>
<template name="newPedForm">
<form class='form-inline'>
<label for='dogName'>Create a pedigree for: </label>
<input type="text" id='prefixTitles' placeholder="Prefix Titles"></input>
<input type="text" id='dogName' placeholder="Dog Name"></input>
<input type="text" id='suffixTitles' placeholder="Suffix Titles"></input>
<input type='button' id='start' class='btn' value='start'></input>
</form>
</template>