/
createmakeathon.php
100 lines (96 loc) · 4.44 KB
/
createmakeathon.php
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sparkling Science</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
.container:nth-of-type(2){
margin-top:80px!important;
}
</style>
</head>
<body>
<?php include("scripts/navigation.php");
?>
<div class="container" style="margin-bottom:100px;">
<div class="well">
<h3>Hello! Create your make-a-thon!</h3>
<br />
<form class="form-horizontal" id="createmakeathon" action="/" method="post">
<div class="control-group">
<label class="control-label" for="inputName">Make-a-thon name</label>
<div class="controls">
<input type="text" id="inputName" placeholder="Make-a-thon Name" name="name">
<span style="color:#AAA;">Cannot be edited after registration</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputSparkUrl">Choose url for make-a-thon page</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on" style="color:#AAA;">http://www.sparklingscience.com/</span><input id="inputSparkUrl" type="text" placeholder="makeathonname" name="sparkUrl">
<span style="color:#AAA;">Cannot be edited after registration</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputExistingUrl">Existing url</label>
<div class="controls">
<input type="text" id="inputExistingUrl" placeholder="www.yourmakeathon.com" name="existingUrl">
<span style="color:#AAA;">If you have any. Otherwise your new url will suffice.</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputDescription">Description</label>
<div class="controls">
<textarea rows=3 class="span5" type="text" id="inputDescription" placeholder="What is the theme of your make-a-thon?" name="description"></textarea>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputLocation">Location</label>
<div class="controls">
<input type="text" id="inputLocation" placeholder="Address" name="address"><br />
<input type="text" id="inputLocation" placeholder="City" name="city" style="margin-top:5px"><br />
<select id="countries" name="countries" style="margin-top:5px">
<?php include("scripts/selectCountry.php");?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputFee">Fee</label>
<div class="controls">
<input type="text" id="inputDescription" placeholder="e.g. 200$ or 50SEK or simply 0" name="fee">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputParticipants">Participants</label>
<div class="controls">
<input type="checkbox" id="inputIndividuals" name="individuals" value="y"> Individuals
<input type="text" id="inputLimitIndividuals" placeholder="Maximum no of individuals" name="maxIndividuals">
<br /><br />
<input type="checkbox" id="inputTeams" name="teams" value="y"> Teams
<input type="text" id="inputLimitTeams" placeholder="Maximum no of teams" name="maxTeams">
<br />
<br />
<button type="submit" class="btn btn-primary">Create</button>
</div>
</div>
</form>
</div>
</div>
<?php include("scripts/footer.php");?>
<script src="js/jquery.js"></script>
<script src="js/bootstrap-tooltip.js"></script>
<script src="js/bootstrap-modal.js"></script>
</body>
</html>