online changes
parent
ca88405a01
commit
f03651b83c
|
@ -29,6 +29,9 @@ global $user;
|
|||
--body-bg: url('/wp-content/bg.jpg');
|
||||
|
||||
}
|
||||
#wp-link-wrap{
|
||||
color:black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
|
|
@ -93,22 +93,22 @@ add_action('template_redirect', function () {
|
|||
# $cl->notify = true;
|
||||
# $cl->save();
|
||||
|
||||
$cl = CharacterList::find(14);
|
||||
#$cl = CharacterList::find(14);
|
||||
|
||||
|
||||
|
||||
|
||||
$char = Character::first();
|
||||
#$char = Character::first();
|
||||
|
||||
#$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');
|
||||
$GLOBALS['wowpress']['page_title'] = "Logs";
|
||||
echo "<div style='display:flex;flex-direction:column;gap:2em;'>";
|
||||
|
@ -129,8 +129,8 @@ add_action('template_redirect', function () {
|
|||
case 'raids':
|
||||
# isAllowed('wowpress_view_raids');
|
||||
$GLOBALS['wowpress']['page_title'] = "Raids";
|
||||
$GLOBALS['wowpress']['raids']['year'] = get_query_var('year');
|
||||
$GLOBALS['wowpress']['raids']['month'] = get_query_var('month');
|
||||
$GLOBALS['wowpress']['raids']['year'] = get_query_var('year')?:date('Y');
|
||||
$GLOBALS['wowpress']['raids']['month'] = get_query_var('month')?:date('n');
|
||||
|
||||
include plugin_dir_path(__FILE__) . '../pages/raids.php';
|
||||
die;
|
||||
|
|
|
@ -7,6 +7,7 @@ global $widget_area;
|
|||
|
||||
global $year;
|
||||
global $month;
|
||||
|
||||
set_sidebar_status('top', false);
|
||||
|
||||
switch ($month) {
|
||||
|
|
|
@ -64,7 +64,7 @@ if (empty($liste->list_name)) {
|
|||
<?php endif; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody class="bg-black">
|
||||
<?php
|
||||
foreach (SKS::getList($liste->list_name) as $sk) :
|
||||
?>
|
||||
|
@ -92,8 +92,8 @@ if (empty($liste->list_name)) {
|
|||
<?php else : ?>
|
||||
<td class="p-auto text-center"><?= $sk->rank ?></td>
|
||||
<?php endif; ?>
|
||||
<td class="p-auto text-center"><?= $sk->character->name ?></td>
|
||||
<td class="p-auto text-center hidden lg:table-cell"><?= $sk->character->realm ?></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" style="font-size:1.3em"><?= $sk->character->realm ?></td>
|
||||
|
||||
<?php if (current_user_can('wowpress_edit_raids')) : ?>
|
||||
<td class="p-auto text-center hidden lg:table-cell">
|
||||
|
@ -160,7 +160,7 @@ if (current_user_can('wowpress_edit_raids')) : ?>
|
|||
</template>
|
||||
<?php if (!empty($liste->list_name)) : ?>
|
||||
<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>
|
||||
<form action="/request" method="POST">
|
||||
<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>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div-->
|
||||
</template>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit f7368258ce5e491ad572f2917a4a2c80da0700f0
|
|
@ -223,7 +223,7 @@ switch ($_POST['action']) {
|
|||
if (isset($_POST['list_name'])) {
|
||||
$sks = SKS::where('list_name', $_POST['list_name'])->first();
|
||||
if (!empty($sks->ID)) {
|
||||
$sks->roll();
|
||||
# $sks->roll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
0
theme/vendor/illuminate/database/Migrations/DatabaseMigrationRepository.php
vendored
100755 → 100644
0
theme/vendor/illuminate/database/Migrations/DatabaseMigrationRepository.php
vendored
100755 → 100644
0
theme/vendor/illuminate/database/Migrations/MigrationRepositoryInterface.php
vendored
100755 → 100644
0
theme/vendor/illuminate/database/Migrations/MigrationRepositoryInterface.php
vendored
100755 → 100644
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue