diff options
Diffstat (limited to 'includes/planner.inc')
-rw-r--r-- | includes/planner.inc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/includes/planner.inc b/includes/planner.inc index 69e0331..72c82a5 100644 --- a/includes/planner.inc +++ b/includes/planner.inc @@ -110,7 +110,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis </td> <?php if (!isset($dayCloudburst[$index][1])): ?> <td class="planner-cofronter-inner planner-link" style="width:5%;text-align:center;"> - <a href="#" onclick="addCofronter('cloudburst', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> + <a onclick="addCofronter('cloudburst', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> <img src="/assets/icons/add.svg" alt="" class="planner-add-icon"> </a> </td> @@ -126,7 +126,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis <?php endif; ?> <?php elseif ($index === count($dayCloudburst)): ?> <td class="planner-add-inner planner-link" colspan="5"> - <a href="#" onclick="addFronter('cloudburst', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> + <a onclick="addFronter('cloudburst', <?= $diff ?>, <?= $index ?>);" id="planner-add-link-cloudburst-<?= $diff ?>" class="planner-add-link"> <img src="/assets/icons/add.svg" alt="" class="planner-add-icon"> <span class="planner-add-text">Add new fronter</span> </a> @@ -148,7 +148,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis </td> <?php if (!isset($dayRaindrops[$index][1])): ?> <td class="planner-cofronter-inner planner-link" style="width:5%;text-align:center;"> - <a href="#" onclick="addCofronter('raindrops', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> + <a onclick="addCofronter('raindrops', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> <img src="/assets/icons/add.svg" alt="" class="planner-add-icon"> </a> </td> @@ -164,7 +164,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis <?php endif; ?> <?php elseif ($index === count($dayRaindrops)): ?> <td class="planner-add-inner planner-link" colspan="5"> - <a href="#" onclick="addFronter('raindrops', <?= $diff ?>, <?= $index ?>);" class="planner-add-link"> + <a onclick="addFronter('raindrops', <?= $diff ?>, <?= $index ?>);" id="planner-add-link-raindrops-<?= $diff ?>" class="planner-add-link"> <img src="/assets/icons/add.svg" alt="" class="planner-add-icon"> <span class="planner-add-text">Add new fronter</span> </a> @@ -220,7 +220,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis } td { - border: 1px solid rgba(255, 255, 255, .25); + border: 1px solid #404040; padding: 5px 10px; } @@ -259,6 +259,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis .planner-add-link { color: rgba(255, 255, 255, .75); text-decoration: none; + cursor: pointer; } .planner-add-link:hover { @@ -773,9 +774,9 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis <div id="list"> <div class="list-group"> <?php foreach (scoreOrderGlobal() as $member): ?> - <a id="list-pony-<?= $member['id'] ?>" onclick="confirmFronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-fronter-link member-link list-group-item list-group-item-action" href="#"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a> + <a id="list-pony-<?= $member['id'] ?>" onclick="confirmFronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-fronter-link member-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a> <?php endforeach; $member = getSystemMember("gdapd", "irxyh") ?> - <a onclick="confirmFronterAdd(window.addSystem, 'irxyh');" class="new-fronter-link member-link list-group-item list-group-item-action" href="#"><img src="/assets/logo/logo.png" style="width:24px;"> <span class="text-muted">Multiple merged members</span></a> + <a onclick="confirmFronterAdd(window.addSystem, 'irxyh');" class="new-fronter-link member-link list-group-item list-group-item-action"><img src="/assets/logo/logo.png" style="width:24px;"> <span class="text-muted">Multiple merged members</span></a> </div> </div> @@ -804,7 +805,7 @@ function day($display, $diff): void { if ($diff < 0) $disabled = true; else $dis <div id="list2"> <div class="list-group"> <?php foreach (scoreOrderGlobal() as $member): ?> - <a id="list2-pony-<?= $member['id'] ?>" onclick="confirmCofronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-cofronter-link member-link list-group-item list-group-item-action" href="#"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a> + <a id="list2-pony-<?= $member['id'] ?>" onclick="confirmCofronterAdd(window.addSystem, '<?= $member['id'] ?>');" class="new-cofronter-link member-link list-group-item list-group-item-action"><img src="<?= getAsset($member["system"], $member["id"], "heads") ?>" style="width:24px;"> <?= getMiniName($member["display_name"] ?? $member["name"]) ?><peh-schedule-add></peh-schedule-add></a> <?php endforeach; $member = getSystemMember("gdapd", "irxyh") ?> </div> </div> |