forked from Decentrala/taskmanager
54 lines
1.3 KiB
HTML
54 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="stylesheet" href="/static/style.css" />
|
|
<title>{{task.name}}</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav class="container">
|
|
<ul>
|
|
<li><a href="/">Home</a></li>
|
|
<li><a href="/register">Register</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<main class="container page page-project">
|
|
<section >
|
|
<h1>{{task.name}}</h1>
|
|
<label class="label underline">Description</label>
|
|
<p>{{task.desc}}</p>
|
|
</section>
|
|
<section class="section-task">
|
|
<div>
|
|
<label class="label underline">Users added to this task</label>
|
|
{% for user in users %}
|
|
<div class="user-info-wrap">
|
|
<div><b>Username:</b> {{user.username}}</div>
|
|
<div><b>Contact info:</b> {{user.contact}}</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<div>
|
|
<label class="label underline"> Add person to task</label>
|
|
<div class="form-wrap">
|
|
<form action="/projects/{{task.id}}" method="POST">
|
|
<div class="form-input">
|
|
<label for="username" class="label">Username:</label>
|
|
<input type="text" name="username" id="username" required />
|
|
</div>
|
|
<div class="btn-wrap">
|
|
<button class="btn">Submit</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<footer>
|
|
</footer>
|
|
</body>
|
|
</html>
|