1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 06:32:34 +01:00
flox/client/resources/app.blade.php
Viktor Geringer 1a1753181f
move genres into own table (#104)
* create genres table and translate media_type

* parse genres from TMDb and modify artisan db command

* parse genres on migration

* Save genres in new table (via relation)

* Implode genres as string.
Update genres in refresh.

* add tests for genres

* fix icon for src

* display genres on own page

include few ui tweaks
2018-03-11 21:08:44 +01:00

41 lines
1.1 KiB
PHP

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta id="token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<title>Flox</title>
<link rel="stylesheet" href="{{ url('assets/app.css') }}">
<link href="{{ url('assets/favicon.ico?v=3') }}" rel="icon" type="image/x-icon">
</head>
<body
data-url="{{ url('/') }}"
data-uri="{{ config('app.CLIENT_URI') }}"
data-poster-tmdb="{{ config('services.tmdb.poster') }}"
data-poster-subpage-tmdb="{{ config('services.tmdb.poster_subpage') }}"
data-backdrop-tmdb="{{ config('services.tmdb.backdrop') }}"
data-auth="{{ Auth::check() }}"
data-language="{{ $lang }}"
class="{{ Auth::check() ? 'logged' : 'guest' }}"
>
<div id="app">
@if(Request::is('login'))
<login></login>
@else
<modal></modal>
<site-header></site-header>
<router-view></router-view>
<site-footer></site-footer>
@endif
</div>
<script src="{{ url('assets/vendor.js') }}"></script>
<script src="{{ url('assets/app.js') }}"></script>
</body>
</html>