mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 13:17:52 +08:00
commit message
This commit is contained in:
1
resources/js/app.js
vendored
Executable file
1
resources/js/app.js
vendored
Executable file
@ -0,0 +1 @@
|
||||
require('./bootstrap');
|
28
resources/js/bootstrap.js
vendored
Executable file
28
resources/js/bootstrap.js
vendored
Executable file
@ -0,0 +1,28 @@
|
||||
window._ = require('lodash');
|
||||
|
||||
/**
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
* to our Laravel back-end. This library automatically handles sending the
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
|
||||
window.axios = require('axios');
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
* allows your team to easily build robust real-time web applications.
|
||||
*/
|
||||
|
||||
// import Echo from 'laravel-echo';
|
||||
|
||||
// window.Pusher = require('pusher-js');
|
||||
|
||||
// window.Echo = new Echo({
|
||||
// broadcaster: 'pusher',
|
||||
// key: process.env.MIX_PUSHER_APP_KEY,
|
||||
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
|
||||
// encrypted: true
|
||||
// });
|
19
resources/lang/en/auth.php
Executable file
19
resources/lang/en/auth.php
Executable file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
|
||||
];
|
19
resources/lang/en/pagination.php
Executable file
19
resources/lang/en/pagination.php
Executable file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Previous',
|
||||
'next' => 'Next »',
|
||||
|
||||
];
|
21
resources/lang/en/passwords.php
Executable file
21
resources/lang/en/passwords.php
Executable file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'reset' => 'Your password has been reset!',
|
||||
'sent' => 'We have e-mailed your password reset link!',
|
||||
'token' => 'This password reset token is invalid.',
|
||||
'user' => "We can't find a user with that e-mail address.",
|
||||
|
||||
];
|
150
resources/lang/en/validation.php
Executable file
150
resources/lang/en/validation.php
Executable file
@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_equals' => 'The :attribute must be a date equal to :date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'ends_with' => 'The :attribute must end with one of the following: :values',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'file' => 'The :attribute must be a file.',
|
||||
'filled' => 'The :attribute field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The :attribute must be greater than :value.',
|
||||
'file' => 'The :attribute must be greater than :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than :value characters.',
|
||||
'array' => 'The :attribute must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The :attribute must be greater than or equal :value.',
|
||||
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than or equal :value characters.',
|
||||
'array' => 'The :attribute must have :value items or more.',
|
||||
],
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
||||
'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The :attribute must be less than :value.',
|
||||
'file' => 'The :attribute must be less than :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than :value characters.',
|
||||
'array' => 'The :attribute must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The :attribute must be less than or equal :value.',
|
||||
'file' => 'The :attribute must be less than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than or equal :value characters.',
|
||||
'array' => 'The :attribute must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'not_regex' => 'The :attribute format is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values are present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'starts_with' => 'The :attribute must start with one of the following: :values',
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'uploaded' => 'The :attribute failed to upload.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
'uuid' => 'The :attribute must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap our attribute placeholder
|
||||
| with something more reader friendly such as "E-Mail Address" instead
|
||||
| of "email". This simply helps us make our message more expressive.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
];
|
1
resources/sass/app.scss
vendored
Executable file
1
resources/sass/app.scss
vendored
Executable file
@ -0,0 +1 @@
|
||||
//
|
23
resources/views/app.blade.php
Executable file
23
resources/views/app.blade.php
Executable file
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="./umi.css?v=0.1.5">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
|
||||
<title>{{$title}}</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,400i,600,700">
|
||||
<script>window.routerBase = "/";</script>
|
||||
<script>
|
||||
window.v2board = {
|
||||
title: '{{$title}}'
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script src="./umi.js?v=0.1.5"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
129
resources/views/mail/sendEmailVerify.blade.php
Normal file
129
resources/views/mail/sendEmailVerify.blade.php
Normal file
@ -0,0 +1,129 @@
|
||||
<html><head></head><body><div style="background:#eaeaea;padding:0;margin:0">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="background:#eaeaea" class="m_1715600592293973184content_container" bgcolor="#EAEAEA">
|
||||
<table border="0" align="center" cellpadding="0" cellspacing="0" class="m_1715600592293973184font_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:5px" class="m_1715600592293973184content_head_warp">
|
||||
<div style="color:#666666">
|
||||
<p>
|
||||
<br></p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table border="0" align="center" cellpadding="0" cellspacing="0" class="m_1715600592293973184body_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td height="0" style="height:0px" valign="bottom"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<table border="0" align="center" cellpadding="0" cellspacing="0" class="m_1715600592293973184font_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFFF">
|
||||
<table border="0" align="left" cellpadding="0" cellspacing="0" class="m_1715600592293973184font_content_container_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="m_1715600592293973184font_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" style="background-color:none;padding-top:0px;padding-bottom:0px">
|
||||
<img src="https://ci6.googleusercontent.com/proxy/_x3OhDQ6Q22scwCCGZFEFjszj594uF0yy8bJkpwtZn7cPlJ-OIh3nFBvp-Nwb88oCXGKFVzBa4bRhKe57DjsngDyhcusu538eG8Kxo3tUoVb2Y5kTj1cTc3LyceRBRiGfwcGdZRejYfwMjWu47-DqUkIAbKVmIhXB_MQUouPfG-DqUwmXHdONB4d75MxH0wa4M-LQ0zC1trH3agyQ-KzSwsgcr8LKOydBA=s0-d-e1-ft#https://libraries.mysubmail.com/public/5adf532f109dc85fb3a4637105cdeaae/trigger/8f6063bf124c1df3a35968fea807da41/292099d23f1871e4d9fc4f13634bfcca.png" border="0" style="width:100%;height:auto;margin:0px 0px 0px 0px;border-style:none;border-color:#333333;border-width:0px" alt="" class="CToWUd a6T" tabindex="0">
|
||||
<div class="a6S" dir="ltr" style="opacity: 0.01; left: 840px; top: 254px;">
|
||||
<div id=":2pp" class="T-I J-J5-Ji aQv T-I-ax7 L3 a5q" role="button" tabindex="0" aria-label="下载附件“”" data-tooltip-class="a1V" data-tooltip="下载">
|
||||
<div class="aSK J-J5-Ji aYr"></div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="m_1715600592293973184font_warp" style="
|
||||
width: 100%;
|
||||
">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="background-color:none;padding-top:10px;padding-bottom:10px">
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="m_1715600592293973184font_warp" style="
|
||||
width: 100%;
|
||||
">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div style="text-align: center;font-size:12px;background-color:rgba(0,0,0,0);color:#333333;margin: 0px 30px 30px 30px;padding:0px 0px 0px 0px;border-style:none;border-color:#333333;border-width:0px;">
|
||||
<p style="text-align:center">
|
||||
<br></p>
|
||||
<p style="text-align:center">
|
||||
<span style="color:#69707a">
|
||||
<span style="font-family:tahoma,geneva,sans-serif">
|
||||
<span style="font-size:16px">感谢您使用「{{$name}}」,请在 10 分钟内填写验证码完成验证操作。</span></span>
|
||||
</span>
|
||||
</p>
|
||||
<p style="text-align:center">
|
||||
<span style="color:#69707a">
|
||||
<span style="font-family:tahoma,geneva,sans-serif">
|
||||
<span style="font-size:16px"></span>
|
||||
</span>
|
||||
</span>
|
||||
<br></p>
|
||||
<p style="text-align:center">
|
||||
<span style="font-size:48px">
|
||||
<span style="color:#69707a">
|
||||
<span style="font-family:tahoma,geneva,sans-serif">{{$code}}</span></span>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="0" style="height:0px" valign="top"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table border="0" align="center" cellpadding="0" cellspacing="0" style="padding:40px 0" class="m_1715600592293973184font_warp">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:10px 5px" class="m_1715600592293973184content_head_warp">
|
||||
<div style="color:#999999">
|
||||
<div style="text-align:center">※ 请勿回复此邮件</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div style="width:0px;height:0px;display:none">
|
||||
<img src="https://ci4.googleusercontent.com/proxy/ISedNJkQ1X_Y6XMIsG1Q7mCyv5R6B20MK808KVJYqUm6ng5A7z_N-WiPXbFqHM99F3ml_AflIhS9UwVgQIyorU0SuRdpyTZL_Vp_WWgAK4O9QW0dtGJsNqLjxJljQiDbeavwzzH3gmtAXtfel36esm2Or07vvUVs1fRCotY659TDaLlnqu73x9dv8oiWx37Lg5StTXgPzWVqNtdre-nek3FiFaVSiH-N1ELGoQTT4GpRL3kJsSGpmsMyK-WwfB1Ee5jvmTWVQvo0OUZJeQLVC9QGNZdg3Di2IsIdHAPclvAQbQ=s0-d-e1-ft#http://subtracker.submail.cn/tritracking?t=eb976d3714b640654a7067fe8152dc11b445850ecab76b2db57ed4d6710648b3&i=ba12c428a8147d13bd23fbbbc46fd8e5ad472c34fcbff206cf734ebaf69af7c38e4a17916b70e9f144c9067b3f9f5306" width="1" height="1" alt="subtracker" class="CToWUd"></div>
|
||||
</div></body></html>
|
Reference in New Issue
Block a user