21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!-- Mobile Viewport Fix
j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
device-width: Occupy full width of the screen in its current orientation
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
-->
<meta name="viewport" content="width=device-width, initial-scale=2, minimum-scale=2, maximum-scale=5.0">
<!-- Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="{{=URL('static','favicon.ico')}}" type="image/x-icon">
<link rel="apple-touch-icon" href="{{=URL('static','favicon.png')}}">
<!-- For the less-enabled mobile browsers like Opera Mini -->
<link rel="stylesheet" media="handheld" href="{{=URL('static','css/handheld.css')}}">
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!-- Mobile Viewport Fix
j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
device-width: Occupy full width of the screen in its current orientation
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
-->
<meta name="viewport">
<!-- Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="{{=URL('static','favicon.ico')}}" type="image/x-icon">
<link rel="apple-touch-icon" href="{{=URL('static','favicon.png')}}">
<!-- For the less-enabled mobile browsers like Opera Mini -->
<link rel="stylesheet" media="handheld" href="{{=URL('static','css/handheld.css')}}">
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
if left_sidebar_enabled: left_sidebar_style = 'style="display: block;"'
else: left_sidebar_style = 'style="display: none;"'
if right_sidebar_enabled: right_sidebar_style = 'style="display: block;"'
else: right_sidebar_style = 'style="display: none;"'
style_content = 'style="width: %s"' % width_content
}}
<!-- <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">-->
</head>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div class="flash">{{=response.flash or ''}}</div> <!-- notification div -->
<header>
{{block header}} <!-- this is default header -->
<h1><a href="{{= URL("mobileblur", "default", "index") }}">MobileBlur</a></h1>
{{end}}
{{ block header_bonus }}{{end}}
</header>
<section id="content" {{=XML(style_content)}} >
{{include}}
</section>
<footer>
<a href="{{= URL("default", "logout") }}">Log out</a>
</footer>
|
>
|
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
if left_sidebar_enabled: left_sidebar_style = 'style="display: block;"'
else: left_sidebar_style = 'style="display: none;"'
if right_sidebar_enabled: right_sidebar_style = 'style="display: block;"'
else: right_sidebar_style = 'style="display: none;"'
style_content = 'style="width: %s"' % width_content
}}
<!-- <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">-->
<link rel="stylesheet" href="{{= URL("static", "css/1140.css") }}">
</head>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div class="flash">{{=response.flash or ''}}</div> <!-- notification div -->
<header>
{{block header}} <!-- this is default header -->
<h1><a href="{{= URL("mobileblur", "default", "index") }}">MobileBlur</a></h1>
{{end}}
{{ block header_bonus }}{{end}}
</header>
<section id="content" class-"container" {{=XML(style_content)}} >
{{include}}
</section>
<footer>
<a href="{{= URL("default", "logout") }}">Log out</a>
</footer>
|