fancyboxes have title bars now, kind of.
This commit is contained in:
parent
8c92c31323
commit
b218a53bf7
5 changed files with 66 additions and 41 deletions
|
|
@ -2,7 +2,9 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
%h1=t('.add_a_new_album')
|
.span-12.last
|
||||||
|
.modal_title_bar
|
||||||
|
%h4= t('.add_a_new_album')
|
||||||
|
|
||||||
= form_for Album.new do |f|
|
= form_for Album.new do |f|
|
||||||
= f.error_messages
|
= f.error_messages
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,14 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
%h1=t('.add_a_new_aspect')
|
.span-12.last
|
||||||
|
.modal_title_bar
|
||||||
|
%h4= t('.add_a_new_aspect')
|
||||||
|
|
||||||
= form_for Aspect.new do |aspect|
|
= form_for Aspect.new do |aspect|
|
||||||
= aspect.error_messages
|
= aspect.error_messages
|
||||||
%p
|
%p
|
||||||
= aspect.label :name
|
= aspect.label :name
|
||||||
= aspect.text_field :name
|
= aspect.text_field :name
|
||||||
= aspect.submit t('.create'), :class => 'button'
|
= aspect.submit t('.create'), :class => 'button'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
%h2 Send invitation
|
.span-12.last
|
||||||
|
.modal_title_bar
|
||||||
|
%h4 Send invitation
|
||||||
|
|
||||||
= form_for User.new, :url => invitation_path(User) do |invite|
|
= form_for User.new, :url => invitation_path(User) do |invite|
|
||||||
%p
|
%p
|
||||||
= invite.label :email
|
= invite.label :email
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
%h1
|
.span-12.last
|
||||||
|
.modal_title_bar
|
||||||
|
%h4
|
||||||
=t('.add_a_new_friend_to')
|
=t('.add_a_new_friend_to')
|
||||||
%i= aspect.name
|
%i= aspect.name
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -341,6 +341,7 @@ li.message
|
||||||
:display block
|
:display block
|
||||||
:height 100%
|
:height 100%
|
||||||
:padding 2px 5px
|
:padding 2px 5px
|
||||||
|
:cursor default
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
:background
|
:background
|
||||||
|
|
@ -1044,3 +1045,16 @@ header
|
||||||
|
|
||||||
h2
|
h2
|
||||||
:display inline
|
:display inline
|
||||||
|
|
||||||
|
.modal_title_bar
|
||||||
|
:width 100%
|
||||||
|
:background
|
||||||
|
:color #333
|
||||||
|
:margin
|
||||||
|
:bottom 2em
|
||||||
|
h4
|
||||||
|
:color #fff
|
||||||
|
:padding 10px 20px
|
||||||
|
:font
|
||||||
|
:size small
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue