2 Commits

Author SHA1 Message Date
08c9cddc78 fix user card confirmation time spacing
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 19:54:52 -05:00
e6285c282b add version tags
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-19 19:38:29 -05:00
3 changed files with 25 additions and 7 deletions

View File

@@ -27,19 +27,35 @@ steps:
- npm install --prefix assets - npm install --prefix assets
- mix test - mix test
- name: build and publish - name: build and publish stable
image: plugins/docker image: plugins/docker
settings: settings:
repo: shibaobun/cannery repo: shibaobun/cannery
tags: latest
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
tags:
- latest
- ${DRONE_TAG}
when: when:
branch: branch:
- stable - stable
- name: build and publish tagged version
image: plugins/docker
settings:
repo: shibaobun/cannery
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_TAG}
when:
event:
- tag
- name: rebuild-cache - name: rebuild-cache
image: drillster/drone-volume-cache image: drillster/drone-volume-cache
volumes: volumes:

View File

@@ -1,8 +1,9 @@
# 0.2.1 # v0.2.1
- Fix checkbox spacing for mobile view - Fix checkbox spacing for mobile view
- Fix spacing with form elements in mobile view - Fix spacing with form elements in mobile view
- Fix user card spacing
# 0.2.0 # v0.2.0
- Add or remove tags from containers list and details page - Add or remove tags from containers list and details page
- Show tags on containers - Show tags on containers
- Add "Cannery" to page titles - Add "Cannery" to page titles
@@ -12,5 +13,5 @@
- Show shot history for an ammo group - Show shot history for an ammo group
- Show ammo round totals and total shot for ammo types - Show ammo round totals and total shot for ammo types
# 0.1.0 # v0.1.0
- Initial release! - Initial release!

View File

@@ -9,7 +9,7 @@ defmodule CanneryWeb.Components.UserCard do
~H""" ~H"""
<div <div
id={"user-#{@user.id}"} id={"user-#{@user.id}"}
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center text-center
border border-gray-400 rounded-lg shadow-lg hover:shadow-md 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"
> >
@@ -21,7 +21,8 @@ defmodule CanneryWeb.Components.UserCard do
<%= if @user.confirmed_at |> is_nil() do %> <%= if @user.confirmed_at |> is_nil() do %>
Email unconfirmed Email unconfirmed
<% else %> <% else %>
User was confirmed at<%= @user.confirmed_at |> display_datetime() %> <p>User was confirmed at</p>
<%= @user.confirmed_at |> display_datetime() %>
<% end %> <% end %>
</h3> </h3>