Skip to content
Permalink
0b74bc590f
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
57 lines (49 sloc) 1.59 KB
<!DOCTYPE html>
<html lang="en">
<head>
<title>Article</title>
<link href="/article.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>
{{#if loggedIn}}<a href="/upload">UPLOAD NEWS</a>{{/if}}
<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> {{article.title}} </h1>
</section>
<article class="card">
<h5> {{article.written_date}} </h5>
<img src = "../{{article.image_url}}" style="height:200px;">
<b><p> {{article.summary}} </p></b>
<br></br>
<p> {{article.content}} </p>
<h5>by {{article.author}} </h5>
<h6>tag: {{article.tag}}</h6>
<p>rating:
<span class="starRating">
<input id="rating5" type="radio" name="rating" value="5">
<label for="rating5">5</label>
<input id="rating4" type="radio" name="rating" value="4">
<label for="rating4">4</label>
<input id="rating3" type="radio" name="rating" value="3">
<label for="rating3">3</label>
<input id="rating2" type="radio" name="rating" value="2">
<label for="rating2">2</label>
<input id="rating1" type="radio" name="rating" value="1">
<label for="rating1">1</label>
</span> </p>
</article>
<section>
<a href = "../edit/{{article.article_id}}/"><button type ="submit" class="edit-btn" name="edit"> Edit </button></a>
</section>
<section class="footer">
</section>
</body>
</html>