-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
6,831 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<!doctype HTML> | ||
<html> | ||
|
||
<head> | ||
<?php include 'imports.php'?> | ||
</head> | ||
|
||
<body> | ||
<?php include 'header.php' ?> | ||
<div class="row"> | ||
<div class="col-md" id="errors-container"> | ||
</div> | ||
</div> | ||
|
||
<h2 class="commontext" style="text-align:center">Upload a photo!</h2> | ||
|
||
|
||
<hr> | ||
|
||
|
||
|
||
<script src="js/scripts.js"></script> | ||
|
||
<div class="container-fluid "> | ||
|
||
<div class="row"> | ||
<div class="col-md" id="errors-container"></div> | ||
</div> | ||
<form id="register-form" class="commontext"> | ||
|
||
<div class="form-group row commtextright"> | ||
<label for="title" | ||
class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">Title:</label> | ||
<div class="col-md-2 offset-md-1"> | ||
<input type="text" class="form-control form-control-lg" id="input-title" placeholder="title" | ||
name="title" required> | ||
</div> | ||
</div> | ||
<div class="form-group row commtextright"> | ||
<label for="description" | ||
class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">Description:</label> | ||
<div class="col-md-2 offset-md-1"> | ||
<input type="text" class="form-control form-control-lg" id="input-description" | ||
placeholder="description" name="description" required> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group row commtextright"> | ||
<label for="url" | ||
class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">Url:</label> | ||
<div class="col-md-2 offset-md-1"> | ||
<input type="text" class="form-control form-control-lg" id="input-url" placeholder="url" name="url" | ||
required> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group row commtextright"> | ||
<label for="accept" class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">Private photo:</label> | ||
<div class="col-md-2 offset-md-1"> <input type="checkbox" class="form-control form-control-lg" id="input-accept" | ||
placeholder="accept" name="accept" checked="true"></div> | ||
</div> | ||
<div class="form-group row commtextright"> | ||
<label for="tags" | ||
class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">Tags:</label> | ||
</div> | ||
<ul id="tags-list" style="margin:0px;padding:0px"> | ||
|
||
<li> | ||
<div class="form-group row commtextright"> | ||
|
||
<div class="col-md-2 offset-md-7"> | ||
|
||
|
||
<select type="text" class="form-control form-control-lg" id="input-tags-0" | ||
placeholder="tags" name="tags"></select> | ||
</div> | ||
|
||
<div class="col-md-2"> | ||
<button class="btn btn-danger" onclick="del('#input-tags-0')">X</button> | ||
<div> | ||
</div> | ||
</li> | ||
|
||
|
||
|
||
</ul> | ||
|
||
<div class="form-group row commtextright col-md-2 offset-md-7"> | ||
<button type="button" class="btn btn-primary" onclick="createTagBox()">Add new existing | ||
tag</button><br><br> | ||
</div> | ||
|
||
<div class="form-group row commtextright"> | ||
<label for="tags" | ||
class="form-check-label col-md-3 col-form-label commontext col-form-label-lg offset-md-3">New | ||
tags:</label> | ||
</div> | ||
|
||
|
||
|
||
<ul id="new-tags-list" style="margin:0px;padding:0px"> | ||
<li> | ||
<div class="form-group row commtextright"> | ||
|
||
<div class="col-md-2 offset-md-7"> | ||
<input type="text" class="form-control form-control-lg" id="input-new-tags-0" | ||
placeholder="tag" name="input-new-tags-0"> | ||
</div> | ||
<div class="col-md-2"> | ||
<button type="button" class="btn btn-danger" onclick="del('#input-new-tags-0')">X</button> | ||
<div> | ||
|
||
</div> | ||
|
||
|
||
</li> | ||
|
||
|
||
</ul> | ||
|
||
<div class="form-group row commtextright col-md-2 offset-md-7"> | ||
<button type="button" class="btn btn-primary" onclick="createNewTagBox()">Add new tag</button><br><br> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<br><br><br> | ||
<div class="form-group row commtextright"> | ||
<div class="col-md-2 offset-md-5"> | ||
|
||
<button type="submit" class="btn btn-primary">Upload</button> | ||
|
||
</div> | ||
</div> | ||
<br><br> | ||
</form> | ||
</div> | ||
|
||
<script src="js/uploadphoto.js"></script> | ||
<?php include 'footer.php' ;?> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.