Fixed grammatical errors

This commit is contained in:
Thomas G 2022-10-06 14:55:33 +11:00
parent f65dd959d3
commit 7bc465f6dc
6 changed files with 25 additions and 25 deletions

View File

@ -16,9 +16,9 @@ function openPopup(id) {
active = 2; active = 2;
setActiveSetting(2); setActiveSetting(2);
document.querySelector('.popup .email_change').removeAttribute('id'); document.querySelector('.popup .email_change').removeAttribute('id');
document.querySelector('.popup #heading').innerHTML = "Change E-Mail"; document.querySelector('.popup #heading').innerHTML = "Change Email";
document.querySelector('.popup .warningtext').innerHTML = null; document.querySelector('.popup .warningtext').innerHTML = null;
document.querySelector('.popup #desc').innerHTML = "Enter your new E-Mail below as well as confirming it.<br>E-Mails are primarily used to reset passwords."; document.querySelector('.popup #desc').innerHTML = "Enter your new Email below as well as confirming it.<br>Emails are primarily used to reset passwords.";
break; break;
case 3: case 3:
active = 3; active = 3;

View File

@ -294,9 +294,9 @@
<div id="ProfileContainerBox1TextContainer" style="color:black"> <div id="ProfileContainerBox1TextContainer" style="color:black">
<p><strong>Username:</strong> {{ $user->name }}</p> <p><strong>Username:</strong> {{ $user->name }}</p>
@if ($user->admin) @if ($user->admin)
<p><strong>E-Mail:</strong> <i>Admin E-Mail Hidden</i></p> <p><strong>Email:</strong> <i>Admin Email Hidden</i></p>
@else @else
<p><strong>E-Mail:</strong> {{ $user->email }}</p> <p><strong>Email:</strong> {{ $user->email }}</p>
@endif @endif
<p><strong>ID:</strong> {{ $user->id }}</p> <p><strong>ID:</strong> {{ $user->id }}</p>
<p><strong>DOB:</strong> {{ Carbon\Carbon::parse($user->dob)->format('d/m/Y') }}</p> <p><strong>DOB:</strong> {{ Carbon\Carbon::parse($user->dob)->format('d/m/Y') }}</p>

View File

@ -14,7 +14,7 @@
<br> <br>
<form method="POST" action="{{ route('login') }}"> <form method="POST" action="{{ route('login') }}">
@csrf @csrf
<h3>Username/E-Mail Address</h3> <h3>Username or Email Address</h3>
<input id="login" type="text" name="login" value="{{ old('login') }}" required autofocus> <input id="login" type="text" name="login" value="{{ old('login') }}" required autofocus>
@if ($errors->has('name') || $errors->has('email')) @if ($errors->has('name') || $errors->has('email'))
<span style="color:red" role="alert"> <span style="color:red" role="alert">
@ -39,7 +39,7 @@
@if (Route::has('password.request')) @if (Route::has('password.request'))
<br><br> <br><br>
<span class="hyperlink"><a class="btn btn-link" href="{{ route('password.request') }}"> <span class="hyperlink"><a class="btn btn-link" href="{{ route('password.request') }}">
Forgot Your Password? Forgot your password?
</a> </a>
</span> </span>
@endif @endif

View File

@ -12,7 +12,7 @@
<h1>Welcome to ARCHBLOX!</h1> <h1>Welcome to ARCHBLOX!</h1>
<p>Have an account already? <a href="{{ route('login') }}">Click here</a> to log in.</p> <p>Have an account already? <a href="{{ route('login') }}">Click here</a> to log in.</p>
<br> <br>
<p>Before entering anything, please read the <a href="{{ route('privacy') }}">Privacy Policy</a> and the <a <p>Before signing up, please read the <a href="{{ route('privacy') }}">Privacy Policy</a> and the <a
href="{{ route('tos') }}">Terms of Service</a>.</p> href="{{ route('tos') }}">Terms of Service</a>.</p>
<br> <br>
<form method="POST" action="{{ route('register') }}"> <form method="POST" action="{{ route('register') }}">
@ -20,21 +20,21 @@
<h3>Username</h3> <h3>Username</h3>
<input id="name" type="text" placeholder="Enter a username!" name="name" value="{{ old('name') }}" required <input id="name" type="text" placeholder="Enter a username!" name="name" value="{{ old('name') }}" required
autocomplete="name" autofocus> autocomplete="name" autofocus>
<p>Usernames must be 3-20 characters, and must not break the rules.</p> <p>Usernames must be 3-20 alphanumeric characters and can include underscores, dashes, points, and spaces.</p>
@error('name') @error('name')
<div class="invalid-feedback" style="color:red"> <div class="invalid-feedback" style="color:red">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</div> </div>
@enderror @enderror
<br> <br>
<h3>E-Mail Address</h3> <h3>Email Address</h3>
<input id="email" type="email" name="email" value="{{ old('email') }}" required autocomplete="email"> <input id="email" type="email" name="email" value="{{ old('email') }}" required autocomplete="email">
@error('email') @error('email')
<div class="invalid-feedback" style="color:red"> <div class="invalid-feedback" style="color:red">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</div> </div>
@enderror @enderror
<h3>Confirm E-Mail Address</h3> <h3>Confirm Email Address</h3>
<input id="email-confirm" type="email" name="email_confirmation" value="{{ old('email_confirmation') }}" required <input id="email-confirm" type="email" name="email_confirmation" value="{{ old('email_confirmation') }}" required
autocomplete="email"> autocomplete="email">
@error('email_confirmation') @error('email_confirmation')
@ -53,8 +53,8 @@
<br> <br>
<h3>Password</h3> <h3>Password</h3>
<input id="password" type="password" name="password" required autocomplete="password"> <input id="password" type="password" name="password" required autocomplete="password">
<p class="helpfultip">Don't reuse or use weak passwords!</p> <p class="helpfultip">Don't reuse passwords, or use weak passwords!</p>
<p>Recommend to be 8 or more characters, with atleast 1 capital letter, 1 symbol and 1 number.</p> <p>Passwords must be 8 or more characters with at least 1 capital letter, 1 symbol, and 1 number.</p>
@error('password') @error('password')
<div class="invalid-feedback" style="color:red"> <div class="invalid-feedback" style="color:red">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
@ -65,12 +65,12 @@
<input id="key" type="text" name="key" placeholder="Invite Key" value="{{ old('key') }}" required> <input id="key" type="text" name="key" placeholder="Invite Key" value="{{ old('key') }}" required>
@error('key') @error('key')
<div class="invalid-feedback" style="color:red"> <div class="invalid-feedback" style="color:red">
<strong>Incorrect invite key.</strong> <strong>Invalid invite key! The invite key may be inactive or it no longer exists.</strong>
</div> </div>
@enderror @enderror
<p>An Invite Key is required to sign up. You can obtain one from a person that has played ARCHBLOX.</p> <p>An Invite Key is required to sign up. You can obtain one from a person that has an ARCHBLOX Account.</p>
<p>Don't beg for keys.</p> <p>Don't bother random people for keys, or beg for one.</p>
<br> <br>
<button class="greenbutton" onClick="this.form.submit();this.disabled=true">Signup</button> <button class="greenbutton" onClick="this.form.submit();this.disabled=true">Sign Up</button>
@endsection @endsection

View File

@ -25,15 +25,15 @@
@foreach ($data['fetchKeys'] as $fKey) @foreach ($data['fetchKeys'] as $fKey)
<div class="FeedContainerBox" id="FeedContainerBox1"> <div class="FeedContainerBox" id="FeedContainerBox1">
<div id="ProfileContainerBox1TextContainer"> <div id="ProfileContainerBox1TextContainer">
<h3>Invite Key - @if (!$fKey->active) <h3>Invite Key | @if (!$fKey->active)
You Invited: <a href="{{ route('profile', App\Models\User::find($fKey->user_invited)->id) }}" You Invited: <a href="{{ route('profile', App\Models\User::find($fKey->user_invited)->id) }}"
style="font-weight:normal;color:blue">{{ App\Models\User::find($fKey->user_invited)->name }}</a> style="font-weight:normal;color:blue">{{ App\Models\User::find($fKey->user_invited)->name }}</a>
- |
@endif Created {{ $fKey->created_at->format('d/m/Y') }}</h3> @endif Created {{ $fKey->created_at->format('d/m/Y') }}</h3>
@if ($fKey->active) @if ($fKey->active)
<h5 style="color:green">Status: Active</h5> <h5 style="color:green">Active</h5>
@else @else
<h5 style="color:red">Status: Inactive</h5> <h5 style="color:red">Inactive</h5>
@endif @endif
<address>{{ $fKey->key }}</address> <address>{{ $fKey->key }}</address>
</div> </div>

View File

@ -41,10 +41,10 @@
</span> </span>
<span class="email_change" id="invisible"> <span class="email_change" id="invisible">
<br> <br>
<h4>New E-Mail</h4> <h4>New Email</h4>
<input type="email" name="email" placeholder="New E-Mail Field"><br> <input type="email" name="email" placeholder="New Email Field"><br>
<h4>Confirm New E-Mail</h4> <h4>Confirm New Email</h4>
<input type="email" name="email_confirmation" placeholder="Confirm New E-Mail Field"> <input type="email" name="email_confirmation" placeholder="Confirm New Email Field">
</span> </span>
<span class="dob_change" id="invisible"> <span class="dob_change" id="invisible">
<br> <br>
@ -127,7 +127,7 @@
style="flex-wrap: wrap; flex-direction: row-reverse; width: 50%; text-align: end; align-content: flex-end;"> style="flex-wrap: wrap; flex-direction: row-reverse; width: 50%; text-align: end; align-content: flex-end;">
<p style="width: 100%;">Username: {{ Auth::user()->name }} <button class="bluebutton" <p style="width: 100%;">Username: {{ Auth::user()->name }} <button class="bluebutton"
onclick="openPopup(1)">Edit</button></p> onclick="openPopup(1)">Edit</button></p>
<p style="width: 100%;">E-Mail: {{ Auth::user()->email }} <button class="bluebutton" <p style="width: 100%;">Email: {{ Auth::user()->email }} <button class="bluebutton"
onclick="openPopup(2)">Edit</button></p> onclick="openPopup(2)">Edit</button></p>
<p style="width: 100%;">Date of Birth: {{ Auth::user()->dob }} <button class="bluebutton" <p style="width: 100%;">Date of Birth: {{ Auth::user()->dob }} <button class="bluebutton"
onclick="openPopup(3)">Edit</button> onclick="openPopup(3)">Edit</button>