mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-05-12 20:52:02 +00:00
added favicons and webapp metadata (#211)
This commit is contained in:
parent
5160b640c4
commit
2d2525cff2
15 changed files with 51 additions and 9 deletions
README.md
public
apple-touch-icon.pngbrowserconfig.xmlfavicon-32x32.pngfavicon.ico
favicon
manifest.jsontouch-icon-192x192.pngtemplates
|
@ -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).
|
||||
|
||||
[](https://packagist.org/packages/kevinpapst/kimai2)
|
||||
[](https://packagist.org/packages/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)
|
||||
|
|
Binary file not shown.
Before ![]() (image error) Size: 26 KiB After ![]() (image error) Size: 24 KiB ![]() ![]() |
12
public/browserconfig.xml
Normal file
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
BIN
public/favicon-32x32.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 5.5 KiB |
Binary file not shown.
Before Width: 16px | Height: 16px | Size: 1.1 KiB After Width: 16px | Height: 16px | Size: 1.1 KiB |
BIN
public/favicon/mstile-large.jpg
Executable file
BIN
public/favicon/mstile-large.jpg
Executable file
Binary file not shown.
After ![]() (image error) Size: 24 KiB |
BIN
public/favicon/mstile-medium.jpg
Executable file
BIN
public/favicon/mstile-medium.jpg
Executable file
Binary file not shown.
After ![]() (image error) Size: 9.7 KiB |
BIN
public/favicon/mstile-small.jpg
Executable file
BIN
public/favicon/mstile-small.jpg
Executable file
Binary file not shown.
After ![]() (image error) Size: 3.9 KiB |
BIN
public/favicon/mstile-wide.jpg
Executable file
BIN
public/favicon/mstile-wide.jpg
Executable file
Binary file not shown.
After ![]() (image error) Size: 13 KiB |
21
public/manifest.json
Normal file
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
BIN
public/touch-icon-192x192.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 43 KiB |
|
@ -87,6 +87,7 @@
|
|||
{% block head %}
|
||||
{{ parent() }}
|
||||
<script src="{{ asset('build/app.js') }}"></script>
|
||||
{% include 'partials/head.html.twig' %}
|
||||
{% endblock %}
|
||||
|
||||
{% 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
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 %}
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
{% include 'partials/head.html.twig' %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue