Restyle 🐛 Move opening and closing 'main' tags #133

Merged
restyled-io[bot] merged 1 commits from restyled/bug-117 into bug-117 2020-08-31 16:32:56 +00:00
2 changed files with 27 additions and 16 deletions

View File

@@ -34,10 +34,14 @@
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if (!is_signed_in()) {echo(' disabled');} ?>" href="/new">New request</a>
<a class="nav-link <?php if (!is_signed_in()) {
echo(' disabled');
} ?>" href="/new">New request</a>
</li>
<li class="nav-item">
<a class="nav-link <?php if (!is_signed_in()) {echo(' disabled');} ?>" href="/existing">Existing requests</a>
<a class="nav-link <?php if (!is_signed_in()) {
echo(' disabled');
} ?>" href="/existing">Existing requests</a>
</li>
</ul>
<div class="mt-2 mt-md-0">

View File

@@ -33,7 +33,11 @@
<h1>Welcome to <?php echo($_ENV['APP_NAME']); ?></h1>
<p class="lead text-muted">
<?php
if ($_ENV['APP_NAME'] == "FHeD") {echo("The Free HelpDesk");} else {echo($_ENV['APP_NAME']);};
if ($_ENV['APP_NAME'] == "FHeD") {
echo("The Free HelpDesk");
} else {
echo($_ENV['APP_NAME']);
};
?>
is the one-stop shop for all of your IT-related needs. Let us know how we can help you by opening a request.
</p>
@@ -76,7 +80,9 @@
</div>
</div>
</li>
<?php } } ?>
<?php
}
} ?>
</ul>
</div>
</div>
@@ -105,7 +111,8 @@
</div>
</div>
</li>
<?php } } ?>
<?php }
} ?>
</ul>
</div>
</section>