mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Merge pull request #1548 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
0d5f347750
3 changed files with 48 additions and 7 deletions
|
@ -5,10 +5,6 @@ namespace App\Util\Lexer;
|
|||
class RestrictedNames
|
||||
{
|
||||
public static $blacklist = [
|
||||
'about',
|
||||
'abuse',
|
||||
'administrator',
|
||||
'app',
|
||||
'autoconfig',
|
||||
'blog',
|
||||
'broadcasthost',
|
||||
|
@ -97,7 +93,11 @@ class RestrictedNames
|
|||
|
||||
// Reserved routes
|
||||
'a',
|
||||
'app',
|
||||
'about',
|
||||
'abuse',
|
||||
'account',
|
||||
'admins',
|
||||
'api',
|
||||
'audio',
|
||||
'auth',
|
||||
|
@ -124,6 +124,7 @@ class RestrictedNames
|
|||
'css',
|
||||
'd',
|
||||
'dashboard',
|
||||
'dmca',
|
||||
'db',
|
||||
'deck',
|
||||
'dev',
|
||||
|
@ -136,15 +137,27 @@ class RestrictedNames
|
|||
'docs',
|
||||
'docs',
|
||||
'drive',
|
||||
'drives',
|
||||
'driver',
|
||||
'e',
|
||||
'error',
|
||||
'explore',
|
||||
'export',
|
||||
'exports',
|
||||
'f',
|
||||
'feed',
|
||||
'font',
|
||||
'fonts',
|
||||
'follow',
|
||||
'follows',
|
||||
'followme',
|
||||
'follow-me',
|
||||
'follow_me',
|
||||
'g',
|
||||
'gdpr',
|
||||
'graph',
|
||||
'ghost',
|
||||
'ghosts',
|
||||
'group',
|
||||
'groups',
|
||||
'h',
|
||||
|
@ -164,7 +177,12 @@ class RestrictedNames
|
|||
'images',
|
||||
'invite',
|
||||
'invites',
|
||||
'import',
|
||||
'imports',
|
||||
'j',
|
||||
'js',
|
||||
'k',
|
||||
'key',
|
||||
'l',
|
||||
'lab',
|
||||
'labs',
|
||||
|
@ -186,6 +204,7 @@ class RestrictedNames
|
|||
'news',
|
||||
'news',
|
||||
'newsfeed',
|
||||
'o',
|
||||
'oauth',
|
||||
'official',
|
||||
'p',
|
||||
|
@ -197,13 +216,21 @@ class RestrictedNames
|
|||
'photos',
|
||||
'password',
|
||||
'privacy',
|
||||
'private',
|
||||
'q',
|
||||
'quote',
|
||||
'query',
|
||||
'r',
|
||||
'review',
|
||||
'reset',
|
||||
'report',
|
||||
'results',
|
||||
'reports',
|
||||
'robot',
|
||||
'robots',
|
||||
's',
|
||||
'search',
|
||||
'sell',
|
||||
'send',
|
||||
'settings',
|
||||
'status',
|
||||
|
@ -217,20 +244,24 @@ class RestrictedNames
|
|||
'support',
|
||||
'svg',
|
||||
'svgs',
|
||||
't',
|
||||
'terms',
|
||||
'telescope',
|
||||
'timeline',
|
||||
'timelines',
|
||||
'tour',
|
||||
'tv',
|
||||
'u',
|
||||
'user',
|
||||
'users',
|
||||
'username',
|
||||
'usernames',
|
||||
'v',
|
||||
'valet',
|
||||
'video',
|
||||
'videos',
|
||||
'vendor',
|
||||
'w',
|
||||
'waiter',
|
||||
'wall',
|
||||
'whats-new',
|
||||
|
@ -240,7 +271,9 @@ class RestrictedNames
|
|||
'ws',
|
||||
'wss',
|
||||
'www',
|
||||
'valet',
|
||||
'x',
|
||||
'y',
|
||||
'z',
|
||||
'400',
|
||||
'401',
|
||||
'403',
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
<a href="{{route('site.contact')}}" class="text-primary pr-3">{{__('site.contact-us')}}</a>
|
||||
@endif
|
||||
<a href="{{route('site.help')}}" class="text-primary pr-3">{{__('site.help')}}</a>
|
||||
<a href="{{route('site.opensource')}}" class="text-primary pr-3">{{__('site.opensource')}}</a>
|
||||
<a href="{{route('site.terms')}}" class="text-primary pr-3">{{__('site.terms')}}</a>
|
||||
<a href="{{route('site.privacy')}}" class="text-primary pr-3">{{__('site.privacy')}}</a>
|
||||
<a href="{{route('site.platform')}}" class="text-primary pr-3">API</a>
|
||||
<a href="{{route('site.language')}}" class="text-primary pr-3">{{__('site.language')}}</a>
|
||||
<a href="https://pixelfed.org" class="text-muted float-right" rel="noopener" title="version {{config('pixelfed.version')}}" data-toggle="tooltip">Powered by Pixelfed</a>
|
||||
</p>
|
||||
|
|
10
resources/views/settings/drive/index.blade.php
Normal file
10
resources/views/settings/drive/index.blade.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
@extends('settings.template')
|
||||
|
||||
@section('section')
|
||||
|
||||
<div class="title">
|
||||
<h3 class="font-weight-bold">Drive</h3>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
@endsection
|
Loading…
Reference in a new issue