copy key from edit_game.html

This commit is contained in:
nocci 2025-05-25 12:32:57 +02:00
parent 9ad102c020
commit cb01f1ec60
2 changed files with 14 additions and 3 deletions

View file

@ -2090,9 +2090,15 @@ cat <<HTML_END > templates/edit_game.html
{% endfor %}
</select>
</div>
</div>
<div class="col-md-6">
<label class="form-label">{{ _('Steam Key') }} <span class="text-danger">*</span></label>
<input type="text" name="steam_key" class="form-control" value="{{ game.steam_key }}" required>
<div class="input-group">
<input type="text" name="steam_key" class="form-control" value="{{ game.steam_key }}" id="steam-key-input" required>
<button type="button" class="btn btn-outline-secondary copy-btn" data-clipboard-target="#steam-key-input">
{{ _('Copy') }}
</button>
</div>
</div>
<div class="col-md-6">
<label for="game_appid" class="form-label">{{ _('Steam AppID') }}</label>