-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuploadproject.php
More file actions
executable file
·58 lines (57 loc) · 2.62 KB
/
uploadproject.php
File metadata and controls
executable file
·58 lines (57 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<title> Project Tub </title>
<link rel = "stylesheet" type = "text/css" href = "css/bootstrap.css">
<link rel = "stylesheet" type = "text/css" href = "css/style.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/projecttub.js"></script>
</head>
<header>
<img src="./img/banner.png" alt="Banner">
<?php include 'menubar.php'?>
</header>
<body>
<div class="container" id="mainWrapper">
<div class="uploadProjectWrapper">
<form id="newproject" action="uploadFile.php" method="post" enctype="multipart/form-data">
<fieldset>
<legend>New Project</legend><br>
<div id="newprojectcontent" class="well">
<div id="uploadProjectLeft" class="span4">
<label><span style="color:red;"><sup>* </sup></span>Name</label>
<input type="text" id="name" placeholder="project name" name="name">
<br><br>
<label>Category</label>
<select id="projectcategory" name="projectcategory">
<option value="Standalone Application" class="selected">Standalone Application</option>
<option value="Web Application">Web Application</option>
</select>
<br><br>
<label><span style="color:red;"><sup>* </sup></span>Project File (.zip)</label>
<input type="file" accept="application/zip" id="projectfile" value="Choose a zip file" placeholder="Choose a zip file" name="projectfile">
</div> <!-- End UploadProjectLeft div -->
<div id="uploadProjectCenter" class="span2">
<br><br> <br><br> <br><br>
<button class="btn btn-primary" id="uploadproject">Upload</button><br>
<img src='img/uploading1.gif'style="display:none;margin-top:5px;margin-left: -8px;" id="loader"/>
</div><!-- End UploadProjectCenter div -->
<div id="uploadProjectRight" class="span4" >
<label><span style="color:red;"><sup>* </sup></span>Snapshots</label>
<br>
<input type="file" accept="image/*" id="snapshot1" name ="snapshot1" placeholder="Choose a file">
<br><br>
<input type="file" accept="image/*" id="snapshot2" name ="snapshot2" placeholder="Choose a file">
<br><br>
<input type="file" accept="image/*" id="snapshot3" name ="snapshot3" placeholder="Choose a file">
</div> <!-- End UploadProjectRight div -->
<div id="alertproject" class="" style="display:none;margin-top: 300px;">
</div>
</div> <!-- End newusercontent div -->
</fieldset>
</form>
</div>
</div> <!-- End Container div -->
</body>
<footer> © Copyright 2012-2013, www.projecttub.com , All rights reserved. </footer>
</html>