Files
2026-10-18 15:42:33 +08:00

92 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<lcui-app>
<ui>
<div class="field-demo field-basic-demo">
<field-set>
<field-legend>Payment Method</field-legend>
<field-description
>All transactions are secure and encrypted</field-description>
<field-group>
<field>
<field-label for="name-on-card">Name on Card</field-label>
<textinput id="name-on-card" placeholder="Evil Rabbit" />
</field>
<field>
<field-label for="card-number">Card Number</field-label>
<textinput id="card-number" placeholder="1234 5678 9012 3456" />
<field-description
>Enter your 16-digit card number</field-description>
</field>
<div class="field-basic-card-row">
<field class="field-basic-card-field">
<field-label for="card-month">Month</field-label>
<select>
<select-trigger id="card-month">
<select-value data-select-placeholder="MM" />
</select-trigger>
<portal>
<select-content>
<select-item value="01">01</select-item>
<select-item value="02">02</select-item>
<select-item value="03">03</select-item>
<select-item value="04">04</select-item>
<select-item value="05">05</select-item>
<select-item value="06">06</select-item>
<select-item value="07">07</select-item>
<select-item value="08">08</select-item>
<select-item value="09">09</select-item>
<select-item value="10">10</select-item>
<select-item value="11">11</select-item>
<select-item value="12">12</select-item>
</select-content>
</portal>
</select>
</field>
<field class="field-basic-card-field">
<field-label for="card-year">Year</field-label>
<select>
<select-trigger id="card-year">
<select-value data-select-placeholder="YYYY" />
</select-trigger>
<portal>
<select-content>
<select-item value="2024">2024</select-item>
<select-item value="2025">2025</select-item>
<select-item value="2026">2026</select-item>
<select-item value="2027">2027</select-item>
<select-item value="2028">2028</select-item>
<select-item value="2029">2029</select-item>
</select-content>
</portal>
</select>
</field>
<field class="field-basic-card-field">
<field-label for="card-cvv">CVV</field-label>
<textinput id="card-cvv" placeholder="123" />
</field>
</div>
</field-group>
</field-set>
<field-separator />
<field-set>
<field-legend>Billing Address</field-legend>
<field-description
>The billing address associated with your payment method</field-description>
<field-group>
<field orientation="horizontal">
<checkbox id="billing-same" />
<field-label
class="font-normal"
for="billing-same"
>Same as shipping address</field-label>
</field>
</field-group>
</field-set>
<field orientation="horizontal">
<button variant="primary">Submit</button>
<button>Cancel</button>
</field>
</div>
</ui>
</lcui-app>