style changes and refactoring

This commit is contained in:
2012-09-03 12:09:35 +02:00
parent 81a2423f6b
commit 39449f240a
36 changed files with 527 additions and 159 deletions
+4 -4
View File
@@ -10,19 +10,19 @@ html lang="en"
/! 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 "application", :media => "all"
= stylesheet_link_tag "phone/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="images/favicon.ico" rel="shortcut icon"
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(){}
activateRotation: function(){},
mobile: function(){return false}
});
body class=action_name
@@ -33,7 +33,7 @@ html lang="en"
span.icon-bar
span.icon-bar
span.icon-bar
a.brand href=user_root_path = application_title
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