Rename old python folder.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<div id="color-chooser">
|
||||
{% for color in [
|
||||
"black", "red", "cyan", "blue", "green",
|
||||
"purple", "yellow", "darkred", "orange",
|
||||
"pink", "lime"] %}
|
||||
<div
|
||||
class="color-choice color-{{color}}"
|
||||
hx-post="/change-color"
|
||||
hx-vals='{"activity_id": "{{activity.activity_id}}", "color": "{{color}}"}'
|
||||
hx-target="body"
|
||||
>
|
||||
{{ color.capitalize() }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<td class="activity-{{hour.activity.code}}">
|
||||
<input
|
||||
id="update-hour-{{hour.hour_id}}"
|
||||
class="update-entry-form"
|
||||
type="text"
|
||||
value="{{hour.activity.code}}"
|
||||
hx-trigger="change"
|
||||
hx-post="/update-entry"
|
||||
>
|
||||
</input>
|
||||
</td>
|
||||
<script language="javascript">
|
||||
document.querySelector("#update-hour-{{hour.hour_id}}").focus()
|
||||
</script>
|
||||
Reference in New Issue
Block a user