many styling changes to applets and palettes applet esp.; all applets seeded w. < 3rows bumped to 3 w. new migration in apps.applets; setting palette no longer reloads entire page, only preset background-color vars; two new ITs in apps.dash.tests.ITs.test_views.SetPaletteTest to ensure dash.views functionality fires; unified h2 applet title html structure & styled its text vertically to waste less applet space
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-24 00:26:22 -04:00
parent cc02419e8d
commit 62f6c27806
16 changed files with 147 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
id="id_applet_my_notes"
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
>
<h2><a href="{% url 'my_notes' user.id %}" class="my-notes-main">My notes</a></h2>
<h2><a href="{% url 'my_notes' user.id %}" class="my-notes-main">My Notes</a></h2>
<div class="my-notes-container">
<ul>
{% for note in recent_notes %}

View File

@@ -2,7 +2,7 @@
id="id_applet_new_note"
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
>
<h2>Start a new note</h2>
<h2>New Note</h2>
{% url "new_note" as form_action %}
{% include "apps/dashboard/_partials/_form.html" with form=form form_action=form_action %}
</section>

View File

@@ -3,6 +3,7 @@
class="palette"
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
>
<h2>Palettes</h2>
<div class="palette-scroll">
{% for palette in palettes %}
<div class="palette-item">

View File

@@ -2,6 +2,7 @@
id="id_applet_username"
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
>
<h2>Username</h2>
<form method="POST" action="{% url "set_profile" %}">
{% csrf_token %}
<div class="username-field">

View File

@@ -2,6 +2,6 @@
id="id_applet_wallet"
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
>
<h2><a href="{% url "wallet" %}" class="wallet-manage-link">Manage Wallet</a></h2>
<h2><a href="{% url "wallet" %}" class="wallet-manage-link">My Wallet</a></h2>
<span><i class="fa-solid fa-ticket"></i>: {{ user.wallet.writs }}</span>
</section>

View File

@@ -3,5 +3,6 @@
<script>
window.onload = () => {
initialize("#id_text");
bindPaletteForms();
};
</script>