From 4a72d21630c203600550b95daddbc836cab0a4f8 Mon Sep 17 00:00:00 2001 From: AurelioAHeckert Date: Fri, 29 Feb 2008 23:07:39 +0000 Subject: [PATCH] ActionItem183: list of related profiles (friends, communities, enterprises and members) is beault now. --- app/views/profile/communities.rhtml | 9 ++++++++- app/views/profile/enterprises.rhtml | 9 ++++++++- app/views/profile/friends.rhtml | 9 ++++++++- app/views/profile/members.rhtml | 9 ++++++++- public/designs/themes/default/stylesheets/blocks/main-block.css | 2 ++ public/designs/themes/default/stylesheets/blocks/profile-list-block.css | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 119 insertions(+), 4 deletions(-) create mode 100644 public/designs/themes/default/stylesheets/blocks/profile-list-block.css diff --git a/app/views/profile/communities.rhtml b/app/views/profile/communities.rhtml index 0cd6e08..4aa56f3 100644 --- a/app/views/profile/communities.rhtml +++ b/app/views/profile/communities.rhtml @@ -1,3 +1,6 @@ +
+

<%= _("%s's communities") % profile.name %>

<% button_bar do %> - <%= button(:back, _('Go back'), :controller => 'profile') %> + <%= button :back, _('Go back'), { :controller => 'profile' }, + :help => _('Back to the page where you come from.') %> <% end %> + +
+ diff --git a/app/views/profile/enterprises.rhtml b/app/views/profile/enterprises.rhtml index c136901..7f0b94c 100644 --- a/app/views/profile/enterprises.rhtml +++ b/app/views/profile/enterprises.rhtml @@ -1,3 +1,6 @@ +
+

<%= _("%s's enterprises") % profile.name %>

<% button_bar do %> - <%= button(:back, _('Go back'), :controller => 'profile') %> + <%= button :back, _('Go back'), { :controller => 'profile' }, + :help => _('Back to the page where you come from.') %> <% end %> + +
+ diff --git a/app/views/profile/friends.rhtml b/app/views/profile/friends.rhtml index 26967c4..4c9825e 100644 --- a/app/views/profile/friends.rhtml +++ b/app/views/profile/friends.rhtml @@ -1,3 +1,6 @@ +
+

<%= _("%s' friends") % profile.name %>

<% button_bar do %> - <%= button(:back, _('Go back'), :controller => 'profile') %> + <%= button :back, _('Go back'), { :controller => 'profile' }, + :help => _('Back to the page where you come from.') %> <% end %> + +
+ diff --git a/app/views/profile/members.rhtml b/app/views/profile/members.rhtml index 9ae23a6..381f2ec 100644 --- a/app/views/profile/members.rhtml +++ b/app/views/profile/members.rhtml @@ -1,3 +1,6 @@ +
+

<%= _("%s' members") % profile.name %>

<% button_bar do %> - <%= button(:back, _('Go back'), :controller => 'profile') %> + <%= button :back, _('Go back'), { :controller => 'profile' }, + :help => _('Back to the page where you come from.') %> <% end %> + +
+ diff --git a/public/designs/themes/default/stylesheets/blocks/main-block.css b/public/designs/themes/default/stylesheets/blocks/main-block.css index 885be76..c8fbbb3 100644 --- a/public/designs/themes/default/stylesheets/blocks/main-block.css +++ b/public/designs/themes/default/stylesheets/blocks/main-block.css @@ -1,3 +1,5 @@ +@import url(profile-list-block.css); + .article { position: relative; text-align: justify; diff --git a/public/designs/themes/default/stylesheets/blocks/profile-list-block.css b/public/designs/themes/default/stylesheets/blocks/profile-list-block.css new file mode 100644 index 0000000..2c933d7 --- /dev/null +++ b/public/designs/themes/default/stylesheets/blocks/profile-list-block.css @@ -0,0 +1,85 @@ +.common-profile-list-block { + text-align: center; + color: #B8CFE7; +} + +#content .common-profile-list-block .block-title { + font-size: 14px; +} + +.common-profile-list-block ul { + margin: 0px; + padding: 0px; +} + +#content .common-profile-list-block li { + list-style: none; + margin: 0px; + padding: 0px; + float: left; +} + +.common-profile-list-block li a { + border: 2px solid #FFF; + display: block; + height: 100px; + padding-top: 2px; + width: 96px; + overflow: hidden; + text-decoration: none; + font-size: 9px; +} +.msie .common-profile-list-block li a { + width: 100px; + line-height: 10px; + cursor: pointer; +} + +.common-profile-list-block li a:hover { + border: 2px solid #2A5896; + background: #B8CFE7; + color: #035; +} + +.common-profile-list-block li div { + width: 96px; + height: 64px; +} + +.common-profile-list-block li span { + display: block; + width: 92px; +} + +.common-profile-list-block li img { + border: none; +} + +.enterprises-block .block-footer-content, +.friends-block .block-footer-content, +.communities-block .block-footer-content { + text-align: center; + font-size: 80%; + padding: 5px 0px 0px 0px; +} +.msie .enterprises-block .block-footer-content, +.msie .friends-block .block-footer-content, +.msie .communities-block .block-footer-content { + padding: 0px; + margin-top: -5px; +} + +.common-profile-list-block-none { + font-style: italic; + margin-bottom: -10px; +} +.msie .common-profile-list-block-none { + margin-bottom: 0px; + padding-bottom: 10px; +} + +.common-profile-list-block .button-bar { + padding-top: 15px; + clear: left; +} + -- libgit2 0.21.2