Merge pull request #392 from jkurei/ios_favicon

Better icon for iOS' homescreen
This commit is contained in:
zadam 2019-01-28 23:01:12 +01:00 committed by GitHub
commit 60271993eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Login</title> <title>Login</title>
<link rel="apple-touch-icon" sizes="180x180" href="/images/app-icons/ios/apple-touch-icon.png">
</head> </head>
<body> <body>
<div class="container"> <div class="container">
@ -71,7 +72,7 @@
document.cookie = name + "=" + (value || "") + expires + "; path=/"; document.cookie = name + "=" + (value || "") + expires + "; path=/";
} }
</script> </script>
<link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="libraries/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</body> </body>
</html> </html>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Trilium Notes</title> <title>Trilium Notes</title>
<link rel="apple-touch-icon" sizes="180x180" href="/images/app-icons/ios/apple-touch-icon.png">
</head> </head>
<body class="mobile"> <body class="mobile">
<div class="row" id="container-row" style="display: none;"> <div class="row" id="container-row" style="display: none;">
@ -101,7 +102,7 @@
<script type="text/javascript"> <script type="text/javascript">
// we hide container initally because otherwise it is rendered first without CSS and then flickers into // we hide container initally because otherwise it is rendered first without CSS and then flickers into
// final form which is pretty ugly. // final form which is pretty ugly.
$("#container-row").show(); $("#container-row").show();
</script> </script>
</body> </body>
</html> </html>