Files
Foundry-VTT-Docker/resources/app/templates/sheets/macro-config.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2025-01-04 00:34:03 +01:00
<form class="{{cssClass}} flexcol" spellcheck="false" autocomplete="off">
<header class="sheet-header">
<img src="{{data.img}}" data-edit="img" title="{{data.name}}" height="64" width="64"/>
<h1><input name="name" type="text" value="{{data.name}}" placeholder="{{ localize 'Name' }}"/></h1>
</header>
<div class="form-group">
<label>{{ localize "Scope" }}</label>
<select name="scope" disabled>
{{selectOptions macroScopes selected=data.scope}}
</select>
</div>
<div class="form-group">
<label>{{ localize "Type" }}</label>
<select name="type">
{{selectOptions macroTypes selected=data.type}}
</select>
</div>
<div class="form-group stacked command">
<label>{{ localize "Command" }}</label>
<textarea name="command">{{data.command}}</textarea>
</div>
<footer class="sheet-footer flexrow">
<button type="submit"><i class="fas fa-save"></i> {{ localize "MACRO.Save" }}</button>
<button class="execute" type="button"><i class="fas fa-dice-d20"></i> {{ localize "MACRO.Execute" }}</button>
</footer>
</form>