Skip to content

Commit

Permalink
primer commit
Browse files Browse the repository at this point in the history
  • Loading branch information
edugonper committed May 16, 2020
1 parent 676e68b commit c966cbf
Show file tree
Hide file tree
Showing 37 changed files with 6,831 additions and 0 deletions.
147 changes: 147 additions & 0 deletions create_picture.php
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>
Loading

0 comments on commit c966cbf

Please sign in to comment.