mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-06 14:54:50 +00:00
125 lines
4.1 KiB
PHP
125 lines
4.1 KiB
PHP
|
@extends('layouts.blank')
|
||
|
|
||
|
@section('content')
|
||
|
<div class="container">
|
||
|
<div class="row justify-content-center align-items-center">
|
||
|
<div class="col-12 col-md-7">
|
||
|
<div class="logo">
|
||
|
<img src="/img/pixelfed-icon-color.svg" width="40" height="40" alt="Pixelfed Logo">
|
||
|
<p class="font-weight-bold mb-0">Pixelfed</p>
|
||
|
</div>
|
||
|
|
||
|
@include('auth.curated-register.partials.progress-bar', ['step' => 4])
|
||
|
|
||
|
@if ($errors->any())
|
||
|
@foreach ($errors->all() as $error)
|
||
|
<div class="alert alert-danger bg-danger border-danger text-white">
|
||
|
<p class="lead font-weight-bold mb-0"><i class="far fa-exclamation-triangle mr-2"></i> {{ $error }}</p>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
<div class="mb-5"></div>
|
||
|
@endif
|
||
|
|
||
|
@if($emailConfirmed)
|
||
|
<h1 class="text-center font-weight-bold mt-4">Information Requested</h1>
|
||
|
<p class="lead text-center"><span class="font-weight-light">Our admin team requests the following information from you:</span></p>
|
||
|
<div class="border border-primary p-4 rounded my-3" style="border-style: dashed !important;">
|
||
|
<p class="mb-0 lead">testing</p>
|
||
|
</div>
|
||
|
<hr class="border-dark">
|
||
|
|
||
|
<form method="post">
|
||
|
@csrf
|
||
|
<input type="hidden" name="action" value="message">
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="message">Your Response</label>
|
||
|
<textarea
|
||
|
class="form-control bg-dark border-dark text-white"
|
||
|
rows="4"
|
||
|
id="reason"
|
||
|
name="response"
|
||
|
placeholder="Enter your response here, up to 1000 chars..."
|
||
|
maxlength="1000"></textarea>
|
||
|
<div class="help-text small text-muted d-flex justify-content-end mt-1 font-weight-bold">
|
||
|
<span id="charCount" class="text-white">0</span>/<span>1000</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<button class="btn btn-primary font-weight-bold rounded-pill px-5">Submit</button>
|
||
|
</form>
|
||
|
<hr class="border-dark">
|
||
|
<p class="text-muted small text-center">For additional information, please see our <a href="{{ route('help.curated-onboarding') }}" style="font-weight: 600;">Curated Onboarding</a> Help Center page.</p>
|
||
|
@else
|
||
|
@include('auth.curated-register.partials.message-email-confirm', ['step' => 4])
|
||
|
@endif
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endsection
|
||
|
|
||
|
@push('scripts')
|
||
|
<script>
|
||
|
document.addEventListener('DOMContentLoaded', function () {
|
||
|
var textInput = document.getElementById('reason');
|
||
|
var charCount = document.getElementById('charCount');
|
||
|
var currentLength = textInput.value.length;
|
||
|
charCount.textContent = currentLength;
|
||
|
|
||
|
textInput.addEventListener('input', function () {
|
||
|
var currentLength = textInput.value.length;
|
||
|
charCount.textContent = currentLength;
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
@endpush
|
||
|
|
||
|
@push('styles')
|
||
|
<link href="{{ mix('css/landing.css') }}" rel="stylesheet">
|
||
|
<style type="text/css">
|
||
|
.gap-1 {
|
||
|
gap: 1rem;
|
||
|
}
|
||
|
|
||
|
.opacity-5 {
|
||
|
opacity: .5;
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
display: flex;
|
||
|
margin-top: 50px;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
gap: 1rem;
|
||
|
|
||
|
p {
|
||
|
font-size: 30px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.action-btns {
|
||
|
display: flex;
|
||
|
margin: 3rem auto 1rem auto;
|
||
|
flex-direction: row;
|
||
|
gap: 1rem;
|
||
|
|
||
|
form {
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.small-links {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
flex-direction: row;
|
||
|
margin-bottom: 5rem;
|
||
|
gap: 1rem;
|
||
|
|
||
|
a {
|
||
|
color: rgba(255, 255, 255, 0.6);
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
@endpush
|