mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[web] improvement: adding a placeholder to the address field on the installation form
This commit is contained in:
@@ -485,7 +485,8 @@ class WebApplicationManager(SoftwareManager):
|
|||||||
def _ask_install_options(self, app: WebApplication, watcher: ProcessWatcher, pre_validated: bool) -> Tuple[bool, List[str]]:
|
def _ask_install_options(self, app: WebApplication, watcher: ProcessWatcher, pre_validated: bool) -> Tuple[bool, List[str]]:
|
||||||
watcher.change_substatus(self.i18n['web.install.substatus.options'])
|
watcher.change_substatus(self.i18n['web.install.substatus.options'])
|
||||||
|
|
||||||
inp_url = TextInputComponent(label=self.i18n['address'].capitalize() + ' (URL)', capitalize_label=False, value=app.url, read_only=pre_validated)
|
inp_url = TextInputComponent(label=self.i18n['address'].capitalize() + ' (URL)', capitalize_label=False, value=app.url,
|
||||||
|
read_only=pre_validated, placeholder=f"({self.i18n['example.short']}: https://myapp123.com)")
|
||||||
inp_name = TextInputComponent(label=self.i18n['name'], value=app.name)
|
inp_name = TextInputComponent(label=self.i18n['name'], value=app.name)
|
||||||
inp_desc = TextInputComponent(label=self.i18n['description'], value=app.description)
|
inp_desc = TextInputComponent(label=self.i18n['description'], value=app.description)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user