Update admin pages view

This commit is contained in:
Daniel Supernault 2019-06-27 00:50:56 -06:00
parent ddaafd9678
commit 6af4e7739b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -49,17 +49,22 @@
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="about"> <input type="hidden" name="page" value="about">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create About Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create About</button>
</form> </form>
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="privacy"> <input type="hidden" name="page" value="privacy">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Privacy Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Privacy</button>
</form>
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf
<input type="hidden" name="page" value="terms">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Terms</button>
</form> </form>
<form class="form-inline" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="terms"> <input type="hidden" name="page" value="community_guidelines">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Terms Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Guidelines</button>
</form> </form>
</div> </div>
@else @else
@ -73,17 +78,22 @@
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="about"> <input type="hidden" name="page" value="about">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create About Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create About</button>
</form> </form>
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="privacy"> <input type="hidden" name="page" value="privacy">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Privacy Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Privacy</button>
</form>
<form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf
<input type="hidden" name="page" value="terms">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Terms</button>
</form> </form>
<form class="form-inline" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="terms"> <input type="hidden" name="page" value="community_guidelines">
<button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Terms Page</button> <button type="submit" class="btn btn-outline-secondary font-weight-bold">Create Guidelines</button>
</form> </form>
</div> </div>
@endif @endif