Add abuse contact and parent website

This commit is contained in:
Les De Ridder 2016-12-18 03:04:28 +01:00
parent 0b44d10f06
commit e1b5f41a66
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
3 changed files with 40 additions and 1 deletions

View File

@ -1,5 +1,8 @@
APP_NAME=pastethingy
APP_REPO=https://git.fuwafuwa.moe/lesderid/pastethingy
APP_ABUSE_CONTACT=abuse@example.com
APP_PARENT_NAME=example.com
APP_PARENT_URL=https://example.com
APP_DEBUG=true
APP_URL=http://pastethingy.app

View File

@ -24,6 +24,40 @@ return [
'repo' => env('APP_REPO', 'https://git.fuwafuwa.moe/lesderid/pastethingy'),
/*
|--------------------------------------------------------------------------
| Abuse contact
|--------------------------------------------------------------------------
|
| E-mail address for abuse reports.
|
*/
'abusecontact' => env('APP_ABUSE_CONTACT'),
/*
|--------------------------------------------------------------------------
| Parent name
|--------------------------------------------------------------------------
|
| Name of the parent website.
|
*/
'parentname' => env('APP_PARENT_NAME'),
/*
|--------------------------------------------------------------------------
| Parent URL
|--------------------------------------------------------------------------
|
| URL of the parent website.
|
*/
'parenturl' => env('APP_PARENT_URL'),
/*
|--------------------------------------------------------------------------
| Application Debug Mode

View File

@ -44,7 +44,7 @@
section, form {
height: 100%;
display: flex;
flex-direction: column;
flex-direction: column;
}
input, select, textarea, div, label {
@ -191,6 +191,8 @@
<a href="/?js=1">Tab key support (requires JS)</a>
@endif
<p>&middot; <a href="{{ config('app.repo') }}">Source code</a></p>
<p>&middot; <a href="mailto:{{ config('app.abusecontact') }}">Report abuse</a></p>
<p>&middot; <a href="{{ config('app.parenturl') }}">{{ config('app.parentname') }}</a></p>
<p>&middot; Dates and times are UTC.</p>
</div>
</footer>