Skip to content

Commit 2a9f094

Browse files
authored
Merge pull request #1 from JamsheedMistri/master
Add native iOS PWA support
2 parents 22c8047 + 956fd03 commit 2a9f094

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

common-5cabbe577154ef31cee75fc3475a64128e5181e1.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ video {
4040
}
4141
body {
4242
line-height: 1em;
43+
background-color: #0f335f;
4344
}
4445
q {
4546
quotes: none;
@@ -261,9 +262,6 @@ html {
261262
max-width: 100%;
262263
max-height: 100%;
263264
}
264-
body {
265-
background-color: #fff;
266-
}
267265
.kgo_no_auto_refresh .kgoui_auto_refresh {
268266
display: none;
269267
}
@@ -983,6 +981,7 @@ body {
983981
}
984982
.kgoui_page {
985983
background-color: #f4f4f4;
984+
height: 100vh;
986985
}
987986
.kgoui_page .kgoui_page_wrapper .kgoui_page_backtotop,
988987
.kgoui_page .kgoui_page_wrapper .kgoui_page_backtotop:visited {

pass.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
22
<head>
33
<meta charset="utf-8" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="user-scalable=1.0,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
7+
<meta name="format-detection" content="telephone=no">
8+
<meta name="apple-mobile-web-app-capable" content="yes" />
9+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
10+
<meta name="apple-mobile-web-app-title" content="Pass">
11+
12+
<link rel="apple-touch-icon-precomposed" href="/touch_icon.png" />
13+
<link rel="apple-touch-icon" href="/touch_icon.png" />
14+
415
<title>Campus Access Badge</title>
516
<link
617
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i"
@@ -30,10 +41,11 @@
3041
<body
3142
id="kgoui"
3243
class="
33-
kgoui_object kgoui_page
44+
kgoui_object
3445
kgo_has_position_fixed kgo_has_overflow_scroll kgo_no_auto_refresh
3546
"
3647
>
48+
<div class="kgoui_page">
3749
<a id="top" class="kgo_screen_reader_only" tabindex="-1">Top of page</a>
3850
<div class="kgoui_page_wrapper" role="none">
3951
<div class="kgoui_page_container" role="none">
@@ -551,6 +563,7 @@
551563
</footer>
552564
</div>
553565
</div>
566+
</div>
554567
<!-- <script
555568
src="/_static/common_javascript/resolve-kurogo/common-4cf7544a617a346607945c4a4c55517b09704e40.js?_kgourl_type=common_javascript"
556569
type="text/javascript"

touch_icon.png

49.3 KB
Loading

0 commit comments

Comments
 (0)