Skip to content

Commit

Permalink
Fixed python string.lower()
Browse files Browse the repository at this point in the history
Also added fall back for font-awesome when without internet
  • Loading branch information
Idealcoder committed Aug 9, 2013
1 parent 821184e commit 42feb1e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion scripts/footer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<!-- Javascript At End -->
<script src="/static/js/vendor/less-1.3.3.min.js"></script>
<script>window.jQuery || document.write('<script src="/static/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="/static/js/plugins.js"></script>
<script src="/static/js/main.js"></script>
<script src="/static/js/vendor/json.min.js"></script>
Expand Down
4 changes: 3 additions & 1 deletion scripts/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@

<link rel="stylesheet" href="/static/css/normalize.css">
<link rel="stylesheet" href="/static/css/main.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet/less" type="text/css" href="/static/css/style.less">

<script src="/static/js/vendor/modernizr-2.6.2.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/static/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>


<script>
document.createElement("article");
Expand Down
2 changes: 1 addition & 1 deletion static/css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body {
/* Required */
position:relative; /* IE8 */
text-align:center; /* IE Center Block*/
height:100%;
min-height:100%;

/* Additional */
background-color: @background-color;
Expand Down
2 changes: 1 addition & 1 deletion static/img/tags/image_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def insert_tags(tag_raw, tag_name, last_img_id):
for tag_loop in json_tag_txt:
tag_id = tag_loop["id"]
tag_txt = tag_loop["raw"]
insert_tags(tag_txt, tag_id, last_img_id)
insert_tags(tag_txt.lower(), tag_id, last_img_id)
a += 1
tag_raw.append(tag_txt)
tag_ids.append(tag_id)
Expand Down
2 changes: 1 addition & 1 deletion tagoverlay.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<form method="GET" action="api.php">
<input type="hidden" name="type" value="addtag">
<input id="hiddeninput" type="hidden" name="imageid" value="3">
<input type="radio" name="toogeneric" value="0" checked="checked"><textarea type="text" name="name"></textarea><br>
<input type="radio" name="toogeneric" value="0" checked="checked"><textarea style="height:100px" type="text" name="name"></textarea><br>
<div style="margin:0.5em"></div>
<input type="radio" name="toogeneric" value="1"> <?php echo $messages[3]; ?><br>

Expand Down

0 comments on commit 42feb1e

Please sign in to comment.