online changes

master
Seph 2024-09-20 09:43:17 +02:00
parent ca88405a01
commit f03651b83c
179 changed files with 18 additions and 15 deletions

View File

@ -29,6 +29,9 @@ global $user;
--body-bg: url('/wp-content/bg.jpg'); --body-bg: url('/wp-content/bg.jpg');
} }
#wp-link-wrap{
color:black;
}
</style> </style>
</head> </head>

View File

@ -93,22 +93,22 @@ add_action('template_redirect', function () {
# $cl->notify = true; # $cl->notify = true;
# $cl->save(); # $cl->save();
$cl = CharacterList::find(14); #$cl = CharacterList::find(14);
$char = Character::first(); #$char = Character::first();
#$char = Character::find(8); #$char = Character::find(8);
$cl->addItem($char,'Richtig Dumm','2024-09-26'); #$cl->addItem($char,'Richtig Dumm','2024-09-26');
dd($cl->characters); #dd($cl->characters);
exit; #exit;
isAllowed('wowpress_edit_raids'); isAllowed('wowpress_edit_raids');
$GLOBALS['wowpress']['page_title'] = "Logs"; $GLOBALS['wowpress']['page_title'] = "Logs";
echo "<div style='display:flex;flex-direction:column;gap:2em;'>"; echo "<div style='display:flex;flex-direction:column;gap:2em;'>";
@ -129,8 +129,8 @@ add_action('template_redirect', function () {
case 'raids': case 'raids':
# isAllowed('wowpress_view_raids'); # isAllowed('wowpress_view_raids');
$GLOBALS['wowpress']['page_title'] = "Raids"; $GLOBALS['wowpress']['page_title'] = "Raids";
$GLOBALS['wowpress']['raids']['year'] = get_query_var('year'); $GLOBALS['wowpress']['raids']['year'] = get_query_var('year')?:date('Y');
$GLOBALS['wowpress']['raids']['month'] = get_query_var('month'); $GLOBALS['wowpress']['raids']['month'] = get_query_var('month')?:date('n');
include plugin_dir_path(__FILE__) . '../pages/raids.php'; include plugin_dir_path(__FILE__) . '../pages/raids.php';
die; die;

View File

@ -7,6 +7,7 @@ global $widget_area;
global $year; global $year;
global $month; global $month;
set_sidebar_status('top', false); set_sidebar_status('top', false);
switch ($month) { switch ($month) {

View File

@ -64,7 +64,7 @@ if (empty($liste->list_name)) {
<?php endif; ?> <?php endif; ?>
</tr> </tr>
</thead> </thead>
<tbody> <tbody class="bg-black">
<?php <?php
foreach (SKS::getList($liste->list_name) as $sk) : foreach (SKS::getList($liste->list_name) as $sk) :
?> ?>
@ -92,8 +92,8 @@ if (empty($liste->list_name)) {
<?php else : ?> <?php else : ?>
<td class="p-auto text-center"><?= $sk->rank ?></td> <td class="p-auto text-center"><?= $sk->rank ?></td>
<?php endif; ?> <?php endif; ?>
<td class="p-auto text-center"><?= $sk->character->name ?></td> <td class="p-auto text-center" style="font-size:1.3em"><?= $sk->character->name ?></td>
<td class="p-auto text-center hidden lg:table-cell"><?= $sk->character->realm ?></td> <td class="p-auto text-center hidden lg:table-cell" style="font-size:1.3em"><?= $sk->character->realm ?></td>
<?php if (current_user_can('wowpress_edit_raids')) : ?> <?php if (current_user_can('wowpress_edit_raids')) : ?>
<td class="p-auto text-center hidden lg:table-cell"> <td class="p-auto text-center hidden lg:table-cell">
@ -160,7 +160,7 @@ if (current_user_can('wowpress_edit_raids')) : ?>
</template> </template>
<?php if (!empty($liste->list_name)) : ?> <?php if (!empty($liste->list_name)) : ?>
<template x-teleport="#sidebar_right"> <template x-teleport="#sidebar_right">
<div class="bg-glass shadow p-auto order-1"> <!--div class="bg-glass shadow p-auto order-1">
<h4 class="text-xl font-bold text-center mb-2">Liste neu Würfeln</h4> <h4 class="text-xl font-bold text-center mb-2">Liste neu Würfeln</h4>
<form action="/request" method="POST"> <form action="/request" method="POST">
<div class="flex flex-col gap-2"> <div class="flex flex-col gap-2">
@ -170,7 +170,7 @@ if (current_user_can('wowpress_edit_raids')) : ?>
<button type="submit" class="btn btn-outline btn-orange"><?= Icon::get('o-arrow-path') ?> Würfeln</a> <button type="submit" class="btn btn-outline btn-orange"><?= Icon::get('o-arrow-path') ?> Würfeln</a>
</div> </div>
</form> </form>
</div> </div-->
</template> </template>
<?php endif; ?> <?php endif; ?>

@ -1 +0,0 @@
Subproject commit f7368258ce5e491ad572f2917a4a2c80da0700f0

View File

@ -223,7 +223,7 @@ switch ($_POST['action']) {
if (isset($_POST['list_name'])) { if (isset($_POST['list_name'])) {
$sks = SKS::where('list_name', $_POST['list_name'])->first(); $sks = SKS::where('list_name', $_POST['list_name'])->first();
if (!empty($sks->ID)) { if (!empty($sks->ID)) {
$sks->roll(); # $sks->roll();
} }
} }
} }

0
theme/vendor/bin/blade-icons-generate vendored 100755 → 100644
View File

0
theme/vendor/bin/carbon vendored 100755 → 100644
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
theme/vendor/illuminate/database/Grammar.php vendored 100755 → 100644
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
theme/vendor/illuminate/database/README.md vendored 100755 → 100644
View File

View File

View File

View File

View File

View File

View File

View File

0
theme/vendor/illuminate/database/Seeder.php vendored 100755 → 100644
View File

View File

0
theme/vendor/illuminate/events/Dispatcher.php vendored 100755 → 100644
View File

View File

0
theme/vendor/illuminate/events/composer.json vendored 100755 → 100644
View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More