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_ENV=production
|
||||
APP_KEY=
|
||||
APP_DEBUG=false
|
||||
APP_URL=http://localhost
|
||||
|
||||
#Database
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=controlpanel_mysql
|
||||
DB_PORT=3306
|
||||
|
@ -39,8 +41,18 @@ DISCORD_INVITE_URL=https://discord.gg/vrUYdxG4wZ
|
|||
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
||||
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_HOST=mailhog
|
||||
MAIL_HOST=mail.mailgun.com
|
||||
MAIL_PORT=1025
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<!doctype html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<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 name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- CSRF Token -->
|
||||
|
@ -13,6 +15,16 @@
|
|||
{{-- <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"/>
|
||||
|
||||
<!-- 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 --}}
|
||||
<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">
|
||||
<a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">Discord</a>
|
||||
</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>
|
||||
|
||||
<!-- Right navbar links -->
|
||||
|
|
Loading…
Add table
Reference in a new issue