forked from shibao/cannery
remove search from topbar
This commit is contained in:
parent
ebe09bcf84
commit
8ef3bd65a3
@ -36,23 +36,6 @@ defmodule LokalWeb.Components.Topbar do
|
|||||||
<ul class="flex flex-row flex-wrap justify-center items-center
|
<ul class="flex flex-row flex-wrap justify-center items-center
|
||||||
text-lg text-white text-ellipsis">
|
text-lg text-white text-ellipsis">
|
||||||
<%= if @current_user do %>
|
<%= if @current_user do %>
|
||||||
<form phx-change="suggest" phx-submit="search">
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
name="q"
|
|
||||||
class="input input-primary"
|
|
||||||
placeholder="Search"
|
|
||||||
list="results"
|
|
||||||
autocomplete="off"
|
|
||||||
/>
|
|
||||||
<datalist id="results">
|
|
||||||
<%= for {app, _vsn} <- @results do %>
|
|
||||||
<option value={app}>
|
|
||||||
"> <%= app %>
|
|
||||||
</option>
|
|
||||||
<% end %>
|
|
||||||
</datalist>
|
|
||||||
</form>
|
|
||||||
<li :if={@current_user.role == :admin} class="mx-2 my-1">
|
<li :if={@current_user.role == :admin} class="mx-2 my-1">
|
||||||
<.link
|
<.link
|
||||||
navigate={Routes.invite_index_path(Endpoint, :index)}
|
navigate={Routes.invite_index_path(Endpoint, :index)}
|
||||||
|
@ -34,7 +34,7 @@ msgstr ""
|
|||||||
msgid "Forgot your password?"
|
msgid "Forgot your password?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:108
|
#: lib/lokal_web/components/topbar.ex:91
|
||||||
#: lib/lokal_web/templates/user_confirmation/new.html.heex:31
|
#: lib/lokal_web/templates/user_confirmation/new.html.heex:31
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:44
|
#: lib/lokal_web/templates/user_registration/new.html.heex:44
|
||||||
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:45
|
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:45
|
||||||
@ -45,7 +45,7 @@ msgstr ""
|
|||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:100
|
#: lib/lokal_web/components/topbar.ex:83
|
||||||
#: lib/lokal_web/templates/user_confirmation/new.html.heex:28
|
#: lib/lokal_web/templates/user_confirmation/new.html.heex:28
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:3
|
#: lib/lokal_web/templates/user_registration/new.html.heex:3
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:37
|
#: lib/lokal_web/templates/user_registration/new.html.heex:37
|
||||||
|
@ -36,7 +36,7 @@ msgstr ""
|
|||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:61
|
#: lib/lokal_web/components/topbar.ex:44
|
||||||
#: lib/lokal_web/live/invite_live/index.ex:42
|
#: lib/lokal_web/live/invite_live/index.ex:42
|
||||||
#: lib/lokal_web/live/invite_live/index.html.heex:3
|
#: lib/lokal_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
|
@ -34,7 +34,7 @@ msgstr ""
|
|||||||
msgid "Forgot your password?"
|
msgid "Forgot your password?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:108
|
#: lib/lokal_web/components/topbar.ex:91
|
||||||
#: lib/lokal_web/templates/user_confirmation/new.html.heex:31
|
#: lib/lokal_web/templates/user_confirmation/new.html.heex:31
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:44
|
#: lib/lokal_web/templates/user_registration/new.html.heex:44
|
||||||
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:45
|
#: lib/lokal_web/templates/user_reset_password/edit.html.heex:45
|
||||||
@ -45,7 +45,7 @@ msgstr ""
|
|||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:100
|
#: lib/lokal_web/components/topbar.ex:83
|
||||||
#: lib/lokal_web/templates/user_confirmation/new.html.heex:28
|
#: lib/lokal_web/templates/user_confirmation/new.html.heex:28
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:3
|
#: lib/lokal_web/templates/user_registration/new.html.heex:3
|
||||||
#: lib/lokal_web/templates/user_registration/new.html.heex:37
|
#: lib/lokal_web/templates/user_registration/new.html.heex:37
|
||||||
|
@ -36,7 +36,7 @@ msgstr ""
|
|||||||
msgid "Invite Disabled"
|
msgid "Invite Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:61
|
#: lib/lokal_web/components/topbar.ex:44
|
||||||
#: lib/lokal_web/live/invite_live/index.ex:42
|
#: lib/lokal_web/live/invite_live/index.ex:42
|
||||||
#: lib/lokal_web/live/invite_live/index.html.heex:3
|
#: lib/lokal_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
|
@ -25,7 +25,7 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:76
|
#: lib/lokal_web/components/topbar.ex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to log out?"
|
msgid "Are you sure you want to log out?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -25,7 +25,7 @@ msgstr ""
|
|||||||
msgid "Are you sure you want to delete your account?"
|
msgid "Are you sure you want to delete your account?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/lokal_web/components/topbar.ex:76
|
#: lib/lokal_web/components/topbar.ex:59
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Are you sure you want to log out?"
|
msgid "Are you sure you want to log out?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user