61 lines
2.3 KiB
Plaintext
61 lines
2.3 KiB
Plaintext
doctype html
|
|
html lang="en"
|
|
head
|
|
meta charset="utf-8"
|
|
meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
|
|
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
|
title= content_for?(:title) ? yield(:title) : application_title
|
|
= csrf_meta_tags
|
|
|
|
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
|
/[if lt IE 9]
|
|
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
|
= stylesheet_link_tag "user/application", :media => "all"
|
|
link href="images/apple-touch-icon-144x144.png" rel="apple-touch-icon-precomposed" sizes="144x144"
|
|
link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon-precomposed" sizes="114x114"
|
|
link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72"
|
|
link href="images/apple-touch-icon.png" rel="apple-touch-icon-precomposed"
|
|
link href="/favicon.ico" rel="shortcut icon"
|
|
javascript:
|
|
var QMobile;
|
|
// Dummy holder when Qmobile object is not supplied by the mobile phone
|
|
QMobile || (QMobile = {
|
|
scanQr: function(){window.location = '/select_qrcode'},
|
|
activateRotation: function(){},
|
|
mobile: function(){return false}
|
|
});
|
|
|
|
body class=action_name
|
|
.navbar.navbar-fixed-top
|
|
.navbar-inner
|
|
.container
|
|
a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse"
|
|
span.icon-bar
|
|
span.icon-bar
|
|
span.icon-bar
|
|
a.brand href=user_root_path = image_tag 'icons/logo-small.png', alt: application_title
|
|
.container.nav-collapse
|
|
ul.nav#top-navigation-list
|
|
li= link_to 'View history', user_list_history_path
|
|
|
|
.container
|
|
|
|
.content
|
|
- if flash[:alert].present?
|
|
.alert.alert-error
|
|
a.close data-dismiss="alert" ×
|
|
div= flash[:alert]
|
|
- if flash[:notice].present?
|
|
.alert.alert-success
|
|
a.close data-dismiss="alert" ×
|
|
div= flash[:notice]
|
|
.row
|
|
.span12
|
|
= yield
|
|
/!
|
|
Javascripts
|
|
\==================================================
|
|
/! Placed at the end of the document so the pages load faster
|
|
= javascript_include_tag "user/application"
|
|
= yield :footer
|