rosa-build/app/views/layouts/application.html.slim

47 lines
2.7 KiB
Plaintext
Raw Normal View History

doctype html
html
head
meta name="viewport" content="width=device-width, initial-scale=1.0"
meta content="text/html; charset=utf-8" http-equiv="Content-Type"
2016-06-10 14:47:53 +01:00
base href="/"
== csrf_meta_tag
= display_meta_tags site: APP_CONFIG['project_name'], reverse: true, separator: '-'
2016-04-29 15:10:30 +01:00
script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.js" type="text/javascript"
link href='//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css' rel='stylesheet'
2016-05-22 16:54:18 +01:00
link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous"
2016-04-29 15:10:30 +01:00
link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'
2014-11-13 21:46:11 +00:00
== stylesheet_link_tag 'new_application', cache: 'application'
2018-08-07 14:01:06 +01:00
body[ ng-app='RosaABF' ng-controller='RosaABFController' ng-strict-di='' class="hamburger"
2016-04-29 15:10:30 +01:00
ng-init="init('#{I18n.locale}', #{!!current_user.try(:sound_notifications)})" ng-cloak="true"]
2016-05-04 16:49:30 +01:00
.page-wrapper ng-class="{'open': toggle}"
2016-04-29 15:10:30 +01:00
.sidebar-wrapper
ul.sidebar
li.sidebar-main
2016-05-04 16:49:30 +01:00
a ng-click="toggleSidebar()"
= image_tag('logo-mini.png', alt: 'ABF')
span class="menu-icon glyphicon glyphicon-transfer"
2016-04-29 15:10:30 +01:00
== render 'layouts/menu/new_top'
2016-05-24 15:01:22 +01:00
== render 'layouts/menu/new_bottom'
2016-04-29 15:10:30 +01:00
.content-wrapper
.page-content
== yield :submenu if content_for?(:submenu)
== render 'layouts/noscript'
== render "layouts/flashes"
2016-04-29 15:10:30 +01:00
== yield
2016-05-22 16:54:18 +01:00
script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js" type="text/javascript"
2016-04-29 15:10:30 +01:00
script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.12.0/moment.min.js" type="text/javascript"
2016-05-22 16:54:18 +01:00
script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-resource.min.js" type="text/javascript"
script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-cookies.min.js" type="text/javascript"
script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular-sanitize.min.js" type="text/javascript"
script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.2.5/ui-bootstrap-tpls.min.js" type="text/javascript"
2016-04-29 15:10:30 +01:00
script src="https://code.jquery.com/jquery-2.2.2.min.js" integrity="sha256-36cp2Co+/62rEAAYHLmRCPIych47CvdM+uTBJwSzWjI=" crossorigin="anonymous"
== javascript_include_tag 'new_application', cache: 'application'
== yield :additional_scripts if content_for?(:additional_scripts)
- if I18n.locale == :ru
== javascript_include_tag 'moment/ru.js', cache: 'moment'
2018-08-07 14:01:06 +01:00
== javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale'