From 5de7d0f12f279aed4551d261d8f71325ca01028a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 23 Jun 2011 11:30:17 +0200 Subject: add profile tabs to "photos", "events" and "notes". in dispy, show active tab. --- view/theme/dispy/profile_tabs.tpl | 10 ++++++---- view/theme/dispy/style.css | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/profile_tabs.tpl b/view/theme/dispy/profile_tabs.tpl index 63b6d48dd..c236490b2 100644 --- a/view/theme/dispy/profile_tabs.tpl +++ b/view/theme/dispy/profile_tabs.tpl @@ -1,7 +1,9 @@
- $status - $profile - $photos + $status + $profile + $photos + {{ if $events }}$events{{ endif }} + {{ if $notes }}$notes{{ endif }}
-
\ No newline at end of file + diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 34c880ac0..e0f5a46fb 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -371,6 +371,7 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .tabs-wrapper li { display: inline;} .tabs { padding: 0px 5px; margin-right: 10px; } .tabs:hover { background-color: #729fcf; color: #eeeeec; border: 0px; } +.tabs.active { background-color: #729fcf; color: #eeeeec; border: 0px; } /** -- cgit v1.2.3