-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start CCC code * fix api path in main form client * use 0 instead of B for mobile tel input * more consistent routes * forgor to minify files 💀 * handle empty results * another theme 🤯 * swap gruvbox colors * change link colors * fix my button mess * reduce unused css * accent color broken... * please i beg you css * version num
- Loading branch information
Showing
81 changed files
with
1,332 additions
and
1,280 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
async function teamsByEventAll(req, res, db, season) { | ||
const stmt = `SELECT * FROM main WHERE team=? AND event=? AND season=?`; | ||
const values = [req.params.team, req.params.event, season]; | ||
db.all(stmt, values, (err, dbQueryResult) => { | ||
if (err) { | ||
res.status(500).send("" + 0x1f41); | ||
} else { | ||
res.status(200).json(dbQueryResult); | ||
} | ||
}); | ||
} | ||
|
||
module.exports = { teamsByEventAll }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
async function teamsByEvent(req, res, db, season) { | ||
const stmt = `SELECT weight FROM main WHERE team=? AND event=? AND season=?`; | ||
const values = [req.params.team, req.params.event, season]; | ||
db.all(stmt, values, (err, dbQueryResult) => { | ||
if (err) { | ||
res.status(500).send("" + 0x1f41); | ||
} else { | ||
res.status(200).json(dbQueryResult); | ||
} | ||
}); | ||
} | ||
|
||
module.exports = { teamsByEvent }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
async function teamsBySeasonAll(req, res, db, season) { | ||
const stmt = `SELECT * FROM main WHERE team=? AND season=?`; | ||
const values = [req.params.team, season]; | ||
db.all(stmt, values, (err, dbQueryResult) => { | ||
if (err) { | ||
res.status(500).send("" + 0x1f41); | ||
} else { | ||
res.status(200).json(dbQueryResult); | ||
} | ||
}); | ||
} | ||
|
||
module.exports = { teamsBySeasonAll }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
async function teamsBySeason(req, res, db, season) { | ||
const stmt = `SELECT weight FROM main WHERE team=? AND season=?`; | ||
const values = [req.params.team, season]; | ||
db.all(stmt, values, (err, dbQueryResult) => { | ||
if (err) { | ||
res.status(500).send("" + 0x1f41); | ||
} else { | ||
res.status(200).json(dbQueryResult); | ||
} | ||
}); | ||
} | ||
|
||
module.exports = { teamsBySeason }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.