1
0
Fork 0

Update timeline template

This commit is contained in:
Daniel Supernault 2018-11-08 22:46:00 -07:00
parent 9def1e6c9b
commit a2599ee52e
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 49 additions and 31 deletions

View File

@ -4,9 +4,10 @@
<noscript> <noscript>
<div class="container"> <div class="container">
<div class="card border-left-primary mt-5"> <div class="card border-left-blue mt-5">
<div class="card-body"> <div class="card-body">
<p class="mb-0 font-weight-bold">Javascript is required for an optimized experience, please enable it or use the <a href="#">lite</a> version.</p> <p class="mb-0 font-weight-bold">Javascript is required for an optimized experience, please enable it to use this site.</p>
<p class="mb-0 font-weight-bold text-muted">(We are working on a lite version that does not require javascript)</p>
</div> </div>
</div> </div>
</div> </div>
@ -72,38 +73,54 @@
</div> </div>
<div class="col-md-2 col-lg-4 pt-4 my-3"> <div class="col-md-2 col-lg-4 pt-4 my-3">
<div class="media d-flex align-items-center mb-4">
<div class="media d-flex align-items-center mb-4"> <a href="{{Auth::user()->profile->url()}}">
<a href="{{Auth::user()->profile->url()}}"> <img class="mr-3 rounded-circle box-shadow" src="{{Auth::user()->profile->avatarUrl()}}" alt="{{Auth::user()->username}}'s avatar" width="64px">
<img class="mr-3 rounded-circle box-shadow" src="{{Auth::user()->profile->avatarUrl()}}" alt="{{Auth::user()->username}}'s avatar" width="64px"> </a>
</a> <div class="media-body">
<div class="media-body"> <p class="mb-0 px-0 font-weight-bold"><a href="{{Auth::user()->profile->url()}}">&commat;{{Auth::user()->username}}</a></p>
<p class="mb-0 px-0 font-weight-bold"><a href="{{Auth::user()->profile->url()}}">&commat;{{Auth::user()->username}}</a></p> <p class="mb-0 text-muted text-truncate pb-0">{{Auth::user()->name}}</p>
<p class="mb-0 small text-muted">{{Auth::user()->name}}</p> </div>
</div> </div>
</div>
<follow-suggestions></follow-suggestions> <div class="mb-4">
<ul class="nav nav-pills flex-column timeline-sidenav" style="max-width: 240px;">
<footer> <li class="nav-item">
<div class="container pb-5"> <a class="nav-link font-weight-bold" href="/" data-type="personal">
<p class="mb-0 text-uppercase font-weight-bold text-muted small"> <i class="far fa-user pr-1"></i> My Timeline
<a href="{{route('site.about')}}" class="text-dark pr-2">About Us</a> </a>
<a href="{{route('site.help')}}" class="text-dark pr-2">Support</a> </li>
<a href="{{route('site.opensource')}}" class="text-dark pr-2">Open Source</a> <li class="nav-item">
<a href="{{route('site.language')}}" class="text-dark pr-2">Language</a> <a class="nav-link font-weight-bold" href="/timeline/public" data-type="local">
<a href="{{route('site.terms')}}" class="text-dark pr-2">Terms</a> <i class="fas fa-bars pr-1"></i> Local Timeline
<a href="{{route('site.privacy')}}" class="text-dark pr-2">Privacy</a> </a>
<a href="{{route('site.platform')}}" class="text-dark pr-2">API</a> </li>
<a href="#" class="text-dark pr-2">Directory</a> <li class="nav-item" data-toggle="tooltip" data-placement="bottom" title="The network timeline is not available yet.">
<a href="#" class="text-dark pr-2">Profiles</a> <span class="nav-link font-weight-bold">
<a href="#" class="text-dark">Hashtags</a> <i class="fas fa-globe pr-1"></i> Network Timeline
</p> </span>
<p class="mb-0 text-uppercase font-weight-bold text-muted small"> </li>
<a href="http://pixelfed.org" class="text-muted" rel="noopener">Powered by PixelFed</a> </ul>
</p>
</div> </div>
</footer>
{{-- <follow-suggestions></follow-suggestions> --}}
<footer>
<div class="container pb-5">
<p class="mb-0 text-uppercase font-weight-bold text-muted small">
<a href="{{route('site.about')}}" class="text-dark pr-2">About Us</a>
<a href="{{route('site.help')}}" class="text-dark pr-2">Support</a>
<a href="{{route('site.opensource')}}" class="text-dark pr-2">Open Source</a>
<a href="{{route('site.language')}}" class="text-dark pr-2">Language</a>
<a href="{{route('site.terms')}}" class="text-dark pr-2">Terms</a>
<a href="{{route('site.privacy')}}" class="text-dark pr-2">Privacy</a>
<a href="{{route('site.platform')}}" class="text-dark pr-2">API</a>
</p>
<p class="mb-0 text-uppercase font-weight-bold text-muted small">
<a href="http://pixelfed.org" class="text-muted" rel="noopener">Powered by PixelFed</a>
</p>
</div>
</footer>
</div> </div>
</div> </div>
</div> </div>
@ -112,4 +129,5 @@
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{mix('js/timeline.js')}}"></script> <script type="text/javascript" src="{{mix('js/timeline.js')}}"></script>
@endpush @endpush