Annual general meeting and change of club

At the end of a season three groups of members vote on a human manager.
Below half of the votes he has to take over one of up to seven interested
clubs; the same list lets a manager leave on his own from the manager page.
The meeting is shown as a needle that swings between red and green and
comes to rest on the result.

Engine: assembly_vote, club_offers, change_club; read "assembly", command
manager.clubChange, field assembly of session.advance; saved in
state/modern.json. Dismissals are always on until the options offer them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-17 12:58:36 +01:00
1 parent 811edfa900
commit a2b9770d81
24 files changed
+1016 -7

No files matched your search

+16
View File
@@ -1066,3 +1066,19 @@ body.midnight .cp-map-name,body.matchday .cp-map-name {color:#f0ece2;font-effect
.lp-shape-pitch {display:block;flex:none;width:60dp;height:80dp;}
.lp-shape-name {display:block;font-family:Display;font-weight:normal;font-size:48dp;line-height:54dp;}
.lp-shape-card[disabled] {opacity:0.45;}
.as-vote {display:block;margin:0 0 27dp;}
.as-row {display:flex;align-items:center;gap:22dp;padding:12dp 0;}
.as-name {display:block;flex:none;width:300dp;font-size:31dp;color:var(--p-text);}
.as-track {display:block;flex:1;height:22dp;border-radius:11dp;background-color:var(--p-div);overflow:hidden;}
.as-fill {display:block;height:22dp;border-radius:11dp;background-color:var(--p-s6);}
.as-fill.low {background-color:var(--p-a5);}
.as-value {display:block;flex:none;width:110dp;text-align:right;font-size:31dp;color:var(--p-text);}
.as-result {display:flex;align-items:baseline;justify-content:center;gap:27dp;margin:22dp 0 0;padding:22dp 0 0;border-top:2dp var(--p-div);}
.as-result strong {font-family:Display;font-weight:normal;font-size:58dp;color:var(--p-s6);}
.as-result.low strong {color:var(--p-a5);}
.as-result span {font-size:31dp;color:var(--p-n7);}
body .popup-box p.as-verdict {margin:14dp 0 0;text-align:center;font-size:31dp;}
.as-gauge {display:block;position:relative;width:640dp;height:358dp;margin:0 auto;}
.as-needle {display:block;position:absolute;left:314dp;top:76dp;width:12dp;height:244dp;border-radius:6dp;background-color:var(--p-text);transform-origin:50% 100%;transform:rotate(0deg);}
.as-ends {display:flex;justify-content:space-between;width:640dp;margin:6dp auto 18dp;font-size:27dp;color:var(--p-n7);}
.as-ends span {display:block;}