Modification présentation exifs
This commit is contained in:
parent
27d52a7cb5
commit
5143f6151b
@ -145,8 +145,26 @@ text-align:center;
|
||||
.title{
|
||||
text-align:left;
|
||||
color:gray;
|
||||
.exifs{
|
||||
position:absolute;
|
||||
right:0;
|
||||
top:0px;
|
||||
width:110%;
|
||||
|
||||
font-size:0.6em;
|
||||
|
||||
@include transform-origin(top, right);
|
||||
@include rotate(-90deg);
|
||||
|
||||
text-align:right;
|
||||
|
||||
&:hover{
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.time{
|
||||
color:gray;
|
||||
float:right;
|
||||
|
@ -28,7 +28,7 @@
|
||||
#breadcrumb
|
||||
|
||||
.personnal
|
||||
=image_tag (current_admin.avatar? ? current_admin.avatar.square.url : ""), :class => "avatar"
|
||||
=image_tag (current_admin.avatar? ? current_admin.avatar.square.url : "defaut.png"), :class => "avatar"
|
||||
%span
|
||||
=current_admin.firstname
|
||||
=current_admin.name
|
||||
|
@ -13,14 +13,16 @@
|
||||
="-"
|
||||
=l portfolio_image.shoot_at, :format => :date if portfolio_image.shoot_at
|
||||
-if portfolio_image.exif
|
||||
%br
|
||||
=portfolio_image.exif.model
|
||||
="-"
|
||||
="f "+portfolio_image.exif.f_number.to_f.to_s
|
||||
="-"
|
||||
=portfolio_image.exif.exposure_time.to_s+" s"
|
||||
="-"
|
||||
=portfolio_image.exif.iso_speed_ratings.to_s+" iso"
|
||||
.exifs
|
||||
=portfolio_image.exif.model
|
||||
="-"
|
||||
="f "+portfolio_image.exif.f_number.to_f.to_s
|
||||
="-"
|
||||
=portfolio_image.exif.exposure_time.to_s+" s"
|
||||
="-"
|
||||
=portfolio_image.exif.iso_speed_ratings.to_s+" iso"
|
||||
="-"
|
||||
© Nicolas Bally
|
||||
|
||||
-if current_admin
|
||||
.admin
|
||||
|
@ -18,6 +18,7 @@ test:
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
|
||||
|
||||
production:
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
@ -26,6 +27,3 @@ production:
|
||||
username: site_perso_app
|
||||
password: site_perso_app
|
||||
socket: /var/run/mysqld/mysqld.sock
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user