blob: b78b5c79e226f923687c8a6c29eb64023676c7bd (
plain)
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
|
<?php
$title= "Link Shorter";
require 'view/templ-head.php';
?>
<div class="container">
<div class="text-center">
<div class="row center-block vertical-center">
<form class="form-horizontal " method="POST" action="">
<fieldset>
<legend class="text-centered"><h1>Amazing Linkshorter</h1><p>Short your link and use a easy to remembery query string.</p></legend>
<div class="form-group">
<label class="col-md-4 control-label" for="url">Link:</label>
<div class="col-md-5">
<input id="url" name="url" placeholder="http://www.moehm.org/" class="form-control input-md" required="" type="text">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label grey" for="short">(optional)</label>
<div class="col-md-4">
<input id="short" name="short" placeholder="Your own query string here." class="form-control input-md" type="text">
</div>
</div>
<!-- Password input-->
<div class="form-group">
<label class="col-md-4 control-label grey" for="password">(optional)</label>
<div class="col-md-4">
<input id="password" name="password" placeholder="Protect your link with a password." class="form-control input-md" type="password">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label grey" for="ttl">(optional)</label>
<div class="col-md-4">
<input id="ttl" name="ttl" class="form-control input-md" type="number">
<span class="help-block text-left">Choose how long the shortlink should be valid. (In seconds)</span>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="singlebutton"></label>
<div class="col-md-4">
<button id="singlebutton" name="singlebutton" class="btn btn-primary" type="submit">Short!</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<?php require("../tools/footer.php"); ?>
|