mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-19 23:24:05 -05:00
added new options to admin community pannel
This commit is contained in:
@@ -34,6 +34,7 @@ router.post('/new', upload.none(), async function (req, res, next) {
|
||||
empathy_count: 0,
|
||||
id: snowflake.nextId(),
|
||||
has_shop_page: req.body.has_shop_page,
|
||||
platform_id: req.body.platform_ID,
|
||||
icon: req.body.icon,
|
||||
title_ids: req.body.title_ids,
|
||||
title_id: req.body.title_ids,
|
||||
|
||||
@@ -113,6 +113,14 @@ router.get('/admin/communities/new', function (req, res) {
|
||||
' <input type="radio" id="noShopPage" name="has_shop_page" value="0">\n' +
|
||||
' <label for="noShopPage">False</label><br>\n' +
|
||||
' \n' +
|
||||
' Platform \n' +
|
||||
' <input type="radio" id="WiiU" name="platform_ID" value="0">\n' +
|
||||
' <label for="platform_ID">Wii U</label>\n' +
|
||||
' <input type="radio" id="3DS" name="platform_ID" value="1">\n' +
|
||||
' <label for="platform_ID">3DS</label>\n' +
|
||||
' <input type="radio" id="Both" name="platform_ID" value="2">\n' +
|
||||
' <label for="platform_ID">Both</label><br>\n' +
|
||||
' \n' +
|
||||
' <input type="submit" value="Submit">\n' +
|
||||
'</form>\n' +
|
||||
'\n' +
|
||||
|
||||
Reference in New Issue
Block a user