Skip to content
Permalink
f0e0cd1dbd
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
52 lines (45 sloc) 1.31 KB
<!DOCTYPE html>
<html lang="en">
<head>
<title>Account</title>
<link href="/account.css" type="text/css" rel="stylesheet">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<nav class="hotbar">
<a href="/">HOME</a>
<a href="/logout" class="right">Logout</a>
<a href="/login" class="right">Login</a>
<a href="/account" class="right">Account</a>
<!-- <a href="#" class="right">Search</a> -->
</nav>
<section class="header">
<h1> ACCOUNT </h1>
</section>
<section class="row">
<section class="leftcolumn">
{{#if account}}
<article class="card">
<h2> Username: {{account.user}}</h2>
<h2> User type: {{account.type}}</h2>
{{#if account.email}}
<h2> Email: {{account.email}}</h2>
{{else}}
<form id = "account" class = "input-group" enctype="multipart/form-data" action = "/account" method = "post">
<input name = "email" type = "text" class = "input-field" placeholder = "Email">
<button name = "submit" type = "submit" class = "submit-btn" value = "">Confirm details</button>
</form>
{{/if}}
{{#if account.location}}
<h2> Location: {{account.location}}</h2>
{{else}}
{{/if}}
</article>
{{/if}}
</section>
</section>
<section class="footer">
</section>
</body>
</html>