| 1 | <div class="gl-top"> |
| 2 | <a href="/gitler" class="gl-logo">Gitler</a> |
| 3 | <form method="get" action="/gitler" class="gl-search"> |
| 4 | <input type="text" name="q" value="{{ $_GET['q'] ?? '' }}" placeholder="リポジトリを検索" /> |
| 5 | </form> |
| 6 | <span class="gl-links"> |
| 7 | {@ if ($canCreate) @} |
| 8 | <a href="/gitler/-/new">+新しいリポジトリ</a> |
| 9 | {@ endif @} |
| 10 | {@ if (isset($user) && $user) @} |
| 11 | <a href="/gitler/{{ $user->username }}">自分のリポジトリ</a> |
| 12 | <a href="/gitler/-/keys">設定(鍵・トークン・通知)</a> |
| 13 | {@ endif @} |
| 14 | </span> |
| 15 | </div> |
| 16 | {@ if ($error) @} |
| 17 | <div class="errormes">{{ $error }}</div> |
| 18 | {@ endif @} |
| 19 | {@ if ($message) @} |
| 20 | <p class="gl-message">{{ $message }}</p> |
| 21 | {@ endif @} |