25 lines
916 B
TypeScript
25 lines
916 B
TypeScript
import CombinedGuild from "../guild-combined";
|
|
import BaseElements from "./require/base-elements";
|
|
|
|
export default function createCreateInviteTokenOverlay(document: Document, guild: CombinedGuild): HTMLElement {
|
|
let element = BaseElements.createOverlay(document, { class: 'content submit-dialog', content: [
|
|
{ class: 'role-select category-select', content: [
|
|
{ class: 'label', content: 'Select Starting Roles' },
|
|
{ class: 'categories', content: [
|
|
{ class: 'category suggestion-1', content: '+Gamer' },
|
|
{ class: 'category suggestion-2', content: '+Chodist' },
|
|
{ class: 'category suggestion-3', content: '+Gamer' },
|
|
{ class: 'category more', content: 'More...' },
|
|
] }
|
|
] },
|
|
{ class: 'lower', content: [
|
|
{ class: 'error' },
|
|
{ class: 'buttons', content: [
|
|
{ class: 'button submit', content: 'Create Invite Token' }
|
|
] }
|
|
] }
|
|
] });
|
|
|
|
return element;
|
|
}
|