Skip to content

Commit

Permalink
more layout fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Sep 16, 2024
1 parent 7ed0283 commit 63241ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.7

require (
github.com/Defacto2/archive v1.0.2
github.com/Defacto2/helper v1.1.1
github.com/Defacto2/helper v1.1.2
github.com/Defacto2/magicnumber v1.0.1
github.com/Defacto2/releaser v1.0.4
github.com/caarlos0/env/v11 v11.2.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ github.com/DATA-DOG/go-sqlmock v1.4.1/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/Defacto2/archive v1.0.2 h1:kibNK3ZFoB87XIeDolxQ6uDbdCnBvDNygJtgngE3prM=
github.com/Defacto2/archive v1.0.2/go.mod h1:0/aa1BwDOBp4d87R/N33Lcr3+WzELv041wunK8R5A5c=
github.com/Defacto2/helper v1.1.1 h1:wu8ynKF4ZXruTZNrDumzPVyXxFwhCvtWlsdimPNSXXc=
github.com/Defacto2/helper v1.1.1/go.mod h1:vtHe6R1Pl3YsxsqXe/UZldvNx1n1Y6dM1JUL9Uczr6g=
github.com/Defacto2/helper v1.1.2 h1:HVJnWI9a0nA7vOcfO3BZTSPGNftNS678wf6daMrjbE0=
github.com/Defacto2/helper v1.1.2/go.mod h1:IikMmXvNy3uOcLk4/cEi9mb+xcx8AHPsSmVGd8SKpB0=
github.com/Defacto2/magicnumber v1.0.1 h1:UmiBUrYwTk3NPR1lGaaQ3Js+3YllBRf9XxSKInE3Da4=
github.com/Defacto2/magicnumber v1.0.1/go.mod h1:SIr4UUO0htkx89FNTdUIpuCbuZqW9uYC5spvWl9bBtk=
github.com/Defacto2/releaser v1.0.4 h1:dM7epo3Rk+l2NAH4/dMHzo9QCIC6VejhptlhPUtfg3U=
Expand Down
10 changes: 5 additions & 5 deletions view/app/artifactfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
hx-encoding="multipart/form-data"
hx-post="/editor/upload/file"
hx-target="#artifact-editor-dl-feedback"
{{- if ne $notFound $statSizeB}}hx-confirm="OK, to replace the existing artifact file download on the server?"{{end}}
{{- if ne $notFound $statSizeB}} hx-confirm="OK, to replace the existing artifact file download on the server?"{{end}}
hx-validate="true">
<input type="hidden" name="artifact-editor-record-key" value="{{$key}}">
<input type="hidden" name="artifact-editor-unid" value="{{$unid}}">
Expand Down Expand Up @@ -284,15 +284,15 @@
</div>
</div>
{{- /* Readme UI */}}
{{- /* Be careful about the dynamic HTML elements here,
as they can break the modal rendering, disabling all the Editor UI! */ -}}
<div class="col-12">
<div class="card">
<div class="card-body">
<p class="card-text">
<span class="lead">README</span>
<div class="form-text" id="editor-copy-readme-result"></div>
<div class="row">
{{- /* be careful about the dynamic HTML elements here,
as they can break the modal rendering, disabling all the Editor UI! */ -}}
{{- if eq (len .modAssetExtra) 0}}
<div>No extras in use</div>
{{- else}}
Expand All @@ -309,8 +309,8 @@
hx-target="#editor-copy-readme-result"
hx-patch="/editor/readme/copy/{{$unid}}/{{$modReadmeSuggest | urlEncode }}">
Use guessed README file</button>
<div> &rsaquo; <code>{{$modReadmeSuggest}}</code>
</div>
<br> &nbsp; &rsaquo; <code>{{$modReadmeSuggest}}</code>
</div>
{{- end}}
</div>
</p>
Expand Down

0 comments on commit 63241ea

Please sign in to comment.