Modification présentation exifs
This commit is contained in:
parent
27d52a7cb5
commit
5143f6151b
@ -145,8 +145,26 @@ text-align:center;
|
|||||||
.title{
|
.title{
|
||||||
text-align:left;
|
text-align:left;
|
||||||
color:gray;
|
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{
|
.time{
|
||||||
color:gray;
|
color:gray;
|
||||||
float:right;
|
float:right;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#breadcrumb
|
#breadcrumb
|
||||||
|
|
||||||
.personnal
|
.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
|
%span
|
||||||
=current_admin.firstname
|
=current_admin.firstname
|
||||||
=current_admin.name
|
=current_admin.name
|
||||||
|
@ -13,14 +13,16 @@
|
|||||||
="-"
|
="-"
|
||||||
=l portfolio_image.shoot_at, :format => :date if portfolio_image.shoot_at
|
=l portfolio_image.shoot_at, :format => :date if portfolio_image.shoot_at
|
||||||
-if portfolio_image.exif
|
-if portfolio_image.exif
|
||||||
%br
|
.exifs
|
||||||
=portfolio_image.exif.model
|
=portfolio_image.exif.model
|
||||||
="-"
|
="-"
|
||||||
="f "+portfolio_image.exif.f_number.to_f.to_s
|
="f "+portfolio_image.exif.f_number.to_f.to_s
|
||||||
="-"
|
="-"
|
||||||
=portfolio_image.exif.exposure_time.to_s+" s"
|
=portfolio_image.exif.exposure_time.to_s+" s"
|
||||||
="-"
|
="-"
|
||||||
=portfolio_image.exif.iso_speed_ratings.to_s+" iso"
|
=portfolio_image.exif.iso_speed_ratings.to_s+" iso"
|
||||||
|
="-"
|
||||||
|
© Nicolas Bally
|
||||||
|
|
||||||
-if current_admin
|
-if current_admin
|
||||||
.admin
|
.admin
|
||||||
|
@ -18,6 +18,7 @@ test:
|
|||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
|
|
||||||
production:
|
production:
|
||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
@ -26,6 +27,3 @@ production:
|
|||||||
username: site_perso_app
|
username: site_perso_app
|
||||||
password: site_perso_app
|
password: site_perso_app
|
||||||
socket: /var/run/mysqld/mysqld.sock
|
socket: /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user