Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
2b894a19
Commit
2b894a19
authored
Apr 29, 2021
by
michael.simon
Browse files
make "from" and "command" field mandatory
parent
acfb7e26
Changes
1
Show whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/webapp/service/set-sshkey.xhtml
View file @
2b894a19
...
@@ -140,12 +140,23 @@
...
@@ -140,12 +140,23 @@
<h:outputText
value=
"#{messages.ssh_pub_key_usage_command_help}"
/>
<h:outputText
value=
"#{messages.ssh_pub_key_usage_command_help}"
/>
</div>
</div>
<p:panelGrid
columns=
"2"
>
<p:panelGrid
columns=
"2"
>
<p:outputLabel
for=
"@next"
value=
"#{messages.command}"
/>
<p:outputLabel
for=
"newCommandInput"
value=
"#{messages.command}"
/>
<p:inputText
value=
"#{setServiceSshPubKeyBean.newCommand}"
/>
<h:panelGroup>
<p:inputText
id=
"newCommandInput"
size=
"50"
value=
"#{setServiceSshPubKeyBean.newCommand}"
required=
"true"
>
<f:ajax
event=
"blur"
execute=
"@this"
render=
"newCommandInput-message"
/>
</p:inputText>
<p:message
id=
"newCommandInput-message"
for=
"newCommandInput"
/>
</h:panelGroup>
<p:outputLabel
for=
"@next"
value=
"#{messages.ssh_pub_key_from}"
/>
<p:outputLabel
for=
"newFromInput"
value=
"#{messages.ssh_pub_key_from}"
/>
<p:inputText
value=
"#{setServiceSshPubKeyBean.newFrom}"
/>
<h:panelGroup>
<p:inputText
id=
"newFromInput"
size=
"50"
value=
"#{setServiceSshPubKeyBean.newFrom}"
required=
"true"
>
<f:ajax
event=
"blur"
execute=
"@this"
render=
"newFromInput-message"
/>
</p:inputText>
<p:message
id=
"newFromInput-message"
for=
"newFromInput"
/>
</h:panelGroup>
</p:panelGrid>
</p:panelGrid>
<h:outputText
value=
"* #{messages.required}"
/>
</h:panelGroup>
</h:panelGroup>
</p:panel>
</p:panel>
...
...
michael.simon
@simon
mentioned in issue
#103 (closed)
·
May 04, 2021
mentioned in issue
#103 (closed)
mentioned in issue #103
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment