Added Support & Status tab added
Arc Support Added Google Analytics Support Added Status Page added I also added a bit of documentation to the .env file to show off different parts easier.
This commit is contained in:
parent
daecd53f83
commit
e3479d8baf
2 changed files with 28 additions and 1 deletions
14
.env.example
14
.env.example
|
@ -1,9 +1,11 @@
|
||||||
|
#Dashboard
|
||||||
APP_NAME=Dashboard
|
APP_NAME=Dashboard
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_KEY=
|
APP_KEY=
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
#Database
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=controlpanel_mysql
|
DB_HOST=controlpanel_mysql
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
|
@ -39,8 +41,18 @@ DISCORD_INVITE_URL=https://discord.gg/vrUYdxG4wZ
|
||||||
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
||||||
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
||||||
|
|
||||||
|
#GOOGLE ANALYTICS (UA)
|
||||||
|
GOOGLE_ANALYTICS_UA_CODE=
|
||||||
|
|
||||||
|
#Put your status URL here (example: https://status.example.com/)
|
||||||
|
STATUS_URL=#
|
||||||
|
|
||||||
|
#Arc Support (do not include the #)
|
||||||
|
ARC_WIDGET_CODE=
|
||||||
|
|
||||||
|
#Mail Settings
|
||||||
MAIL_MAILER=smtp
|
MAIL_MAILER=smtp
|
||||||
MAIL_HOST=mailhog
|
MAIL_HOST=mail.mailgun.com
|
||||||
MAIL_PORT=1025
|
MAIL_PORT=1025
|
||||||
MAIL_USERNAME=null
|
MAIL_USERNAME=null
|
||||||
MAIL_PASSWORD=null
|
MAIL_PASSWORD=null
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||||
<head>
|
<head>
|
||||||
|
<script type="text/javascript" src="public/google_analytics.js"></script>
|
||||||
|
<script async src="https://arc.io/widget.min.js#{{env('ARC_WIDGET_CODE')}}"></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<!-- CSRF Token -->
|
<!-- CSRF Token -->
|
||||||
|
@ -13,6 +15,16 @@
|
||||||
{{-- <link rel="stylesheet" href="{{asset('css/adminlte.min.css')}}">--}}
|
{{-- <link rel="stylesheet" href="{{asset('css/adminlte.min.css')}}">--}}
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.24/datatables.min.css"/>
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.24/datatables.min.css"/>
|
||||||
|
|
||||||
|
<!-- Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{env('GOOGLE_ANALYTICS_UA_CODE')}}"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', '{{env('GOOGLE_ANALYTICS_UA_CODE')}}');
|
||||||
|
</script>
|
||||||
|
|
||||||
{{-- summernote --}}
|
{{-- summernote --}}
|
||||||
<link rel="stylesheet" href="{{asset('plugins/summernote/summernote-bs4.min.css')}}">
|
<link rel="stylesheet" href="{{asset('plugins/summernote/summernote-bs4.min.css')}}">
|
||||||
|
|
||||||
|
@ -38,6 +50,9 @@
|
||||||
<li class="nav-item d-none d-sm-inline-block">
|
<li class="nav-item d-none d-sm-inline-block">
|
||||||
<a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">Discord</a>
|
<a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">Discord</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item d-none d-sm-inline-block">
|
||||||
|
<a href="{{env('STATUS_URL')}}" class="nav-link" target="__blank">Status</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- Right navbar links -->
|
<!-- Right navbar links -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue