super-schizo + super-nomad Notes: auto-grant to superusers; sig unlock; navbar titles — TDD
- drama/models.py: _NOTE_DISPLAY dict; Note.display_title / .display_greeting
properties; super-schizo → "21st Century" + "Schizoid Man";
super-nomad → "Howdy," + "Stranger"
- billboard/views.py: _NOTE_META super-schizo/nomad entries with mark_safe
HTML descriptions ("card-ref"-styled card names), swatch_label "I"/"0",
no palette_options; swatch_label added to note_items context
- lyric/models.py post_save: new superusers get super-schizo + super-nomad
Notes automatically; setup_sig_session grants them explicitly too
- epic/models.py _filter_major_unlocks: accepts super-nomad / super-schizo
as valid unlocks alongside their plain counterparts
- _navbar.html: display_greeting|safe + display_title replace slug|capfirst
- my_notes.html: note-item__image-box--label branch for swatch_label
- _note.scss: .note-item__image-box--label modifier (bold italic, solid border)
- _base.scss: .ord global ordinal superscript class (21st etc.)
- ITs: SuperuserNoteGrantTest (3); SigSelectRenderingTest +2 (super- variants)
Code architected by Disco DeDisco <discodedisco@outlook.com>
Git commit message Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -557,6 +557,15 @@ body {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
// Ordinal superscript: 21st, 2nd, 3rd etc. — matches .tt-ord but globally available.
|
||||
.ord {
|
||||
font-size: 0.6em;
|
||||
vertical-align: 0.25em;
|
||||
line-height: 0;
|
||||
margin-left: -0.1em;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
#id_guard_portal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -586,4 +595,4 @@ body {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,6 +164,17 @@
|
||||
opacity: 0.6;
|
||||
|
||||
&:hover { opacity: 1; }
|
||||
|
||||
&--label {
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
color: rgba(var(--terUser), 1);
|
||||
opacity: 1;
|
||||
cursor: default;
|
||||
border-style: solid;
|
||||
&:hover { opacity: 1; }
|
||||
}
|
||||
}
|
||||
|
||||
// Confirmed palette swatch — right-side thumbnail, same gradient as .note-swatch-body.
|
||||
|
||||
Reference in New Issue
Block a user