mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-24 21:34:41 +03:00
Fixed Min-Max admin values checking && set proxmox vmid as readonly
This commit is contained in:
parent
679956702b
commit
c5071cf348
@ -263,7 +263,7 @@ class gui:
|
||||
'label': options.get('label', ''),
|
||||
'defvalue': str(defvalue),
|
||||
'rdonly': options.get(
|
||||
'rdonly', options.get('readOnly', False)
|
||||
'rdonly', options.get('readOnly', options.get('readonly', False))
|
||||
), # This property only affects in "modify" operations
|
||||
'order': options.get('order', 0),
|
||||
'tooltip': options.get('tooltip', ''),
|
||||
|
@ -137,6 +137,7 @@ class ProxmoxProvider(
|
||||
order=91,
|
||||
tooltip=_('Starting machine id on proxmox'),
|
||||
required=True,
|
||||
rdonly=True,
|
||||
tab=gui.ADVANCED_TAB,
|
||||
)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -98,7 +98,7 @@
|
||||
</svg>
|
||||
</div>
|
||||
</uds-root>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1635847312" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1635847312" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1635847312" defer></script><script src="/uds/res/admin/main.js?stamp=1635847312" defer></script>
|
||||
<script src="/uds/res/admin/runtime.js?stamp=1636373652" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1636373652" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1636373652" defer></script><script src="/uds/res/admin/main.js?stamp=1636373652" defer></script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user