Skip to content

Instantly share code, notes, and snippets.

@gorborukov
Created April 29, 2014 00:44
Show Gist options
  • Select an option

  • Save gorborukov/11388098 to your computer and use it in GitHub Desktop.

Select an option

Save gorborukov/11388098 to your computer and use it in GitHub Desktop.
!!!
%html
%head
= metamagic :title, :description, :keywords
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%body
.update-message
.container
%p
Добро пожаловать на новый сайт, старая версия доступна
= succeed "." do
%a{href: "http://riviera.rsochi.com/"} по ссылке
- if admin_signed_in?
.panel
.container
%ul
%li +
%li
%a{href: "/hotels/new"} Отель
%li
%a{href: "/options"} Опции для отелей
%li
%a{href: "/resorts/new"} Курорт
%li
%a{href: "/tours/new"} Тур
%li
%a{href: "/offers/new"} Акцию
%li
%a{href: "/publications/new"} Новость
%li
%a{href: "/excursions/new"} Экскурсию
%li
%a{href: "/staffs/new"} Сотрудника
%li
%a{href: "/events/new"} Событие
%li= link_to 'Тип отеля', new_hoteltype_path
%li= link_to 'Агентствам', new_agency_path
%li= link_to 'Заказ тура', new_booking_path
%li= link_to 'Баннеры', banners_url
%li
%a{href: "/uslugi/manage"} Услуги
%li= link_to 'О компании', abouts_url
%li{style: "float: right;"}= link_to "Выйти", destroy_admin_session_path, :method => :delete
%li{style: "float: right;"}
%a{href: "/requests"} Управление бронированиями
%li{style: "float: right;"}
%a{href: "/seo"} Поисковая оптимизация
.crystal
.container
%header
%a{href: "/"}
%img.logo{src: "/assets/logo.png"}/
.infoblock
.weather
Погода на сегодня:
%ul
- client = YahooWeather::Client.new
%li
%a{href: ""}
%b Сочи
= ((client.fetch_by_location('Sochi').condition.temp - 32)*5/9) || ''
°C
%li
%a{href: ""}
%b Красная поляна
= ((client.fetch('2121603').condition.temp - 32)*5/9) || ''
°C
%li
%a{href: ""}
%b Анапа
= ((client.fetch_by_location('Anapa').condition.temp - 32)*5/9) || ''
°C
%li
%a{href: ""}
%b Геленджик
= ((client.fetch_by_location('Gelendzhik').condition.temp - 32)*5/9) || ''
°C
.top_nav
%ul
%li
%a{href: "/"} Клиентам
%li /
%li
%a{href: "/agents"} Агентам
%li /
%li
%a{href: ""} Деловой туризм
%li /
%li
%a{href: ""} Салон путешествий
.additional
%ul
%li
%a{href: "http://91.215.90.106/MasterWebStandard"} Онлайн бронирование
%li
%a{href: ""} English version
.phone 8-800-100-10-55
.phone_desc бесплатная линия
.nav
%ul
%li
%i.icon-home.icon-white{style: "margin-top: 0px;"}
%a{href: "/"} Главная
%li
%a{href: "/resorts/"} Курорты
%li
%a{href: "/hotels/top"} Каталог отелей
%li
%a{href: "/offers/"} Спецпредложения
%li
%a{href: "/tours/"} Туры
%li
%a{href: "/uslugi"} Услуги
%li
%a{href: "/excursions"} Экскурсии
%li
%a{href: "/abouts"} О компании
%li
%a{href: "/staffs/"} Контакты
= yield
%footer
.container
.column
%h3 Наше все
%ul
%li
%a{href: "/tours"} Туры
%li
%a{href: "/publications"} Новости
%li
%a{href: "/offers"} Спецпредложения
%li
%a{href: "/hotels"} Отели
%li
%a{href: "/resorts"} Курорты
%li
%a{href: "/excursions"} Экскурсии
%li
%a{href: "/uslugi"} Трансферы
%li
%a{href: "/"} Отзывы о работе
.column
%h3 Информация
%ul
%li
%a{href: "/abouts"} О компании
%li
%a{href: "/agencies"} Агентствам
%li
%a{href: "/staffs"} Контакты
%li
%a{href: "/uslugi"} Оплата картами
%li
%a{href: "/uslugi"} Визовая поддержка
%li
%a{href: "/uslugi"} VIP-обслуживание
.column
%h3 Это тоже мы
%ul
%li
%a{href: "http://mice.rsochi.com/"} Деловой туризм
%li
%a{href: "http://salon.rsochi.com/"} Салон путешествий
%li
%a{href: "http://riviera-sochi.com/"} Riviera-Sochi English version
.copy
%p
© 2014 Ривьера Сочи
%br/
Контактный телефон: 8-800-100-10-55
%br/
Электронная почта:
%a{href: "mailto:[email protected]"} [email protected]
%p  
%p
Расскажите о нас в социальных сетях:
.addthis_toolbox.addthis_default_style.addthis_16x16_style
%ul
%li
%a.addthis_button_vk
%li
%a.addthis_button_facebook
%li
%a.addthis_button_twitter
%script{src: "//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-52569d0344f9b696", type: "text/javascript"}
%br/
%p
%ul
%li
%img{src: "/assets/1.png"}/
%li
%img{src: "/assets/2.png"}/
%li
%img{src: "/assets/3.png"}/
%p
%ul
%li
%img{src: "/assets/4.png"}/
%li
%img{src: "/assets/5.png"}/
%div
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment