added favicons and webapp metadata (#211)
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
Kimai v2 - the open source time-tracking application with a mobile-first approach, read more at the [official website](http://v2.kimai.org).
|
Kimai v2 - the open source time-tracking application with a mobile-first approach, read more at the [official website](http://v2.kimai.org).
|
||||||
|
|
||||||
|
[](https://packagist.org/packages/kevinpapst/kimai2)
|
||||||
|
[](https://packagist.org/packages/kevinpapst/kimai2)
|
||||||
[](https://travis-ci.org/kevinpapst/kimai2)
|
[](https://travis-ci.org/kevinpapst/kimai2)
|
||||||
[](https://scrutinizer-ci.com/g/kevinpapst/kimai2/?branch=master)
|
[](https://scrutinizer-ci.com/g/kevinpapst/kimai2/?branch=master)
|
||||||
[](https://scrutinizer-ci.com/g/kevinpapst/kimai2/?branch=master)
|
[](https://scrutinizer-ci.com/g/kevinpapst/kimai2/?branch=master)
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
12
public/browserconfig.xml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<browserconfig>
|
||||||
|
<msapplication>
|
||||||
|
<tile>
|
||||||
|
<square70x70logo src="favicon/mstile-small.jpg"/>
|
||||||
|
<square150x150logo src="favicon/mstile-medium.jpg"/>
|
||||||
|
<wide310x150logo src="favicon/mstile-wide.jpg"/>
|
||||||
|
<square310x310logo src="favicon/mstile-large.jpg"/>
|
||||||
|
<TileColor>#00a300</TileColor>
|
||||||
|
</tile>
|
||||||
|
</msapplication>
|
||||||
|
</browserconfig>
|
||||||
BIN
public/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
public/favicon/mstile-large.jpg
Executable file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/favicon/mstile-medium.jpg
Executable file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
public/favicon/mstile-small.jpg
Executable file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
public/favicon/mstile-wide.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
21
public/manifest.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "Kimai Time-Tracker",
|
||||||
|
"short_name": "Kimai 2",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "favicon-32x32.png",
|
||||||
|
"sizes": "32x32",
|
||||||
|
"type": "image/png",
|
||||||
|
"density": "0.75"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "touch-icon-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png",
|
||||||
|
"density": "4.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
||||||
BIN
public/touch-icon-192x192.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
@@ -87,6 +87,7 @@
|
|||||||
{% block head %}
|
{% block head %}
|
||||||
{{ parent() }}
|
{{ parent() }}
|
||||||
<script src="{{ asset('build/app.js') }}"></script>
|
<script src="{{ asset('build/app.js') }}"></script>
|
||||||
|
{% include 'partials/head.html.twig' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
||||||
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
|
|
||||||
<script src="{{ asset('build/app.js') }}"></script>
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
10
templates/partials/head.html.twig
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||||
|
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||||
|
<link rel="icon" type="image/png" href="{{ asset('favicon-32x32.png') }}" sizes="32x32">
|
||||||
|
<link rel="apple-touch-icon" href="{{ asset('apple-touch-icon.png') }}">
|
||||||
|
<link rel="manifest" href="{{ asset('manifest.json') }}">
|
||||||
|
<meta name="apple-mobile-web-app-title" content="Kimai 2">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="application-name" content="Kimai 2">
|
||||||
|
<meta name="msapplication-config" content="{{ asset('browserconfig.xml') }}">
|
||||||
@@ -12,3 +12,8 @@
|
|||||||
{% block login_form_end %}
|
{% block login_form_end %}
|
||||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}"/>
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
|
{{ parent() }}
|
||||||
|
{% include 'partials/head.html.twig' %}
|
||||||
|
{% endblock %}
|
||||||
|
|||||||