mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 23:19:05 +00:00
118 lines
5.2 KiB
PHP
118 lines
5.2 KiB
PHP
@extends('_layout')
|
|
@section('title', sysConfig('website_name'))
|
|
@section('layout_css')
|
|
<link href="/assets/global/fonts/font-awesome/css/all.min.css" rel="stylesheet">
|
|
<link href="/assets/css/login-v3.min.css" rel="stylesheet">
|
|
@yield('css')
|
|
@if (config('version.ads'))
|
|
<style>
|
|
@media (max-width: 768px) {
|
|
#ad img {
|
|
width: 40vw;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
#ad img {
|
|
width: 30vw;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
#ad img {
|
|
width: 20vw;
|
|
}
|
|
}
|
|
|
|
#ad {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
left: 0;
|
|
bottom: 0;
|
|
background-color: rgba(255, 255, 255, 0.80);
|
|
}
|
|
|
|
#ad img {
|
|
max-width: 300px;
|
|
}
|
|
|
|
#ad > button {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
</style>
|
|
@endif
|
|
@endsection
|
|
@section('body_class', 'page-login-v3 layout-full position-relative')
|
|
@section('layout_content')
|
|
@if(Agent::isMobile() && Agent::is('iOS') && str_contains(Agent::getUserAgent(), 'MicroMessenger'))
|
|
<style>
|
|
.cover-up {
|
|
opacity: 0.1;
|
|
filter: alpha(opacity=10);
|
|
}
|
|
</style>
|
|
<div class="m-0 p-0 w-full h-full text-white" style="z-index: 10; position: absolute;">
|
|
<div class="font-size-16 h-p33 pl-20 pt-20" style="line-height: 1.8; background: url(//gw.alicdn.com/tfs/TB1eSZaNFXXXXb.XXXXXXXXXXXX-750-234.png) center top/contain no-repeat">
|
|
<p>{{trans('common.to_safari.0')}}
|
|
<i class="icon wb-more-horizontal" aria-hidden="true"></i>{{trans('common.to_safari.1')}}
|
|
<img src="//gw.alicdn.com/tfs/TB1xwiUNpXXXXaIXXXXXXXXXXXX-55-55.png" class="w-30 h-30 vertical-align-middle m-3" alt="Safari"/>
|
|
{{trans('common.to_safari.2')}}<br>{{trans('common.to_safari.3')}}</p>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
@if (config('version.ads'))
|
|
<div id="ad" class="px-25 py-10">
|
|
<button class="btn btn-pure btn-outline-default icon wb-close" type="button" onclick="document.getElementById('ad').style.display = 'none'"></button>
|
|
{!! config('version.ads') !!}
|
|
</div>
|
|
@endif
|
|
<div class="page vertical-align text-center cover-up" data-animsition-in="fade-in" data-animsition-out="fade-out">
|
|
<div class="page-content vertical-align-middle">
|
|
<div class="animation-slide-top animation-duration-1">
|
|
<div class="panel">
|
|
<div class="panel-heading">
|
|
<div class="panel-title">
|
|
<div class="brand">
|
|
<img src="{{sysConfig('website_home_logo')? asset(sysConfig('website_home_logo')) :'/assets/images/logo64.png'}}" class="brand-img" alt="logo"/>
|
|
<h3 class="brand-text">{{sysConfig('website_name')}}</h3>
|
|
</div>
|
|
</div>
|
|
<div class="ribbon ribbon-reverse ribbon-info ribbon-clip">
|
|
<button class="ribbon-inner btn dropdown-toggle pt-0" id="language" data-toggle="dropdown" aria-expanded="false">
|
|
<i class="font-size-20 wb-globe" aria-hidden="true"></i>
|
|
</button>
|
|
<div class="dropdown-menu dropdown-menu-bullet" aria-labelledby="language" role="menu">
|
|
@foreach (config('common.language') as $key => $value)
|
|
<a class="dropdown-item" href="{{route('lang', ['locale' => $key])}}" role="menuitem">
|
|
<i class="fi fi-{{$value[1]}}" aria-hidden="true"></i>
|
|
<span style="padding: inherit;">{{$value[0]}}</span>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<!--[if lt IE 8]><p class="browserupgrade">{{trans('common.update_browser.0')}}<strong>{{trans('common.update_browser.1')}}</strong>
|
|
{{trans('common.update_browser.2')}}<a href="https://browsehappy.com/" target="_blank">{{trans('common.update_browser.3')}}</a>{{trans('common.update_browser.4')}}</p><![endif]-->
|
|
@yield('content')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@yield('modal')
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
@section('layout_javascript')
|
|
<script src="/assets/global/vendor/jquery-placeholder/jquery.placeholder.min.js"></script>
|
|
<script src="/assets/global/js/Plugin/jquery-placeholder.js"></script>
|
|
<script src="/assets/global/js/Plugin/material.js"></script>
|
|
@yield('javascript')
|
|
<!-- 统计 -->
|
|
{!! sysConfig('website_analytics') !!}
|
|
<!-- 客服 -->
|
|
{!! sysConfig('website_customer_service') !!}
|
|
@endsection
|