From bb06d45da99d1a551979f6f694a5bed4d02673c4 Mon Sep 17 00:00:00 2001
From: raylu
Date: Sun, 24 Jul 2011 20:35:59 -0700
Subject: add 'add' button on anime view page
logged out users will be redirected anyway
---
views/anime/view.html.php | 23 ++++++++++++++---------
webroot/css/view.css | 4 ++--
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/views/anime/view.html.php b/views/anime/view.html.php
index f51e863..11a1f75 100644
--- a/views/anime/view.html.php
+++ b/views/anime/view.html.php
@@ -56,18 +56,10 @@ for ($i = 0; $i < count($keys); $i++) {
$str .= ' ' . $keys[$i] . '';
} ?>= $str ?>
-
-
cast) > 1): // why is this 1? ?>
@@ -99,6 +91,19 @@ for ($i = 0; $i < count($keys); $i++) {
+
+
+
+
Synopsis
diff --git a/webroot/css/view.css b/webroot/css/view.css
index d5734a1..5d5db7d 100644
--- a/webroot/css/view.css
+++ b/webroot/css/view.css
@@ -15,7 +15,7 @@ section#cast {
float: left;
width: 620px;
}
-section#cast a {
+section#cast a, #add {
padding: 4px 7px;
border: 1px solid #aaa;
-moz-border-radius: 3px;
@@ -28,7 +28,7 @@ section#cast a {
color: #111;
outline: none;
}
-section#cast a:hover {
+section#cast a:hover, #add:hover {
background: #eee;
background: -moz-linear-gradient(top, #eee, #ccc);
background: -webkit-linear-gradient(top, #eee, #ccc);
--
cgit v1.2.3