Remove button that doesn't work anymore

This commit is contained in:
Arjan H
2025-02-02 20:25:38 +01:00
parent dc33d983ff
commit 41ddb87e38
2 changed files with 2 additions and 7 deletions

View File

@@ -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."))

View File

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