Permalink
Switch branches/tags
{{ refName }}
default
Cannot retrieve contributors at this time
b5a9ee0ab0
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?
soperd/views/addingGames.hbs
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> | |
<head> | |
<title>Add a Game</title> | |
<link href="/public/css/adding.css" type="text/css" rel="stylesheet" /> | |
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.11.1/css/all.css"> | |
<link href="/public/css/navbar.css" type="text/css" rel="stylesheet" /> | |
</head> | |
<body> | |
{{>navbar}} | |
<section class="siteContent"> | |
<h1>Add a Game</h1> | |
{{#if errorMsg}} | |
<div class= "error-msg"> | |
{{errorMsg}} | |
</div> | |
{{/if}} | |
<form method="post" enctype="multipart/form-data"> | |
<br> | |
<h2>Game</h2> | |
<input type="text" id = "titletext" placeholder="Title" name="title" required/> | |
<h2>Platforms</h2> | |
<section class="grid-container"> | |
{{#each platforms}} | |
<section class="grid-item"> | |
<label class = "checkContainer"> | |
<input id = "platforms-{{this.id}}" type="checkbox" name="platforms-{{this.id}}" value="{{this.id}}"> | |
<label for="platforms-{{this.id}}"><i class="fas fa-plus"></i><i class="fas fa-check"></i> {{this.name}}</label> | |
</label> | |
</section> | |
{{/each}} | |
</section> | |
<h2>Categories</h2> | |
<section class="grid-container"> | |
{{#each categories}} | |
<section class="grid-item"> | |
<label class = "checkContainer"> | |
<input id = "categories-{{this.id}}" type="checkbox" name="categories-{{this.id}}" value="{{this.id}}"> | |
<label for="categories-{{this.id}}"><i class="fas fa-plus"></i><i class="fas fa-check"></i> {{this.name}}</label> | |
</label> | |
</section> | |
{{/each}} | |
</section> | |
<h2>Details</h2> | |
<input type="text" id = "slugline" placeholder="Slugline" name="slugline" required/> | |
<br> | |
<input type="text" id = "summary" placeholder="Summary" name="summary" required/> | |
<input type="date" placeholder="Release Date" name="releaseDate" required/> | |
<input type="text" placeholder="Developer" name="developer" required/> | |
<input type="text" placeholder="Publisher" name="publisher" required/> | |
<h2>Images</h2> | |
<label for="poster-upload" class="custom-file-upload"> | |
<input id = "poster-upload" type="file" accept=".png,.jpg,.jpeg" name="poster" required/> | |
<i class="fas fa-file-image"></i><i class="fas fa-check"></i> Upload Poster | |
</label> | |
<br> | |
<label for="splash-upload" class="custom-file-upload"> | |
<input id = "splash-upload" type="file" accept=".png,.jpg,.jpeg" name="splash" required/> | |
<i class="fas fa-file-image"></i><i class="fas fa-check"></i> Upload Screenshot | |
</label> | |
<br> | |
<button class="Submit_button" type="submit" class="submitButton">Submit Game</button> | |
</form> | |
</section> | |
</body> | |
</html> | |
</DOCTYPE> |
-
Copy lines -
Copy permalink - View git blame
- Reference in new issue