X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Fadmin-ticket-html.js;h=a0475adc09122d0f9f29dd2b5629b5cc6bc612d5;hb=52aff9fa0269a628c115f58f0f62faff3f8fc4a4;hp=37bba69b6bc2f9135aa5891fb86c17b1bc5885d8;hpb=fba42a499fe1af051b0982c1f3e8b3873c9ed2fb;p=squeep-indie-auther diff --git a/src/template/admin-ticket-html.js b/src/template/admin-ticket-html.js index 37bba69..a0475ad 100644 --- a/src/template/admin-ticket-html.js +++ b/src/template/admin-ticket-html.js @@ -16,7 +16,7 @@ function renderScopeCheckboxTR(scope) { const defaultChecked = ['read']; const checked = defaultChecked.includes(scope) ? ' checked' : ''; return ` -\t +\t \t${scope} `; } @@ -27,10 +27,10 @@ function mainContent(ctx) { const elideScopes = ['profile', 'email']; const allScopes = Object.keys(ctx?.profilesScopes?.scopeIndex || {}); const displayScopes = (allScopes).filter((scope) => !elideScopes.includes(scope)); - const scopesCheckboxRows = th.indented(4, displayScopes.map((scope) => renderScopeCheckboxTR(scope))) + const scopesCheckboxRows = th.indented(5, displayScopes.map((scope) => renderScopeCheckboxTR(scope))) .join('\n'); return `
-\t
+\t \t\t
\t\t\tYou may proactively send a ticket to a third-party site, \t\t\twhich they may redeem for an access token which grants additional @@ -53,14 +53,16 @@ ${profileOptions}
Scopes \t\t\t +\t\t\t\t ${scopesCheckboxRows} +\t\t\t\t \t\t\t
\t\t\t
\t\t\t \t\t\t \t\t\t
-\t\t\t +\t\t\t \t\t \t
`;