Skip to content
Extraits de code Groupes Projets
Valider 6c33c2a4 rédigé par maxwell's avatar maxwell
Parcourir les fichiers

Merge branch 'master' of github.com:diaspora/diaspora

parents 919d7d23 2daa31b7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,15 +9,22 @@ ...@@ -9,15 +9,22 @@
= "Editing Groups" = "Editing Groups"
%ul#group_list %ul#group_list
- for group in @groups - for group in @groups
%li{:class => 'group'}
= group.name %li.group
%h3= group.name
%ul{:id => group.id} %ul{:id => group.id}
dummy person for dropping onto -if group.people.size < 1
-for person in group.people %li.grey Drag to add people
%li{:class => 'person', :id => person.id, :from_group_id => group.id}
= image_tag(person.profile.image_url(:thumb_small),:size => "30x30") unless person.profile.image_url.nil? -else
= person.real_name -for person in group.people
%li.person{:id => person.id, :from_group_id => group.id}
= image_tag(person.profile.image_url(:thumb_small),:size => "30x30") unless person.profile.image_url.nil?
= person.real_name
%p %p
%br %br
= link_to 'Update Groups', '#', :class => 'button', :id => "move_friends_link" = link_to 'Update Groups', '#', :class => 'button', :id => "move_friends_link"
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
- unless @group == :all - unless @group == :all
= link_to (image_tag('add_friend_button.png', :height => "50px", :width => "50px")), "#add_request_pane", :id => 'add_request_button' = link_to (image_tag('add_friend_button.png', :height => "50px", :width => "50px")), "#add_request_pane", :id => 'add_request_button'
= link_to "Edit", (edit_group_path(@group)), :class => "buttion"
.yo{:style => 'display:none'} .yo{:style => 'display:none'}
#add_request_pane #add_request_pane
......
...@@ -6,11 +6,13 @@ ...@@ -6,11 +6,13 @@
%li{:id => group.id, :class => ("selected" if current_group?(group))} %li{:id => group.id, :class => ("selected" if current_group?(group))}
%span.group_name %span.group_name
= link_for_group group = link_for_group group
%span{:class => '⚙'}
= link_to "⚙", "#", :class => "edit_group_button"
%li.new_group= link_to("+", "#add_group_pane", :id => "add_group_button") %li.new_group= link_to("+", "#add_group_pane", :id => "add_group_button")
%li
%span{:class => '⚙'}
= link_to "⚙", edit_group_path(Group.first), :class => "edit_group_button", :title => "Manage your facets."
.yo{ :style => "display:none;"} .yo{ :style => "display:none;"}
#add_group_pane #add_group_pane
= render "groups/new_group" = render "groups/new_group"
...@@ -310,11 +310,11 @@ label { ...@@ -310,11 +310,11 @@ label {
font-weight: normal; } font-weight: normal; }
#publisher { #publisher {
padding-bottom: 20px;
color: #999999; color: #999999;
position: relative; position: relative;
height: 63px; height: 63px;
margin-bottom: 5px; } margin-bottom: 10px;
border-bottom: 1px solid #666666; }
#publisher .avatar { #publisher .avatar {
float: left; float: left;
margin-right: 15px; } margin-right: 15px; }
...@@ -462,21 +462,16 @@ h1.big_text { ...@@ -462,21 +462,16 @@ h1.big_text {
margin-right: 0.5em; margin-right: 0.5em;
padding: 3px 8px; padding: 3px 8px;
border: 1px solid #555555; } border: 1px solid #555555; }
#group_nav ul > li:hover {
background-color: #444444; }
#group_nav ul > li:hover a {
color: #999999; }
#group_nav ul > li a { #group_nav ul > li a {
color: #999999; } color: #999999; }
#group_nav ul > li a:hover { #group_nav ul > li a:hover {
background: none; } background: none; }
#group_nav ul > li a.editable:hover { #group_nav ul > li a.editable:hover {
background: yellow; } background: yellow; }
#group_nav ul . { #group_nav ul > li:hover {
margin-left: 4px; background-color: #444444; }
margin-right: -4px; } #group_nav ul > li:hover a {
#group_nav ul . a { color: #999999; }
color: black; }
#group_nav ul .selected { #group_nav ul .selected {
font-weight: bold; font-weight: bold;
background-color: white; background-color: white;
...@@ -486,8 +481,6 @@ h1.big_text { ...@@ -486,8 +481,6 @@ h1.big_text {
background-color: #eeeeee; } background-color: #eeeeee; }
#group_nav ul .selected a { #group_nav ul .selected a {
color: black; } color: black; }
#group_nav ul .selected . a {
color: #333333; }
#add_photo_loader { #add_photo_loader {
position: absolute; position: absolute;
...@@ -577,3 +570,25 @@ h1.big_text { ...@@ -577,3 +570,25 @@ h1.big_text {
.editing, .editing:hover { .editing, .editing:hover {
background-color: yellow; background-color: yellow;
border: 1px #666666 solid; } border: 1px #666666 solid; }
.group {
list-style: none; }
.group ul {
min-height: 20px;
margin: 0;
margin-left: 1em;
margin-bottom: 25px;
background-color: #efefef;
border: 1px solid #cccccc;
border-radius: 3px;
list-style: none;
padding: 15px; }
.group ul li {
margin-left: 0;
padding: 5px;
cursor: move; }
.group ul li img {
display: inline-block; }
.group ul .grey {
font-style: italic;
color: #666666; }
...@@ -381,13 +381,13 @@ label ...@@ -381,13 +381,13 @@ label
:weight normal :weight normal
#publisher #publisher
:padding
:bottom 20px
:color #999 :color #999
:position relative :position relative
:height 63px :height 63px
:margin :margin
:bottom 5px :bottom 10px
:border
:bottom 1px solid #666
.avatar .avatar
:float left :float left
...@@ -577,6 +577,7 @@ h1.big_text ...@@ -577,6 +577,7 @@ h1.big_text
:style none :style none
:font :font
:size 14px :size 14px
> li > li
:background :background
:color #444 :color #444
...@@ -587,12 +588,6 @@ h1.big_text ...@@ -587,12 +588,6 @@ h1.big_text
:border 1px solid #555 :border 1px solid #555
&:hover
:background
:color #444
a
:color #999
a a
:color #999 :color #999
&:hover &:hover
...@@ -600,12 +595,12 @@ h1.big_text ...@@ -600,12 +595,12 @@ h1.big_text
&.editable:hover &.editable:hover
:background yellow :background yellow
. &:hover
:margin :background
:left 4px :color #444
:right -4px a
a :color #999
:color #000
.selected .selected
:font :font
...@@ -621,11 +616,6 @@ h1.big_text ...@@ -621,11 +616,6 @@ h1.big_text
a a
:color #000 :color #000
.
a
:color #333
#add_photo_loader #add_photo_loader
:position absolute :position absolute
:display none :display none
...@@ -748,3 +738,37 @@ h1.big_text ...@@ -748,3 +738,37 @@ h1.big_text
:background :background
:color yellow :color yellow
:border 1px #666 solid :border 1px #666 solid
.group
:list
:style none
ul
:min-height 20px
:margin 0
:left 1em
:bottom 25px
:background
:color #efefef
:border 1px solid #ccc
:border
:radius 3px
:list
:style none
:padding 15px
li
:margin
:left 0
:padding 5px
:cursor move
img
:display inline-block
.grey
:font
:style italic
:color #666
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter