Files
.githooks
.github
.vscode
common
games
fixtures
graphql
migrations
static
templates
components
button.html
button_group_button_sm.html
button_group_sm.html
button_start.html
edit_button.html
game_link.html
popover.html
simple_table.html
table.html
table_row.html
table_td.html
partials
registration
add.html
add_edition.html
add_game.html
add_purchase.html
add_session.html
base.html
components.yml
index.html
list_purchases.html
list_sessions.html
navbar.html
stats.html
view_game.html
templatetags
__init__.py
admin.py
apps.py
forms.py
models.py
purchaseviews.py
schema.py
sessionviews.py
tests.py
urls.py
views.py
tests
timetracker
.dockerignore
.drone.yml
.editorconfig
.envrc
.gitignore
.pre-commit-config.yaml
CHANGELOG.md
Caddyfile
Dockerfile
Makefile
README.md
docker-compose.no-caddy.yml
docker-compose.yml
entrypoint.sh
manage.py
package.json
poetry.lock
pyproject.toml
shell.nix
tailwind.config.js
timetracker/games/templates/components/button_start.html

19 lines
837 B
HTML

{% comment %}
title
text
{% endcomment %}
<button type="button"
title="{{ title }}"
autofocus
class="truncate max-w-xs sm:max-w-md lg:max-w-lg py-1 px-2 bg-green-600 hover:bg-green-700 focus:ring-green-500 focus:ring-offset-blue-200 text-white transition ease-in duration-200 text-center text-base font-semibold shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2 rounded-lg">
<svg xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="self-center w-6 h-6 inline">
<path stroke-linecap="round" stroke-linejoin="round" d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z" />
</svg>
{{ text }}
</button>