mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-25 18:14:50 -05:00
fixed some typos, added support for community icons
This commit is contained in:
@@ -40,7 +40,7 @@ router.post('/new', upload.none(), async function (req, res, next) {
|
||||
community_id: snowflake.nextId(),
|
||||
is_recommended: req.body.is_recommended,
|
||||
name: req.body.name,
|
||||
browser_icon: req.body.browser_icon[0],
|
||||
browser_icon: req.body.browser_icon,
|
||||
browser_header: req.body.browser_header,
|
||||
description: req.body.description,
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@ router.get('/', function (req, res) {
|
||||
' }\n' +
|
||||
'</style>\n' +
|
||||
'<body>\n' +
|
||||
'<h1>Miiverse Temp Admin Pannel</h1>\n' +
|
||||
'<h1>Pretendo Miiverse Demo</h1>\n' +
|
||||
'\n' +
|
||||
'<form action="" id="communitySelection">\n' +
|
||||
'</form>\n' +
|
||||
@@ -87,18 +87,18 @@ router.get('/admin/communities/new', function (req, res) {
|
||||
' <input type="text" id="description" name="description"><br>\n' +
|
||||
' \n' +
|
||||
' <label for="title_ids">USA Title ID:</label><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids"><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids[]"><br>\n' +
|
||||
' \n' +
|
||||
' <label for="title_ids">EUR Title ID:</label><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids"><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids[]"><br>\n' +
|
||||
' \n' +
|
||||
' <label for="title_ids">JPN Title ID:</label><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids"><br>\n' +
|
||||
' <input type="text" id="title_ids" name="title_ids[]"><br>\n' +
|
||||
' \n' +
|
||||
' <label for="icon">System Icon (B64 TGA):</label><br>\n' +
|
||||
' <input type="text" id="icon" name="icon"><br>\n' +
|
||||
' \n' +
|
||||
' <label for="browser_icon">Browser Icon URI:</label><br>\n' +
|
||||
' <label for="browser_icon">Browser Icon URL:</label><br>\n' +
|
||||
' <input type="text" id="browser_icon" name="browser_icon"><br>\n' +
|
||||
' \n' +
|
||||
' Is Recommended?\n' +
|
||||
|
||||
@@ -18,7 +18,7 @@ router.get('/', function (req, res) {
|
||||
'<th>Screen Name</th>' +
|
||||
'<th>Body Text</th>' +
|
||||
'<th>Yeah Count</th>' +
|
||||
'<th">Painting</th>' +
|
||||
'<th>Painting</th>' +
|
||||
'</tr>';
|
||||
for(let i = 0; i < posts.length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user