Compare commits

..

No commits in common. "ffb0e644394710beda62dce9559a101c39aaa5aa" and "cd8b5776934b638dd40082225678ba1802c8c11e" have entirely different histories.

3 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
{extends file='TplCore:empty.tpl'} {extends file='TplCore:empty.tpl'}
{block name="navbar-extra-content"} {block name="navbar-extra-content"}
{if isset($auth_user) && $auth_user}
<form class="d-flex" role="search" action='item'> <form class="d-flex" role="search" action='item'>
<div class="input-group input-group-sm me-2"> <div class="input-group input-group-sm me-2">
<input class="form-control" type="search" name="pattern" <input class="form-control" type="search" name="pattern"
@ -8,5 +7,4 @@
<span class="input-group-text"><i class="fa fa-search" aria-hidden="true"></i></span> <span class="input-group-text"><i class="fa fa-search" aria-hidden="true"></i></span>
</div> </div>
</form> </form>
{/if}
{/block} {/block}

View file

@ -75,7 +75,7 @@
</ul> </ul>
{/block} {/block}
</li> </li>
{else if $request->current_url != 'login'} {else}
{block name="navbar-login-btn"} {block name="navbar-login-btn"}
<li class="nav-item"> <li class="nav-item">
<a href="login" class="btn btn-sm btn-success"> <a href="login" class="btn btn-sm btn-success">

View file

@ -29,7 +29,7 @@
{t domain=$CORE_TEXT_DOMAIN}Submit{/t} {t domain=$CORE_TEXT_DOMAIN}Submit{/t}
</button> </button>
{foreach $display_other_methods as $method => $name} {foreach $display_other_methods as $method => $name}
<a class='btn btn-secondary w-100 mt-2' href='login?method={$method}&next={$next|escape:"url"}'>{$name}</a> <a class='btn btn-secondary w-100 my-2' href='login?method={$method}&next={$next|escape:"url"}'>{$name}</a>
{/foreach} {/foreach}
</form> </form>
</main> </main>