Améliorations esthétiques
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
$user = $this->params['user'];
|
||||
assert($user instanceof Piko\User);
|
||||
|
||||
if (!$this->title) $this->title = 'Openai';
|
||||
$headerDark = $this->params['header_dark']?? false;
|
||||
|
||||
if (!$this->title) $this->title = 'IA Assistant';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= $this->params['language'] ?>">
|
||||
@@ -25,13 +27,13 @@ if (!$this->title) $this->title = 'Openai';
|
||||
|
||||
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
|
||||
<li class="nav-item"><a class="nav-link active" aria-current="page" href="/">Assistant</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?= $this->getUrl('site/ia/assistants') ?>">Gérer les assistants</a></li>
|
||||
|
||||
<?php /*if ($user->can('access.completion')): ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?= $this->getUrl('openai/v1/completions') ?>">Completions</a>
|
||||
</li>
|
||||
<?php endif */ ?>
|
||||
<?php endif */
|
||||
?>
|
||||
|
||||
<?php /* if ($user->can('access.edit')): ?>
|
||||
<li class="nav-item">
|
||||
@@ -56,7 +58,7 @@ if (!$this->title) $this->title = 'Openai';
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<button type="button" id="navBtn" class="hamburger is-closed" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar" >
|
||||
<button type="button" id="navBtn" class="hamburger <?= $headerDark ? 'light' : '' ?> is-closed" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar" >
|
||||
<span class="hamb-top"></span>
|
||||
<span class="hamb-middle"></span>
|
||||
<span class="hamb-bottom"></span>
|
||||
|
||||
Reference in New Issue
Block a user