mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-08 02:17:04 +00:00
55 lines
2.1 KiB
PHP
Executable File
55 lines
2.1 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="{{ app()->getLocale() }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
<meta name="renderer" content="webkit">
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<title>{{ config('app.name', 'WebPage') }}</title>
|
|
<link rel="shortcut icon" href="{{ asset_main('favicon.ico') }}">
|
|
<link rel="stylesheet" type="text/css" href="{{ asset_main('css/iview.css') }}">
|
|
<script src="{{ asset_main('js/scroll-into-view.min.js') }}"></script>
|
|
<script>
|
|
window.csrfToken = { csrfToken : "{{ csrf_token() }}" };
|
|
window.systemInfo = { title: "{{config('app.name', 'WebPage')}}", debug: "{{config('app.debug') ? 'yes' : 'no'}}", version : "{{ $version }}", origin: window.location.origin + "/", homeUrl: null, apiUrl: null };
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
@extends('ie')
|
|
<div id="app">
|
|
<div class="app-view-loading">
|
|
<div>
|
|
<div>PAGE LOADING</div>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@php
|
|
if (config('app.debug')) {
|
|
echo ' <script type="module" src="http://127.0.0.1:22222/resources/assets/js/app.js"></script> ';
|
|
}else{
|
|
$manifest = json_decode(file_get_contents(public_path('manifest.json')), true);
|
|
$css = $manifest['resources/assets/js/app.js']['css'][0];
|
|
$css2 = $manifest['resources/assets/js/pages/manage/calendar.vue']['css'][0];
|
|
$js = $manifest['resources/assets/js/app.js']['file'];
|
|
echo ' <link rel="stylesheet" href="/' . $css . '" /> ';
|
|
echo ' <link rel="stylesheet" href="/' . $css2 . '" /> ';
|
|
echo ' <script type="module" src="/'.$js.'"></script> ';
|
|
}
|
|
@endphp
|
|
|
|
</body>
|
|
</html>
|