Merge branch 'arun1595-venue-splash-page'
This commit is contained in:
commit
8c27a3dbac
3 changed files with 20 additions and 19 deletions
|
|
@ -39,7 +39,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#program {
|
||||
h3 {
|
||||
padding-left: 5px;
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
background-color: #F0FFFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#callforpapers {
|
||||
.timer-box{
|
||||
width: 130px;
|
||||
|
|
@ -60,10 +60,13 @@
|
|||
border:4px solid #989797;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#venue {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
#venue-pic {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#lodging {
|
||||
|
|
@ -134,7 +137,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.scroll-top-wrapper {
|
||||
position: fixed;
|
||||
opacity: 0;
|
||||
|
|
@ -170,4 +173,4 @@
|
|||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
= f.inputs :name, :website
|
||||
= f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
|
||||
= f.inputs :street, :postalcode, :city, :country, :latitude, :longitude
|
||||
- if @venue.picture?
|
||||
= image_tag @venue.picture.thumb.url
|
||||
= f.input :picture
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
||||
#commercials-content.tab-pane
|
||||
|
|
|
|||
|
|
@ -6,24 +6,25 @@
|
|||
-else
|
||||
.container
|
||||
.row
|
||||
- if @conference.venue.commercial.present? and @conference.venue.commercial.persisted?
|
||||
.col-md-5
|
||||
.thumbnail
|
||||
.col-md-6
|
||||
.thumbnail#venue-pic
|
||||
- if @conference.venue.commercial.present? and @conference.venue.commercial.persisted?
|
||||
.flexvideo{ id: "resource-content-#{@conference.venue.commercial.id}"}
|
||||
= render partial: 'shared/media_item', locals: { commercial: @conference.venue.commercial }
|
||||
|
||||
.col-md-6
|
||||
%h2.text-center
|
||||
= "#{@conference.venue.city} / #{@conference.venue.country_name}"
|
||||
.col-md-6
|
||||
.thumbnail
|
||||
- elsif @conference.venue.picture?
|
||||
= image_tag @conference.venue.picture.url, alt: @conference.venue.name, class:"img-responsive"
|
||||
- else
|
||||
%p.text-center
|
||||
%span.fa.fa-university.fa-5x
|
||||
.caption
|
||||
%h3.text-center
|
||||
= @conference.venue.name
|
||||
- unless @conference.venue.description.blank?
|
||||
= markdown(@conference.venue.description)
|
||||
.col-md-6
|
||||
%h2
|
||||
= "#{@conference.venue.city} / #{@conference.venue.country_name}"
|
||||
%address
|
||||
%h1
|
||||
= @conference.venue.name
|
||||
= @conference.venue.street
|
||||
%br
|
||||
= "#{@conference.venue.postalcode}, #{@conference.venue.city}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue