summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-10-16 23:32:09 -0700
committerArun Persaud <arun@nubati.net>2012-10-16 23:32:09 -0700
commitcb822f5550deb1f1a904f9b94ee6bbe569c3e056 (patch)
tree0997a3fd095c605234360ae81a0a4909f113b22c /index.php
parent801ba916b5b5680e10c3b63978034058f7fed840 (diff)
downloadphoto-tags-cb822f5550deb1f1a904f9b94ee6bbe569c3e056.tar.gz
photo-tags-cb822f5550deb1f1a904f9b94ee6bbe569c3e056.tar.bz2
photo-tags-cb822f5550deb1f1a904f9b94ee6bbe569c3e056.zip
more bootstrap integration, cleanup and some small bugfixes
* load local CSS after bootstrap * removed local CSS that was not needed anymore * added greyed out pagination for single page * added charset to html * only use +-3 pictures for thumbnails (so that transitions alwasy stay on 1 line) * fixed many layout issues * fixed transition
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/index.php b/index.php
index 94f2b4a..bb56f89 100644
--- a/index.php
+++ b/index.php
@@ -45,10 +45,11 @@ function autoversion($file)
<!DOCTYPE html>
<html>
<head>
+<meta charset="utf-8">
<title><?php echo htmlspecialchars($title) ?></title>
<script src = "<?php echo $webbase.autoversion("/js/d3.min.js")?>"></script>
-<link rel="stylesheet" type="text/css" href="<?php echo $webbase.autoversion("/css/style.css")?>" />
<link rel="stylesheet" type="text/css" href="<?php echo $webbase.autoversion("/css/bootstrap.min.css")?>" />
+<link rel="stylesheet" type="text/css" href="<?php echo $webbase.autoversion("/css/style.css")?>" />
</head>
<body>
@@ -70,13 +71,14 @@ function autoversion($file)
<div class="tagsearch">
<form class="form-search" method="get" action="">
- Search for tag: <input list="MyTags" id="MyTagsInput" type="text" value="" />
+ <label>Search for tag:</label> <input class="input-medium search-query" list="MyTags" id="MyTagsInput" type="text" value="" />
<datalist id="MyTags">
</datalist>
+ <p> Current tags:<span id="currenttags"></span>
+ <button class="next btn btn-small btn-info" onclick="tagcloud()">tag cloud</button>
+ <a class="btn btn-small btn-success" href='<?php echo $webbase?>'>all</a>
+ </p>
</form>
- Current tags:<span id="currenttags"></span>
- <button class="next" type="button" onclick="tagcloud()">tag cloud</button>
- <button class="all" onclick="document.location.href='<?php echo $webbase?>'">all</button>
</div>
<div class="nextprev"> <ul></ul></div>