summaryrefslogtreecommitdiff
path: root/linkshorter/view
diff options
context:
space:
mode:
authorroot2014-11-27 03:09:22 +0100
committerroot2014-11-27 03:09:22 +0100
commit311ad398e06cd2eba270ea70ca5a326d03b490f9 (patch)
treec409dafe5d0fa0b84c5f08e982b0596587725876 /linkshorter/view
parent92babb43a2a0041a71b54db35cbc9d2fba908a63 (diff)
downloadtools.iamfabulous.de-311ad398e06cd2eba270ea70ca5a326d03b490f9.tar.gz
linkshorter now works with 2 domains
Diffstat (limited to 'linkshorter/view')
-rw-r--r--linkshorter/view/templ-head.php1
-rw-r--r--linkshorter/view/templ-index.php2
-rw-r--r--linkshorter/view/templ-password.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/linkshorter/view/templ-head.php b/linkshorter/view/templ-head.php
index abc29bf..2eee43c 100644
--- a/linkshorter/view/templ-head.php
+++ b/linkshorter/view/templ-head.php
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<style>
<?php echo file_get_contents("../tools/style.css"); ?>
.grey { color: #737373;}
diff --git a/linkshorter/view/templ-index.php b/linkshorter/view/templ-index.php
index b78b5c7..17b042e 100644
--- a/linkshorter/view/templ-index.php
+++ b/linkshorter/view/templ-index.php
@@ -35,7 +35,7 @@
<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">
+ <input id="ttl" name="ttl" class="form-control input-md" type="number" min="0">
<span class="help-block text-left">Choose how long the shortlink should be valid. (In seconds)</span>
</div>
</div>
diff --git a/linkshorter/view/templ-password.php b/linkshorter/view/templ-password.php
index 2be90f3..727ecd3 100644
--- a/linkshorter/view/templ-password.php
+++ b/linkshorter/view/templ-password.php
@@ -23,7 +23,7 @@
<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-info" type="submit">Short!</button>
+ <button id="singlebutton" name="singlebutton" class="btn btn-primary" type="submit">Submit</button>
</div>
</div>