35 lines
1.3 KiB
Plaintext
35 lines
1.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= application_title
|
|
= javascript_include_tag "vendor/modernizr"
|
|
= stylesheet_link_tag "user/foundation/application"
|
|
/ = javascript_include_tag 'http://connect.facebook.net/en_US/all.js'
|
|
= javascript_include_tag "user/flat/application"
|
|
- if ENV['QWAITER_MOBILE_EXPORT'] == 'yes'
|
|
javascript:
|
|
var QMobile, Qwaiter, Quser;
|
|
var $data_host = 'http://data.mozo.bar';
|
|
var $event_host = '#{Qwaiter.event_host}';
|
|
var $asset_path = '##assets_path##';
|
|
var Qstorage = window.localStorage;
|
|
var Qstorage.setItem('root_url', '##root_url##');
|
|
var $platform = '##platform##';
|
|
var $obtain_token_url = 'http://mozo.bar/user/obtain_token';
|
|
|
|
- else
|
|
javascript:
|
|
var QMobile, Qwaiter, Quser;
|
|
var $event_host = '#{Qwaiter.event_host}';
|
|
var $asset_path = '/assets/';
|
|
var Qstorage = window.localStorage;
|
|
#{user_dynamic_data_host};
|
|
#{user_dynamic_root_url};
|
|
#{user_dynamic_obtain_token_url};
|
|
var $platform = 'web'
|
|
body
|
|
#ember-app-container
|