mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 05:25:36 +07:00
fix(docs): escape vue interpolation in variable list
This commit is contained in:
@@ -8,23 +8,23 @@ Templates use HTML and specialized placeholders to display voucher data.
|
|||||||
|
|
||||||
### Supported Variables
|
### Supported Variables
|
||||||
|
|
||||||
| `{{username}}` | User's login username |
|
| `{{username}}` | User's login username |
|
||||||
| `{{password}}` | User's login password |
|
| `{{password}}` | User's login password |
|
||||||
| `{{server_name}}` | Hotspot server name |
|
| `{{server_name}}` | Hotspot server name |
|
||||||
| `{{dns_name}}` | DNS name for login (e.g., `hotspot.lan`) |
|
| `{{dns_name}}` | DNS name for login (e.g., `hotspot.lan`) |
|
||||||
| `{{profile}}` | User profile/package name |
|
| `{{profile}}` | User profile/package name |
|
||||||
| `{{price}}` | Plan price (formatted) |
|
| `{{price}}` | Plan price (formatted) |
|
||||||
| `{{validity}}` | Validity duration |
|
| `{{validity}}` | Validity duration |
|
||||||
| `{{time_limit}}` | Time limit session |
|
| `{{time_limit}}` | Time limit session |
|
||||||
| `{{data_limit}}` | Data quota limit |
|
| `{{data_limit}}` | Data quota limit |
|
||||||
| `{{ip_address}}` | User's IP address |
|
| `{{ip_address}}` | User's IP address |
|
||||||
| `{{mac_address}}` | User's MAC address |
|
| `{{mac_address}}` | User's MAC address |
|
||||||
| `{{comment}}` | User comment |
|
| `{{comment}}` | User comment |
|
||||||
| `{{copyright}}` | Copyright text |
|
| `{{copyright}}` | Copyright text |
|
||||||
| `{{qrcode}}` | Generates a QR Code for login URL |
|
| `{{qrcode}}` | Generates a QR Code for login URL |
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> The `{{qrcode}}` variable supports custom attributes for styling, for example: `{{qrcode size=100 fg=red}}`.
|
> The `{{qrcode}}` variable supports custom attributes for styling, for example: `{{qrcode size=100 fg=red}}`.
|
||||||
- **Preview**: Test your template instantly from the editor.
|
- **Preview**: Test your template instantly from the editor.
|
||||||
|
|
||||||
## <Icon name="Printer" color="info" /> Quick Print
|
## <Icon name="Printer" color="info" /> Quick Print
|
||||||
|
|||||||
@@ -8,23 +8,23 @@ Template menggunakan HTML dan placeholder khusus untuk menampilkan data voucher.
|
|||||||
|
|
||||||
### Variabel yang Didukung
|
### Variabel yang Didukung
|
||||||
|
|
||||||
| `{{username}}` | Username login pengguna |
|
| `{{username}}` | Username login pengguna |
|
||||||
| `{{password}}` | Password login pengguna |
|
| `{{password}}` | Password login pengguna |
|
||||||
| `{{server_name}}` | Nama server hotspot |
|
| `{{server_name}}` | Nama server hotspot |
|
||||||
| `{{dns_name}}` | Nama DNS untuk login (cth: `hotspot.lan`) |
|
| `{{dns_name}}` | Nama DNS untuk login (cth: `hotspot.lan`) |
|
||||||
| `{{profile}}` | Nama profil/paket pengguna |
|
| `{{profile}}` | Nama profil/paket pengguna |
|
||||||
| `{{price}}` | Harga paket (terformat) |
|
| `{{price}}` | Harga paket (terformat) |
|
||||||
| `{{validity}}` | Durasi masa aktif |
|
| `{{validity}}` | Durasi masa aktif |
|
||||||
| `{{time_limit}}` | Batas waktu sesi |
|
| `{{time_limit}}` | Batas waktu sesi |
|
||||||
| `{{data_limit}}` | Batas kuota data |
|
| `{{data_limit}}` | Batas kuota data |
|
||||||
| `{{ip_address}}` | Alamat IP pengguna |
|
| `{{ip_address}}` | Alamat IP pengguna |
|
||||||
| `{{mac_address}}` | Alamat MAC pengguna |
|
| `{{mac_address}}` | Alamat MAC pengguna |
|
||||||
| `{{comment}}` | Komentar pengguna |
|
| `{{comment}}` | Komentar pengguna |
|
||||||
| `{{copyright}}` | Teks hak cipta |
|
| `{{copyright}}` | Teks hak cipta |
|
||||||
| `{{qrcode}}` | Menghasilkan kode QR untuk URL login |
|
| `{{qrcode}}` | Menghasilkan kode QR untuk URL login |
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> Variabel `{{qrcode}}` mendukung atribut kustom untuk gaya, contohnya: `{{qrcode size=100 fg=red}}`.
|
> Variabel `{{qrcode}}` mendukung atribut kustom untuk gaya, contohnya: `{{qrcode size=100 fg=red}}`.
|
||||||
- **Preview**: Uji template Anda secara instan dari editor.
|
- **Preview**: Uji template Anda secara instan dari editor.
|
||||||
|
|
||||||
## <Icon name="Printer" color="info" /> Cetak Cepat
|
## <Icon name="Printer" color="info" /> Cetak Cepat
|
||||||
|
|||||||
Reference in New Issue
Block a user