1
0
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:
Adolfo Gómez García 2021-11-08 13:16:44 +01:00
parent 679956702b
commit c5071cf348
4 changed files with 4 additions and 3 deletions

View File

@ -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', ''),

View File

@ -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

View File

@ -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>