Compare commits
3 Commits
c69d7843ab
...
0.9.7
Author | SHA1 | Date | |
---|---|---|---|
557a2cac3d | |||
e16e04c114 | |||
bbe4d82303 |
@ -1,5 +1,7 @@
|
||||
# v0.9.7
|
||||
- Fix margin on bottom of page
|
||||
- Use bar graph instead of line graph
|
||||
- Improve login page autocomplete behavior
|
||||
|
||||
# v0.9.6
|
||||
- Make ammo packs in containers directly navigable in table view
|
||||
|
@ -1,13 +1,12 @@
|
||||
import { Chart, Title, Tooltip, Legend, LineController, LineElement, PointElement, TimeScale, LinearScale } from 'chart.js'
|
||||
import Chart from 'chart.js/auto'
|
||||
import 'chartjs-adapter-date-fns'
|
||||
Chart.register(Title, Tooltip, Legend, LineController, LineElement, PointElement, TimeScale, LinearScale)
|
||||
|
||||
export default {
|
||||
initalizeChart (el) {
|
||||
const data = JSON.parse(el.dataset.chartData)
|
||||
|
||||
this.el.chart = new Chart(el, {
|
||||
type: 'line',
|
||||
type: 'bar',
|
||||
data: {
|
||||
datasets: [{
|
||||
label: el.dataset.label,
|
||||
@ -51,7 +50,8 @@ export default {
|
||||
stacked: true,
|
||||
grace: '15%',
|
||||
ticks: {
|
||||
padding: 15
|
||||
padding: 15,
|
||||
precision: 0
|
||||
}
|
||||
},
|
||||
x: {
|
||||
|
@ -15,10 +15,18 @@
|
||||
</p>
|
||||
|
||||
<%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %>
|
||||
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
|
||||
<%= email_input(f, :email,
|
||||
autocomplete: :email,
|
||||
class: "input input-primary col-span-2",
|
||||
required: true
|
||||
) %>
|
||||
|
||||
<%= label(f, :password, gettext("Password"), class: "title text-lg text-primary-600") %>
|
||||
<%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
|
||||
<%= password_input(f, :password,
|
||||
autocomplete: "current-password",
|
||||
class: "input input-primary col-span-2",
|
||||
required: true
|
||||
) %>
|
||||
|
||||
<%= label(f, :remember_me, gettext("Keep me logged in for 60 days"),
|
||||
class: "title text-lg text-primary-600"
|
||||
|
@ -4,8 +4,7 @@ defmodule CanneryWeb.ErrorHelpers do
|
||||
"""
|
||||
|
||||
use PhoenixHTMLHelpers
|
||||
import Phoenix.HTML.Form
|
||||
import Phoenix.Component
|
||||
import Phoenix.{Component, HTML.Form}
|
||||
alias Ecto.Changeset
|
||||
alias Phoenix.{HTML.Form, LiveView.Rendered}
|
||||
|
||||
|
@ -56,7 +56,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr ""
|
||||
@ -72,7 +72,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
@ -98,7 +98,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
@ -69,7 +69,7 @@ msgstr "Benutzer löschen"
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr "Passwort vergessen?"
|
||||
@ -85,7 +85,7 @@ msgstr "Laden Sie jemanden ein!"
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr "Einloggen"
|
||||
@ -111,7 +111,7 @@ msgstr "Neuer Tag"
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr "Registrieren"
|
||||
|
@ -184,7 +184,7 @@ msgstr "Nur mit Einladung"
|
||||
msgid "Invites"
|
||||
msgstr "Einladungen"
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr "Für 60 Tage eingeloggt bleiben"
|
||||
@ -1135,7 +1135,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -180,7 +180,7 @@ msgstr ""
|
||||
msgid "Invites"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr ""
|
||||
@ -1118,7 +1118,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -56,7 +56,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr ""
|
||||
@ -72,7 +72,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
@ -98,7 +98,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
@ -180,7 +180,7 @@ msgstr ""
|
||||
msgid "Invites"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr ""
|
||||
@ -1118,7 +1118,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -69,7 +69,7 @@ msgstr "Eliminar cuenta de Usuario"
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr "¿Has olvidado tu contraseña?"
|
||||
@ -85,7 +85,7 @@ msgstr "¡Invita a alguien nuevo!"
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr "Entrar"
|
||||
@ -111,7 +111,7 @@ msgstr "Nueva Etiqueta"
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr "Registrarse"
|
||||
|
@ -184,7 +184,7 @@ msgstr "Solo Invitación"
|
||||
msgid "Invites"
|
||||
msgstr "Invitaciones"
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr "Mantener registrado durante 60 días"
|
||||
@ -1137,7 +1137,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -69,7 +69,7 @@ msgstr "Supprimer utilisateur"
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr "Mot de passe oublié ?"
|
||||
@ -85,7 +85,7 @@ msgstr "Invitez une nouvelle personne !"
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr "Se connecter"
|
||||
@ -111,7 +111,7 @@ msgstr "Nouveau tag"
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr "S’enregistrer"
|
||||
|
@ -184,7 +184,7 @@ msgstr "Uniquement sur invitation"
|
||||
msgid "Invites"
|
||||
msgstr "Invitations"
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr "Me garder authentifié durant 60 jours"
|
||||
@ -1138,7 +1138,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -67,7 +67,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr ""
|
||||
@ -83,7 +83,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
@ -109,7 +109,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
@ -182,7 +182,7 @@ msgstr ""
|
||||
msgid "Invites"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr ""
|
||||
@ -1129,7 +1129,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
@ -67,7 +67,7 @@ msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:47
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:46
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Forgot your password?"
|
||||
msgstr ""
|
||||
@ -83,7 +83,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:41
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:3
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:28
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:36
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
@ -109,7 +109,7 @@ msgstr ""
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:37
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/edit.html.heex:38
|
||||
#: lib/cannery_web/controllers/user_reset_password_html/new.html.heex:25
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:35
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:43
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
@ -191,7 +191,7 @@ msgstr ""
|
||||
msgid "Invites"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:23
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Keep me logged in for 60 days"
|
||||
msgstr ""
|
||||
@ -1129,7 +1129,7 @@ msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_html/new.html.heex:24
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:20
|
||||
#: lib/cannery_web/controllers/user_session_html/new.html.heex:24
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user