fix: import json, style maybe cells, fix Enter key in admin date form
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
78e5c1af0d
commit
86f17295f1
1
app.py
1
app.py
@ -1,3 +1,4 @@
|
|||||||
|
import json
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from flask import Flask, render_template, request, jsonify
|
from flask import Flask, render_template, request, jsonify
|
||||||
from flask_sqlalchemy import SQLAlchemy
|
from flask_sqlalchemy import SQLAlchemy
|
||||||
|
|||||||
@ -462,7 +462,7 @@
|
|||||||
|
|
||||||
// Allow Enter key on start-date and weeks
|
// Allow Enter key on start-date and weeks
|
||||||
document.getElementById('start-date').addEventListener('keydown', e => {
|
document.getElementById('start-date').addEventListener('keydown', e => {
|
||||||
if (e.key === 'Enter') previewDates();
|
if (e.key === 'Enter') createSeason();
|
||||||
});
|
});
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
}
|
}
|
||||||
.yes { background: #948979; font-weight: bold; color: #222831; }
|
.yes { background: #948979; font-weight: bold; color: #222831; }
|
||||||
.no { background: #393E46; color: #948979; font-weight: bold; }
|
.no { background: #393E46; color: #948979; font-weight: bold; }
|
||||||
|
.maybe { background: #4a3a00; font-weight: bold; color: #DFD0B8; }
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
padding: 0.2em;
|
padding: 0.2em;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user