2017-03-11 13:25:39 +05:30
|
|
|
%html{xmlns: 'http://www.w3.org/1999/html'}
|
2013-01-07 09:04:09 +01:00
|
|
|
%head
|
2017-03-11 13:25:39 +05:30
|
|
|
%meta{charset: 'utf-8'}
|
|
|
|
|
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1'}
|
2016-03-22 18:14:40 +01:00
|
|
|
%title= content_for?(:title) ? yield(:title) : (ENV['OSEM_NAME'] || 'OSEM')
|
2017-03-11 13:25:39 +05:30
|
|
|
%meta{content: '', name: 'description'}
|
|
|
|
|
%meta{content: '', name: 'author'}
|
|
|
|
|
= stylesheet_link_tag "application", media: 'all'
|
2013-01-07 09:04:09 +01:00
|
|
|
= javascript_include_tag "application"
|
2015-01-21 20:12:57 +02:00
|
|
|
|
2013-01-07 09:04:09 +01:00
|
|
|
= csrf_meta_tags
|
2013-06-28 00:37:11 +02:00
|
|
|
:javascript
|
2014-11-14 15:20:56 +02:00
|
|
|
window.liveSettings = {
|
2016-03-22 18:14:40 +01:00
|
|
|
api_key: "#{ENV['OSEM_TRANSIFEX_APIKEY']}",
|
2014-11-14 15:20:56 +02:00
|
|
|
picker: "bottom-right",
|
|
|
|
|
detectlang: true,
|
|
|
|
|
autocollect: true
|
|
|
|
|
};
|
2014-11-18 00:58:43 +01:00
|
|
|
= content_for(:script_head)
|
2015-01-21 12:04:53 +01:00
|
|
|
= javascript_include_tag "//cdn.transifex.com/live.js"
|
2014-11-18 00:58:43 +01:00
|
|
|
|
2013-01-07 09:04:09 +01:00
|
|
|
= yield(:head)
|
2014-11-14 11:58:36 +01:00
|
|
|
%body
|
2017-07-25 08:16:44 +05:30
|
|
|
= render 'layouts/navigation', conference: @conference
|
2014-05-22 18:19:07 +02:00
|
|
|
-# Admin area
|
|
|
|
|
- if controller.class.name.split("::").first=="Admin"
|
|
|
|
|
= render 'layouts/admin'
|
|
|
|
|
-else
|
2014-11-14 11:58:36 +01:00
|
|
|
#messages
|
2014-11-18 00:58:43 +01:00
|
|
|
.container
|
|
|
|
|
= render 'layouts/messages'
|
2014-11-14 11:58:36 +01:00
|
|
|
#content
|
|
|
|
|
= yield
|
2013-06-26 15:59:56 +02:00
|
|
|
#footer
|
|
|
|
|
.container
|
2014-03-17 16:36:32 +01:00
|
|
|
%p.muted.text-center
|
2014-04-23 15:45:55 +02:00
|
|
|
%small
|
|
|
|
|
This tool is
|
|
|
|
|
=link_to "free software,", "http://www.gnu.org/philosophy/free-sw.html"
|
|
|
|
|
released under the
|
|
|
|
|
=link_to "MIT license.", "http://opensource.org/licenses/MIT"
|
|
|
|
|
You can run, copy, distribute, study, change and improve it.
|
|
|
|
|
The source code and the developers are on
|
|
|
|
|
=link_to "github.", "https://github.com/openSUSE/osem"
|
2014-11-20 14:57:03 +01:00
|
|
|
= content_for(:script_body)
|
2014-11-12 10:45:44 +01:00
|
|
|
= piwik_tracking_tag
|