Permalink
Switch branches/tags
{{ refName }}
default
Cannot retrieve contributors at this time
0b74bc590f
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
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?
WebsiteProject/views/articlepage.handlebars
Go to file- Go to file T
-
Copy path -
Copy permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
-
Copy lines -
Copy permalink - View git blame
- Reference in new issue