feat: Initial commit
This commit is contained in:
43
Resources/Views/loggedIn.leaf
Normal file
43
Resources/Views/loggedIn.leaf
Normal file
@@ -0,0 +1,43 @@
|
||||
#extend("main"):
|
||||
#export("body"):
|
||||
<div class="center">
|
||||
<h1>Welcome #capitalized(name)</h1>
|
||||
<p>
|
||||
Please add your pro's and cons during the talk to the list below.
|
||||
</p>
|
||||
<p>
|
||||
<small>You can add as many pros and cons as you would like.</small>
|
||||
</p>
|
||||
<form id="proconForm" action="submitProOrCon">
|
||||
<select id="type", name="type">
|
||||
<option value="pro">Pro</option>
|
||||
<option value="con">Con</option>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
<label for="description">Description:</label>
|
||||
<br>
|
||||
<input type="text" id="description" name="description" required>
|
||||
<br>
|
||||
<br>
|
||||
<input class="loginButton" type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
<div class="pros">
|
||||
<p class="listHeader">Pros - <small>Count: #count(pros)</small></p>
|
||||
<ul>
|
||||
#for(item in pros):
|
||||
<li>#(item.description)</li>
|
||||
#endfor
|
||||
</ul>
|
||||
</div>
|
||||
<div class="cons">
|
||||
<p class="listHeader">Cons - <small>Count: #count(cons)</small></p>
|
||||
<ul>
|
||||
#for(item in cons):
|
||||
<li>#(item.description)</li>
|
||||
#endfor
|
||||
</ul>
|
||||
</div>
|
||||
#endexport
|
||||
#endextend
|
||||
Reference in New Issue
Block a user