Skip to content

Commit

Permalink
Remove button that doesn't work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
hakwerk committed Feb 2, 2025
1 parent dc33d98 commit 41ddb87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 2 additions & 4 deletions gui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2404,10 +2404,8 @@ func _helptext(stage string) template.HTML {
"the Root CA from the previous step.</p>\n",
"<p>If you want to <b>generate</b> a certificate, by default the same key type and strength is selected as\n",
"was chosen in the previous step when generating the root, but you may choose a different\n",
"one. By default the common name is the same as the CN for the Root CA, minus the word 'Root'.</p>\n",
"<p>If you are using an offline Root CA certificate then you can download the Certificate Signing\n",
"Request (CSR) here and have it signed by the Root CA. Alternatively we (temporarily) need the\n",
"secret key of the Root CA for generating the issuing certificate.</p>"))
"one (if technically possible). By default the common name is the same as the CN for the Root CA, minus\n",
"the word 'Root'.</p>\n"))
} else if stage == "standalone" {
return template.HTML(fmt.Sprint("<p>Currently only step-ca is supported, using the MySQL database backend.\n",
"Please provide the necessary connectiuon details here."))
Expand Down
3 changes: 0 additions & 3 deletions gui/templates/views/cert.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
<span class="error">{{ . }}</span><br/>
{{ end }}
<input class="btn btn-default" type="submit" value="Generate" name="generate" id="generatebtn">
{{ if and (not .IsRoot) (not .IsRootGenerated) }}
<input class="btn btn-default" type="submit" value="Get CSR" name="getcsr">
{{ end }}
{{ if and (not .IsRoot) .IsFirst }}
<input class="btn btn-danger btn-right" type="submit" value="Revert Root" name="revertroot" id="revertroot">
{{ end }}
Expand Down

0 comments on commit 41ddb87

Please sign in to comment.