VorZurück Raid
parent
614b105e76
commit
ca88405a01
|
@ -41,13 +41,13 @@ global $user;
|
||||||
<?php if (!$user->ID) : ?>
|
<?php if (!$user->ID) : ?>
|
||||||
<div>Bitte <a href="/wp-login.php" class="text-alliance underline">einloggen</a> :)</div>
|
<div>Bitte <a href="/wp-login.php" class="text-alliance underline">einloggen</a> :)</div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<div><a href="<?=wp_logout_url('/')?>" class="text-alliance underline"><?= Icon::get('o-power') ?></a></div>
|
<div><a href="<?= wp_logout_url('/') ?>" class="text-alliance underline"><?= Icon::get('o-power') ?></a></div>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if ($user->ID) : ?>
|
<?php if ($user->ID) : ?>
|
||||||
<?php if(current_user_can('wowpress_edit_raids')): ?>
|
<?php if (current_user_can('wowpress_edit_raids')): ?>
|
||||||
<a href="/wp-admin" class="btn btn-red"><?=Icon::get('o-shield-exclamation')?> Admin-Bereich</a>
|
<a href="/wp-admin" class="btn btn-red"><?= Icon::get('o-shield-exclamation') ?> Admin-Bereich</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div>
|
<div>
|
||||||
<h5 class="text-center text-lg font-bold">Charakter-Liste</h5>
|
<h5 class="text-center text-lg font-bold">Charakter-Liste</h5>
|
||||||
|
|
|
@ -28,11 +28,11 @@ $unknowns = [];
|
||||||
|
|
||||||
get_header();
|
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) : ?>
|
<?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; ?>
|
<?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')) : ?>
|
<?php if (current_user_can('wowpress_edit_raids')) : ?>
|
||||||
<form action="/request" method="POST">
|
<form action="/request" method="POST">
|
||||||
<?php wp_nonce_field('updateRaidTitle', 'updateRaidTitle_nonce'); ?>
|
<?php wp_nonce_field('updateRaidTitle', 'updateRaidTitle_nonce'); ?>
|
||||||
|
@ -49,7 +49,7 @@ get_header();
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if ($raid->next) : ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<section id="primary">
|
<section id="primary">
|
||||||
|
|
Loading…
Reference in New Issue