select
This commit is contained in:
+75
@@ -875,6 +875,81 @@
|
||||
</div>
|
||||
<!-- /app-shell -->
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════════════
|
||||
BUY CREDITS MODAL
|
||||
════════════════════════════════════════════════════════════════ -->
|
||||
<div id="credits-backdrop" class="modal-backdrop">
|
||||
<div class="modal" style="max-width: 460px">
|
||||
<div class="modal-header">
|
||||
<span class="modal-title">Buy Credits</span>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p class="credits-key-label">
|
||||
Credits will be assigned to key:
|
||||
<span id="credits-key-name"></span>
|
||||
</p>
|
||||
<div class="credits-options">
|
||||
<label class="credits-option">
|
||||
<input
|
||||
type="radio"
|
||||
name="credits-amount"
|
||||
value="5.50"
|
||||
/>
|
||||
<span class="credits-option-label"
|
||||
>€ 5.50</span
|
||||
>
|
||||
</label>
|
||||
<label class="credits-option">
|
||||
<input
|
||||
type="radio"
|
||||
name="credits-amount"
|
||||
value="11.00"
|
||||
/>
|
||||
<span class="credits-option-label"
|
||||
>€ 11.00</span
|
||||
>
|
||||
</label>
|
||||
<label class="credits-option">
|
||||
<input
|
||||
type="radio"
|
||||
name="credits-amount"
|
||||
value="22.00"
|
||||
/>
|
||||
<span class="credits-option-label"
|
||||
>€ 22.00</span
|
||||
>
|
||||
</label>
|
||||
<label class="credits-option">
|
||||
<input
|
||||
type="radio"
|
||||
name="credits-amount"
|
||||
value="55.00"
|
||||
/>
|
||||
<span class="credits-option-label"
|
||||
>€ 55.00</span
|
||||
>
|
||||
</label>
|
||||
</div>
|
||||
<p class="credits-fee-note">
|
||||
A 10% handling fee is added on top of the OpenRouter
|
||||
credits value.
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-ghost" onclick="buyCreditsClose()">
|
||||
Cancel
|
||||
</button>
|
||||
<button
|
||||
id="credits-buy-btn"
|
||||
class="btn btn-primary"
|
||||
onclick="buyCreditsSubmit()"
|
||||
>
|
||||
Buy Credits
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════════════
|
||||
CONFIRM DIALOG
|
||||
════════════════════════════════════════════════════════════════ -->
|
||||
|
||||
Reference in New Issue
Block a user