add the select_pool node that shows the current default pool
This commit is contained in:
parent
626538f38e
commit
3e08d19975
3
services/registration/select_pool
Normal file
3
services/registration/select_pool
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Enter number or symbol to set the default pool:
|
||||||
|
Current: {{.get_default_pool}}
|
||||||
|
{{.get_pools}}
|
19
services/registration/select_pool.vis
Normal file
19
services/registration/select_pool.vis
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
CATCH no_voucher flag_no_active_voucher 1
|
||||||
|
LOAD get_pools 0
|
||||||
|
MAP get_pools
|
||||||
|
LOAD get_default_pool 20
|
||||||
|
RELOAD get_default_pool
|
||||||
|
MAP get_default_pool
|
||||||
|
MOUT back 0
|
||||||
|
MOUT quit 99
|
||||||
|
MNEXT next 88
|
||||||
|
MPREV prev 98
|
||||||
|
HALT
|
||||||
|
INCMP > 88
|
||||||
|
INCMP < 98
|
||||||
|
INCMP _ 0
|
||||||
|
INCMP quit 99
|
||||||
|
LOAD view_pool 80
|
||||||
|
RELOAD view_pool
|
||||||
|
CATCH . flag_incorrect_pool 1
|
||||||
|
INCMP view_pool *
|
3
services/registration/select_pool_swa
Normal file
3
services/registration/select_pool_swa
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Chagua nambari au ishara kuweka bwawa la sarafu:
|
||||||
|
La sasa: {{.get_default_pool}}
|
||||||
|
{{.get_pools}}
|
Loading…
Reference in New Issue
Block a user