social_stream 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/README.rdoc +17 -7
  2. data/app/controllers/frontpage_controller.rb +16 -0
  3. data/app/models/actor.rb +25 -10
  4. data/app/models/user.rb +4 -0
  5. data/app/views/{home → activities}/_activities.html.erb +4 -4
  6. data/app/views/activities/_new.html.erb +2 -2
  7. data/app/views/comments/_new.html.erb +1 -1
  8. data/app/views/frontpage/_header.html.erb +23 -0
  9. data/app/views/frontpage/_sponsor.html.erb +13 -0
  10. data/app/views/frontpage/index.html.erb +87 -0
  11. data/app/views/groups/_follow.html.erb +9 -0
  12. data/app/views/groups/_followers.html.erb +14 -0
  13. data/app/views/groups/_logo.html.erb +4 -0
  14. data/app/views/groups/_middle_show.html.erb +7 -0
  15. data/app/views/groups/_right_show.html.erb +6 -0
  16. data/app/views/groups/_tabs.html.erb +32 -0
  17. data/app/views/groups/show.html.erb +5 -12
  18. data/app/views/home/_contacts.html.erb +17 -0
  19. data/app/views/home/_groups.html.erb +6 -7
  20. data/app/views/home/_location.html.erb +1 -1
  21. data/app/views/home/_middle.html.erb +4 -0
  22. data/app/views/home/_options.html.erb +14 -0
  23. data/app/views/home/_right.html.erb +22 -0
  24. data/app/views/home/index.html.erb +15 -3
  25. data/app/views/layouts/_footer.html.erb +12 -0
  26. data/app/views/layouts/_header.erb +36 -0
  27. data/app/views/layouts/application.html.erb +81 -0
  28. data/app/views/layouts/frontpage.html.erb +51 -0
  29. data/app/views/ties/_suggestions.html.erb +18 -14
  30. data/app/views/users/_contacts.html.erb +19 -0
  31. data/app/views/users/_logo.html.erb +6 -0
  32. data/app/views/users/_menu.html.erb +30 -0
  33. data/app/views/users/_middle_show.html.erb +2 -0
  34. data/app/views/users/_profile.html.erb +121 -0
  35. data/app/views/users/_right_show.html.erb +5 -0
  36. data/app/views/users/show.html.erb +18 -0
  37. data/config/locales/en.yml +1 -1
  38. data/config/routes.rb +5 -1
  39. data/init.rb +2 -0
  40. data/lib/generators/social_stream/install_generator.rb +13 -1
  41. data/lib/generators/social_stream/templates/public/images/boxy/boxy-ne.png +0 -0
  42. data/lib/generators/social_stream/templates/public/images/boxy/boxy-nw.png +0 -0
  43. data/lib/generators/social_stream/templates/public/images/boxy/boxy-se.png +0 -0
  44. data/lib/generators/social_stream/templates/public/images/boxy/boxy-sw.png +0 -0
  45. data/lib/generators/social_stream/templates/public/images/btn/_notes/btn_certificates.png.mno +4 -0
  46. data/lib/generators/social_stream/templates/public/images/btn/arrows-ffffff.png +0 -0
  47. data/lib/generators/social_stream/templates/public/images/btn/bold.png +0 -0
  48. data/lib/generators/social_stream/templates/public/images/btn/btn_activities.png +0 -0
  49. data/lib/generators/social_stream/templates/public/images/btn/btn_bookmark.png +0 -0
  50. data/lib/generators/social_stream/templates/public/images/btn/btn_browse.png +0 -0
  51. data/lib/generators/social_stream/templates/public/images/btn/btn_certificates.png +0 -0
  52. data/lib/generators/social_stream/templates/public/images/btn/btn_check.png +0 -0
  53. data/lib/generators/social_stream/templates/public/images/btn/btn_conferences.png +0 -0
  54. data/lib/generators/social_stream/templates/public/images/btn/btn_config.png +0 -0
  55. data/lib/generators/social_stream/templates/public/images/btn/btn_date.png +0 -0
  56. data/lib/generators/social_stream/templates/public/images/btn/btn_delete.png +0 -0
  57. data/lib/generators/social_stream/templates/public/images/btn/btn_documents.png +0 -0
  58. data/lib/generators/social_stream/templates/public/images/btn/btn_embebed.png +0 -0
  59. data/lib/generators/social_stream/templates/public/images/btn/btn_exit.png +0 -0
  60. data/lib/generators/social_stream/templates/public/images/btn/btn_find.png +0 -0
  61. data/lib/generators/social_stream/templates/public/images/btn/btn_follow.png +0 -0
  62. data/lib/generators/social_stream/templates/public/images/btn/btn_follower.png +0 -0
  63. data/lib/generators/social_stream/templates/public/images/btn/btn_foward.png +0 -0
  64. data/lib/generators/social_stream/templates/public/images/btn/btn_friend.png +0 -0
  65. data/lib/generators/social_stream/templates/public/images/btn/btn_gallery.png +0 -0
  66. data/lib/generators/social_stream/templates/public/images/btn/btn_help.png +0 -0
  67. data/lib/generators/social_stream/templates/public/images/btn/btn_home.png +0 -0
  68. data/lib/generators/social_stream/templates/public/images/btn/btn_inbox.png +0 -0
  69. data/lib/generators/social_stream/templates/public/images/btn/btn_info.png +0 -0
  70. data/lib/generators/social_stream/templates/public/images/btn/btn_like.png +0 -0
  71. data/lib/generators/social_stream/templates/public/images/btn/btn_next.png +0 -0
  72. data/lib/generators/social_stream/templates/public/images/btn/btn_notifications.png +0 -0
  73. data/lib/generators/social_stream/templates/public/images/btn/btn_outline.png +0 -0
  74. data/lib/generators/social_stream/templates/public/images/btn/btn_partner.png +0 -0
  75. data/lib/generators/social_stream/templates/public/images/btn/btn_photo.png +0 -0
  76. data/lib/generators/social_stream/templates/public/images/btn/btn_profile.png +0 -0
  77. data/lib/generators/social_stream/templates/public/images/btn/btn_rank.png +0 -0
  78. data/lib/generators/social_stream/templates/public/images/btn/btn_security.png +0 -0
  79. data/lib/generators/social_stream/templates/public/images/btn/btn_send.png +0 -0
  80. data/lib/generators/social_stream/templates/public/images/btn/btn_share.png +0 -0
  81. data/lib/generators/social_stream/templates/public/images/btn/btn_spam.png +0 -0
  82. data/lib/generators/social_stream/templates/public/images/btn/btn_tag.png +0 -0
  83. data/lib/generators/social_stream/templates/public/images/btn/btn_video.png +0 -0
  84. data/lib/generators/social_stream/templates/public/images/btn/btn_write.png +0 -0
  85. data/lib/generators/social_stream/templates/public/images/btn/close.png +0 -0
  86. data/lib/generators/social_stream/templates/public/images/btn/facebook.png +0 -0
  87. data/lib/generators/social_stream/templates/public/images/btn/flyer.png +0 -0
  88. data/lib/generators/social_stream/templates/public/images/btn/index_71.png +0 -0
  89. data/lib/generators/social_stream/templates/public/images/btn/italic.png +0 -0
  90. data/lib/generators/social_stream/templates/public/images/btn/keynote.png +0 -0
  91. data/lib/generators/social_stream/templates/public/images/btn/live.png +0 -0
  92. data/lib/generators/social_stream/templates/public/images/btn/new.png +0 -0
  93. data/lib/generators/social_stream/templates/public/images/btn/next_conference.png +0 -0
  94. data/lib/generators/social_stream/templates/public/images/btn/next_space.png +0 -0
  95. data/lib/generators/social_stream/templates/public/images/btn/notifications.png +0 -0
  96. data/lib/generators/social_stream/templates/public/images/btn/pixel.png +0 -0
  97. data/lib/generators/social_stream/templates/public/images/btn/point_blue.png +0 -0
  98. data/lib/generators/social_stream/templates/public/images/btn/point_gray.png +0 -0
  99. data/lib/generators/social_stream/templates/public/images/btn/subtime.png +0 -0
  100. data/lib/generators/social_stream/templates/public/images/btn/tag_cloud.png +0 -0
  101. data/lib/generators/social_stream/templates/public/images/btn/time.png +0 -0
  102. data/lib/generators/social_stream/templates/public/images/btn/title_background.png +0 -0
  103. data/lib/generators/social_stream/templates/public/images/btn/viewer.png +0 -0
  104. data/lib/generators/social_stream/templates/public/images/frontpage/collaborate.gif +0 -0
  105. data/lib/generators/social_stream/templates/public/images/frontpage/collaborate.png +0 -0
  106. data/lib/generators/social_stream/templates/public/images/frontpage/comments.png +0 -0
  107. data/lib/generators/social_stream/templates/public/images/frontpage/facebook.png +0 -0
  108. data/lib/generators/social_stream/templates/public/images/frontpage/green_sq.png +0 -0
  109. data/lib/generators/social_stream/templates/public/images/frontpage/join.gif +0 -0
  110. data/lib/generators/social_stream/templates/public/images/frontpage/meet.gif +0 -0
  111. data/lib/generators/social_stream/templates/public/images/frontpage/meet.png +0 -0
  112. data/lib/generators/social_stream/templates/public/images/frontpage/people.png +0 -0
  113. data/lib/generators/social_stream/templates/public/images/frontpage/purple_sq.png +0 -0
  114. data/lib/generators/social_stream/templates/public/images/frontpage/right_comments.gif +0 -0
  115. data/lib/generators/social_stream/templates/public/images/frontpage/right_organizers.gif +0 -0
  116. data/lib/generators/social_stream/templates/public/images/frontpage/right_people.gif +0 -0
  117. data/lib/generators/social_stream/templates/public/images/frontpage/right_social.gif +0 -0
  118. data/lib/generators/social_stream/templates/public/images/frontpage/right_tags.gif +0 -0
  119. data/lib/generators/social_stream/templates/public/images/frontpage/right_webcam.gif +0 -0
  120. data/lib/generators/social_stream/templates/public/images/frontpage/share.gif +0 -0
  121. data/lib/generators/social_stream/templates/public/images/frontpage/share.png +0 -0
  122. data/lib/generators/social_stream/templates/public/images/frontpage/tags.png +0 -0
  123. data/lib/generators/social_stream/templates/public/images/frontpage/yellow_sq.png +0 -0
  124. data/lib/generators/social_stream/templates/public/images/logo.png +0 -0
  125. data/lib/generators/social_stream/templates/public/images/logo/dit.png +0 -0
  126. data/lib/generators/social_stream/templates/public/images/logos/original/group.png +0 -0
  127. data/lib/generators/social_stream/templates/public/images/logos/original/user.png +0 -0
  128. data/lib/generators/social_stream/templates/public/javascripts/hoverIntent.js +84 -0
  129. data/lib/generators/social_stream/templates/public/javascripts/jquery-ui-personalized-1.5.2.packed.js +1 -0
  130. data/lib/generators/social_stream/templates/public/javascripts/jquery.boxy.js +570 -0
  131. data/lib/generators/social_stream/templates/public/javascripts/jquery.livequery.js +250 -0
  132. data/lib/generators/social_stream/templates/public/javascripts/main.js +82 -0
  133. data/lib/generators/social_stream/templates/public/javascripts/menu.js +99 -0
  134. data/lib/generators/social_stream/templates/public/javascripts/superfish.js +121 -0
  135. data/lib/generators/social_stream/templates/public/stylesheets/activities.css +231 -0
  136. data/lib/generators/social_stream/templates/public/stylesheets/base.css +68 -0
  137. data/lib/generators/social_stream/templates/public/stylesheets/boxy.css +49 -0
  138. data/lib/generators/social_stream/templates/public/stylesheets/browse.css +120 -0
  139. data/lib/generators/social_stream/templates/public/stylesheets/frontpage.css +708 -0
  140. data/lib/generators/social_stream/templates/public/stylesheets/header.css +107 -0
  141. data/lib/generators/social_stream/templates/public/stylesheets/home.css +98 -0
  142. data/lib/generators/social_stream/templates/public/stylesheets/index.css +632 -0
  143. data/lib/generators/social_stream/templates/public/stylesheets/menu.css +83 -0
  144. data/lib/generators/social_stream/templates/public/stylesheets/middle.css +94 -0
  145. data/lib/generators/social_stream/templates/public/stylesheets/right.css +57 -0
  146. data/lib/generators/social_stream/templates/public/stylesheets/social_stream.css +75 -0
  147. data/lib/generators/social_stream/templates/seeds.yml +1 -1
  148. data/lib/paperclip/{ext.rb → social_stream.rb} +0 -0
  149. data/lib/social_stream/models/actor.rb +1 -1
  150. data/lib/social_stream/rails.rb +3 -2
  151. data/lib/social_stream/rails/common.rb +1 -0
  152. data/lib/social_stream/version.rb +1 -1
  153. data/social_stream.gemspec +2 -1
  154. metadata +156 -11
@@ -1,3 +1,3 @@
1
1
  <div id="map_location" class="content_size">
2
- <%= t('location.message', :location => "#{ image_tag('buttons/btn_home.png' , :class => 'btn_config') } #{ t('home.one') }: <span class=\"name_group\">#{ sanitize current_user.name }</span>").html_safe %>
2
+ <%= t('location.message', :location => "#{ image_tag('btn/btn_home.png' , :class => 'btn_config') } #{ t('home.one') }: <span class=\"name_group\">#{ sanitize current_user.name }</span>").html_safe %>
3
3
  </div>
@@ -0,0 +1,4 @@
1
+ <div class="space_center"></div>
2
+ <%= render :partial => "ties/suggestions" %>
3
+ <div class="space_center"></div>
4
+ <%= render :partial => 'ties/pendings' %>
@@ -0,0 +1,14 @@
1
+ <ul class="menu noaccordion">
2
+ <li>
3
+ <%= link_to(image_tag("btn/btn_activities.png", :class => "menu_icon")+t('activity.last'),current_user) %>
4
+ <ul class="acitem">
5
+ <li><a href="http://www.pivotx.net/">PivotX</a></li>
6
+ </ul>
7
+ </li>
8
+ <li>
9
+ <%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('inbox.one'), current_user) %>
10
+ </li>
11
+ <li>
12
+ <%= link_to(image_tag("btn/btn_photo.png", :class => "menu_icon")+t('photo.other'),current_user) %>
13
+ </li>
14
+ </ul>
@@ -0,0 +1,22 @@
1
+ <div id="logo">
2
+ <b><%= link_to(current_user.name, current_user)%></b><br/>
3
+ <%= link_to(image_tag(current_user.logo.url , :size => "94x65", :alt => current_user.name ), current_user ) %>
4
+ </div>
5
+ <div class="space_center">
6
+ </div>
7
+ <div class="menu_header"><b><%=t('menu.options')%></b>
8
+ </div>
9
+ <div id="menu_lateral">
10
+ <%= render :partial => "options" %>
11
+ </div>
12
+ <div class="space_center">
13
+ </div>
14
+ <div class="space_center">
15
+ </div>
16
+ <% if current_user.friends.count>0 %>
17
+ <%= render :partial => "contacts" %>
18
+ <%end%>
19
+ <div class="space_center">
20
+ </div>
21
+ <div class="space_center">
22
+ </div>
@@ -1,5 +1,17 @@
1
- <%= render :partial => 'home/location' %>
1
+ <% content_for :middle do %>
2
+ <%= render :partial => 'middle' %>
3
+ <% end %>
4
+
5
+ <% content_for :right do %>
6
+ <%= render :partial => "right" %>
7
+ <% end %>
2
8
 
3
- <%= render :partial => "home/groups" %>
4
- <%= render :partial => "home/activities" %>
9
+ <%= render :partial => 'home/location' %>
5
10
 
11
+ <br class="clearfloat" />
12
+ <div class="space_center">
13
+ </div>
14
+ <%= render :partial => "groups" %>
15
+ <%= render :partial => "activities/activities",
16
+ :locals => { :activities => current_user.wall,
17
+ :owner => current_user } %>
@@ -0,0 +1,12 @@
1
+ <div id="footerFront">
2
+ <div id="footer">
3
+ <ul>
4
+ <li id="trade_mark"><%= t('socialstream') %></li>
5
+ <li>,</li>
6
+ <li><%= t('copyright') %></li>
7
+ </ul>
8
+ </div>
9
+ </div>
10
+
11
+
12
+
@@ -0,0 +1,36 @@
1
+ <div id="headerFront">
2
+ <div class="banner_top">
3
+ <div id="header_left">
4
+ <a href="index.htm"></a>
5
+ <div id="logo_txt">
6
+ <%= link_to(t('socialstream') , root_path)%> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7
+ </div>
8
+ <% if user_signed_in? %>
9
+ <%=image_tag("btn/btn_home.png",:class=>"btn_config",:alt=>"Home") %>
10
+ <div class="txt_config">
11
+ <%= link_to t('home.my'),home_path %>
12
+ </div>
13
+ <%=image_tag("btn/btn_profile.png",:class=>"btn_config",:alt=>"Profile") %>
14
+ <div class="txt_config">
15
+ <%=link_to(t('profile.my'),current_user)%>
16
+ </div>
17
+ <%=image_tag("btn/btn_browse.png",:class=>"btn_config",:alt=>"Browse") %>
18
+ <div class="txt_config2">
19
+ <%=link_to(t('browse'),users_path) %> &nbsp;
20
+ </div>
21
+ </div>
22
+ <div id="header_right">
23
+ <%=image_tag("btn/btn_config.png",:class=>"btn_config",:alt=>"Configuration") %>
24
+ <div class="txt_config">
25
+ <%= t('account') %>
26
+
27
+ </div>
28
+ <%=image_tag("btn/btn_exit.png",:class=>"btn_config",:alt=>"Exit") %>
29
+ <div class="txt_config2">
30
+ <%= link_to t('logout')+" ("+current_user.name+")", destroy_user_session_path %>
31
+ </div>
32
+ <% end %>
33
+ </div>
34
+ </div>
35
+ <br class="clearfloat" />
36
+ </div>
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
+ <title><%= yield(:title) || t('socialstream') %></title>
6
+
7
+ <%= stylesheet_link_tag "base", :media => "screen, projection" %>
8
+ <%= stylesheet_link_tag "header", :media => "screen, projection" %>
9
+ <%= stylesheet_link_tag "index", :media => "screen, projection" %>
10
+ <%= stylesheet_link_tag "activities", :media => "screen, projection" %>
11
+ <%= stylesheet_link_tag "right", :media => "screen, projection" %>
12
+ <%= stylesheet_link_tag "home", :media => "screen, projection" %>
13
+ <%= stylesheet_link_tag "browse", :media => "screen, projection" %>
14
+ <%= stylesheet_link_tag "social_stream", :media => "screen, projection" %>
15
+ <%= stylesheet_link_tag "boxy", :media => "screen, projection" %>
16
+ <%= stylesheet_link_tag "middle", :media => "screen, projection" %>
17
+ <%= stylesheet_link_tag "menu", :media => "screen, projection" %>
18
+
19
+ <!--[if IE]>
20
+ <%= stylesheet_link_tag "ie", :media => "screen, projection" %>
21
+ <![endif]-->
22
+ <script type="text/javascript">
23
+ if (navigator.userAgent.indexOf('Mac') != -1) {
24
+ document.write("<link href='/stylesheets/mac.css' media='screen, projection' rel='stylesheet' type='text/css' />");
25
+ }
26
+ </script>
27
+ <%= javascript_include_tag :defaults %>
28
+
29
+ <%= javascript_include_tag 'hoverIntent', 'superfish', 'main',
30
+ 'jquery-ui-personalized-1.5.2.packed' , 'jquery.livequery',
31
+ 'jquery.boxy', 'menu'%>
32
+
33
+
34
+ <% if protect_against_forgery? %>
35
+ <%= csrf_meta_tag %>
36
+ <% end %>
37
+
38
+ <script type="text/javascript" charset="utf-8">
39
+ $(document).ready(function() {
40
+ <%= yield :javascript %>
41
+ })
42
+ </script>
43
+
44
+ <%= yield :head %>
45
+ </head>
46
+ <body>
47
+ <div id="wrapper">
48
+ <%= render :partial => "layouts/header" %>
49
+ <div id="wrapper_body">
50
+ <div id="content">
51
+ <%= yield %>
52
+ </div>
53
+ <div id="middle">
54
+ <div id="middleContent">
55
+ <div class="space_center">
56
+ </div>
57
+ <div class="space_center">
58
+ </div>
59
+ <div class="space_center">
60
+ </div>
61
+ <%= yield :middle %>
62
+ </div>
63
+ </div>
64
+ <div id="right">
65
+ <div id="rightContent">
66
+ <div class="space_center">
67
+ </div>
68
+ <div class="space_center">
69
+ </div>
70
+ <div class="space_center">
71
+ </div>
72
+ <%= yield :right %>
73
+ </div>
74
+ </div>
75
+ <br class="clearfloat" />
76
+ </div>
77
+ <%= render :partial => "layouts/footer" %>
78
+ </div>
79
+
80
+ </body>
81
+ </html>
@@ -0,0 +1,51 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
+ <title><%= yield :title %></title>
6
+ <%= stylesheet_link_tag "frontpage", :media => "screen, projection" %>
7
+ <%= javascript_include_tag 'jquery', 'jquery.livequery' %>
8
+ <script type="text/javascript" charset="utf-8">
9
+ $(document).ready(function() {
10
+ <%= yield :javascript%>
11
+ });
12
+
13
+ </script>
14
+ <%= yield :headers %>
15
+ </head>
16
+ <body>
17
+ <div id="site">
18
+ <%= render :partial => "header" %>
19
+ <div id="home">
20
+ <div id="header">
21
+ <div class="banner_busqueda">
22
+ <div id="espacio_busqueda">
23
+ <% flash.each do |name, msg| %>
24
+ <div class="<%= name %>">
25
+ <%= msg %>
26
+ </div>
27
+ <% end %>
28
+ </div>
29
+ <div class="div_busqueda">
30
+ <div id="subtexto_busqueda">
31
+ <%=link_to t("browse"), groups_path,:class => "show_all_link" %>
32
+ </div>
33
+ <%= yield :search %>
34
+ </div>
35
+ <br class="clearfloat" />
36
+ </div>
37
+ </div>
38
+ <div id="content">
39
+ <%= yield %>
40
+ </div>
41
+ </div>
42
+ <div id="sponsor-wrapper">
43
+ <%= render :partial => "sponsor" %>
44
+ </div>
45
+ <div id="footer-wrapper">
46
+ <%= render :partial => "layouts/footer" %>
47
+ </div>
48
+ </div>
49
+
50
+ </body>
51
+ </html>
@@ -1,16 +1,20 @@
1
- <% content_for :javascript do %>
2
- $(".suggestions .tie_close").livequery("click",function(){
3
- $(this).parents(".tie").replaceWith("<%= escape_javascript(render(current_user.suggestion))%>");
4
- });
5
- <% end %>
1
+ <% if current_user.suggestion.present? %>
2
+ <% content_for :javascript do %>
3
+ $(".suggestions .tie_close").livequery("click",function(){
4
+ $(this).parents(".tie").replaceWith("<%= escape_javascript(render(current_user.suggestion))%>");
5
+ });
6
+ <% end %>
6
7
 
7
- <div class="suggestions_header">
8
- <%= image_tag('notifications.png', :class => "suggestion_icon") %>
9
- <div class="suggestion_text_header">
10
- <%=t('tie.suggestion.one') %>
11
- </div>
12
- </div>
13
- <div class="suggestions">
14
- <%= render current_user.suggestions(2) %>
15
- </div>
8
+ <div class="suggestions_header">
9
+ <%= image_tag('btn/notifications.png', :class => "suggestion_icon") %>
10
+ <div class="suggestion_text_header">
11
+ <%=t('tie.suggestion.one') %>
12
+ </div>
13
+ </div>
14
+ <div class="suggestions">
15
+ <% if (sgs = current_user.suggestions(2)).present? %>
16
+ <%= render sgs %>
17
+ <% end %>
18
+ </div>
19
+ <% end %>
16
20
 
@@ -0,0 +1,19 @@
1
+ <div class="future_conference">
2
+ <div class="future_header">
3
+ <div class="future_text_header">
4
+ <%= image_tag("btn/btn_follower.png", :alt =>"follower") %>2.520 Contacts
5
+ </div>
6
+ <div class="title_righ">
7
+ <a href="#">Ver Todas</a>
8
+ </div>
9
+ </div>
10
+ <div class="post_future_conference">
11
+ <div class="future_content_center">
12
+ <%=link_to ( (image_tag ( "albums/1.png", :alt => @user.name , :size => "40x40")) , @user) %>
13
+ <%=link_to ( (image_tag ( "albums/2.png", :alt => @user.name , :size => "40x40")) , @user) %>
14
+ <%=link_to ( (image_tag ( "albums/3.png", :alt => @user.name , :size => "40x40")) , @user) %>
15
+ <%=link_to ( (image_tag ( "albums/4.png", :alt => @user.name , :size => "40x40")) , @user) %>
16
+ </div>
17
+ </div>
18
+ </div>
19
+
@@ -0,0 +1,6 @@
1
+ <div id="logo">
2
+ <%=link_to(image_tag(@user.logo.url, :size => "120x196"), @user) %>
3
+ <br/>
4
+ <%= @user.name %>
5
+ <br/>
6
+ </div>
@@ -0,0 +1,30 @@
1
+ <div class="menu_lateral">
2
+ <div class="option_menu">
3
+ <div class="text_menu">
4
+ &nbsp;&nbsp;<a href="#">Write a Message to <%=@user.name%></a>
5
+ </div>
6
+ </div>
7
+ </div>
8
+ <div class="space_center">
9
+ </div>
10
+ <div class="menu_lateral">
11
+ <div class="option_menu">
12
+ <%= image_tag("btn/btn_inbox.png") %>
13
+ <div class="text_menu">
14
+ <a href="#">Inbox(2)</a>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ <div id="space_center_border">
19
+ </div>
20
+ <div class="space_center">
21
+ </div>
22
+ <div id="sub_menu_lateral">
23
+ <div class="option_menu">
24
+ <%= image_tag("btn/btn_video.png") %>
25
+ <div class="text_menu">
26
+ <a href="#">Groups</a>
27
+ </div>
28
+ </div>
29
+ </div>
30
+
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'profile' %>
2
+ <%= render :partial => 'contacts' %>
@@ -0,0 +1,121 @@
1
+ <div class="future_conference">
2
+ <div class="future_header">
3
+ <div class="future_text_header">
4
+ Personal Information
5
+ </div>
6
+ <div class="title_righ">
7
+ <a href="#">Edit</a>
8
+ </div>
9
+ </div>
10
+ <div class="post_future_conference">
11
+ <div class="info_post">
12
+ <div class="info_left">
13
+ Work:
14
+ </div>
15
+ <div class="info_right">
16
+ CSI-ESPOL
17
+ </div>
18
+ </div>
19
+ <div class="info_post">
20
+ <div class="info_left">
21
+ BirthDay:
22
+ </div>
23
+ <div class="info_right">
24
+ July 13, 1982
25
+ </div>
26
+ </div>
27
+ <div class="info_post">
28
+ <div class="info_left">
29
+ Age:
30
+ </div>
31
+ <div class="info_right">
32
+ 22 years old
33
+ </div>
34
+ </div>
35
+ <div class="info_post">
36
+ <div class="info_left">
37
+ Place of Birth:
38
+ </div>
39
+ <div class="info_right">
40
+ Guayaquil, Ecuador
41
+ </div>
42
+ </div>
43
+ <div class="info_post">
44
+ <div class="info_left">
45
+ Actual City:
46
+ </div>
47
+ <div class="info_right">
48
+ Panamá, Panamá
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="future_conference">
54
+ <div class="future_header">
55
+ <div class="future_text_header">
56
+ Contact Information
57
+ </div>
58
+ <div class="title_righ">
59
+ <a href="#">Edit</a>
60
+ </div>
61
+ </div>
62
+ <div class="post_future_conference">
63
+ <div class="future_content">
64
+ <div class="info_post">
65
+ <div>
66
+ Website
67
+ </div>
68
+ <div class="keynote_future">
69
+ <a href="#">http://www.blog.espol.edu.ec/arigar</a>
70
+ </div>
71
+ </div>
72
+ <div class="info_post">
73
+ <div>
74
+ Linkedinf
75
+ </div>
76
+ <div class="keynote_future">
77
+ <a href="#">http://www.linkedin.com/arigar</a>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ <div class="future_conference">
84
+ <div class="future_header">
85
+ <div class="future_text_header">
86
+ Experiencia
87
+ </div>
88
+ <div class="title_righ">
89
+ <a href="#">Edit</a>
90
+ </div>
91
+ </div>
92
+ <div class="post_future_conference">
93
+ <div class="future_content">
94
+ <div class="info_post">
95
+ <div class="info_left">
96
+ Actual:
97
+ </div>
98
+ <div class="info_right">
99
+ Diseñadora Gráfica del Centro de Servicios Informáticos, CSI-ESPOL
100
+ </div>
101
+ </div>
102
+ <div class="info_post">
103
+ <div class="info_left">
104
+ Actual:
105
+ </div>
106
+ <div class="info_right">
107
+ Asesora de diseño del Grupo romero y Asociados S.A.
108
+ </div>
109
+ </div>
110
+ <div class="info_post">
111
+ <div class="info_left">
112
+ Anterior:
113
+ </div>
114
+ <div class="info_right">
115
+ Diseñadora del Departamente de Investigación y Multimedios EDCOM-ESPOL
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </div>
120
+ </div>
121
+