forked from shibao/cannery
		
	add ids to some cards
This commit is contained in:
		@@ -117,10 +117,10 @@ defmodule CanneryWeb.Components.AmmoGroupTableComponent do
 | 
			
		||||
  @impl true
 | 
			
		||||
  def render(assigns) do
 | 
			
		||||
    ~H"""
 | 
			
		||||
    <div class="w-full">
 | 
			
		||||
    <div id={@id} class="w-full">
 | 
			
		||||
      <.live_component
 | 
			
		||||
        module={CanneryWeb.Components.TableComponent}
 | 
			
		||||
        id={@id}
 | 
			
		||||
        id={"table-#{@id}"}
 | 
			
		||||
        columns={@columns}
 | 
			
		||||
        rows={@rows}
 | 
			
		||||
      />
 | 
			
		||||
 
 | 
			
		||||
@@ -15,9 +15,12 @@ defmodule CanneryWeb.Components.InviteCard do
 | 
			
		||||
    assigns = assigns |> assign_new(:code_actions, fn -> [] end)
 | 
			
		||||
 | 
			
		||||
    ~H"""
 | 
			
		||||
    <div class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4
 | 
			
		||||
    <div
 | 
			
		||||
      id={"invite-#{@invite.id}"}
 | 
			
		||||
      class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4
 | 
			
		||||
      border border-gray-400 rounded-lg shadow-lg hover:shadow-md
 | 
			
		||||
      transition-all duration-300 ease-in-out">
 | 
			
		||||
      transition-all duration-300 ease-in-out"
 | 
			
		||||
    >
 | 
			
		||||
      <h1 class="title text-xl">
 | 
			
		||||
        <%= @invite.name %>
 | 
			
		||||
      </h1>
 | 
			
		||||
 
 | 
			
		||||
@@ -202,7 +202,7 @@ msgstr "Brandmunition"
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr "Instanzinformationen"
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr "Einladung deaktiviert"
 | 
			
		||||
@@ -450,7 +450,7 @@ msgstr "Art:"
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr "Benutzer"
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr "Verbleibende Nutzung:"
 | 
			
		||||
 
 | 
			
		||||
@@ -187,7 +187,7 @@ msgstr ""
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr ""
 | 
			
		||||
@@ -433,7 +433,7 @@ msgstr ""
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 
 | 
			
		||||
@@ -188,7 +188,7 @@ msgstr ""
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr ""
 | 
			
		||||
@@ -434,7 +434,7 @@ msgstr ""
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 
 | 
			
		||||
@@ -202,7 +202,7 @@ msgstr ""
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr ""
 | 
			
		||||
@@ -448,7 +448,7 @@ msgstr ""
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 
 | 
			
		||||
@@ -202,7 +202,7 @@ msgstr "Incendiaire"
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr "Information de l’instance"
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr "Invitation désactivée"
 | 
			
		||||
@@ -452,7 +452,7 @@ msgstr "Type :"
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr "Utilisateurs"
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr "Utilisations restantes :"
 | 
			
		||||
 
 | 
			
		||||
@@ -198,7 +198,7 @@ msgstr ""
 | 
			
		||||
msgid "Instance Information"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:32
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:35
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Invite Disabled"
 | 
			
		||||
msgstr ""
 | 
			
		||||
@@ -444,7 +444,7 @@ msgstr ""
 | 
			
		||||
msgid "Users"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:27
 | 
			
		||||
#: lib/cannery_web/components/invite_card.ex:30
 | 
			
		||||
#, elixir-autogen, elixir-format
 | 
			
		||||
msgid "Uses Left:"
 | 
			
		||||
msgstr ""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user