VorZurück Raid

master
Seph 2024-09-05 21:48:11 +02:00
parent 614b105e76
commit ca88405a01
2 changed files with 7 additions and 7 deletions

View File

@ -28,11 +28,11 @@ $unknowns = [];
get_header();
?>
<div class="top-title flex flex-col lg:flex-row gap-auto" style="margin-top:calc(-1 * var(--wowp-gap))">
<div class="top-title flex flex-row justify-between flex-wrap gap-auto mx-1" style="margin-top:calc(-1 * var(--wowp-gap))">
<?php if ($raid->previous) : ?>
<a href="<?= $raid->previous->link ?>" class="btn btn-outline hidden lg:flex">Vorheriger</a>
<a href="<?= $raid->previous->link ?>" class="btn btn-outline lg:flex flex-wrap order-2 lg:order-1">Vorheriger</a>
<?php endif; ?>
<div class="text-3xl font-bold bg-glass shadow p-3 text-center w-full">
<div class="text-3xl font-bold bg-glass shadow p-3 text-center flex-grow w-auto order-1 lg:order-2">
<?php if (current_user_can('wowpress_edit_raids')) : ?>
<form action="/request" method="POST">
<?php wp_nonce_field('updateRaidTitle', 'updateRaidTitle_nonce'); ?>
@ -49,7 +49,7 @@ get_header();
<?php endif; ?>
</div>
<?php if ($raid->next) : ?>
<a href="<?= $raid->next->link ?>" class="btn btn-outline hidden lg:flex">Nächster</a>
<a href="<?= $raid->next->link ?>" class="btn btn-outline lg:flex order-3">Nächster</a>
<?php endif; ?>
</div>
<section id="primary">