Files
Foundry-VTT-Docker/resources/app/templates/setup/parts/user-management-form.hbs

40 lines
1.2 KiB
Handlebars
Raw Permalink Normal View History

2025-01-04 00:34:03 +01:00
<div class="standard-form">
<h2 class="border">{{ localize "USERS.ManageTitle" }}</h2>
<header class="player form-group">
<div>
<label>{{localize "USERS.UserName"}}</label>
</div>
<div>
<label>{{localize "USERS.AccessKey"}}</label>
</div>
<div class="role">
<label>{{localize "USERS.Role"}}</label>
</div>
<div class="controls"></div>
</header>
<ol id="player-list" class="scrollable">
{{#each users as |user idx|}}
{{> (lookup .. 'userTemplate') user=user roles=../roles}}
{{/each}}
</ol>
<footer class="form-footer">
<button type="button" data-action="createUser">
<i class="fas fa-user-plus"></i>
<label>{{ localize "USERS.Create" }}</label>
</button>
{{#if canConfigurePermissions}}
<button type="button" data-action="configurePermissions">
<i class="fas fa-cogs"></i>
<label>{{ localize "PERMISSION.Configure" }}</label>
</button>
{{/if}}
<button type="submit" class="bright">
<i class="fas fa-check"></i>
<label>{{ localize "USERS.Launch" }}</label>
</button>
</footer>
</div>