diff options
author | Sorien <Sorien@users.noreply.github.com> | 2020-05-14 21:15:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 15:15:21 -0400 |
commit | 1982194dc5abe1b400245414bac09f83957b4fe5 (patch) | |
tree | 75cc6ee186a3cf4fc5958055b1f48dcf0bfe5018 /templates/repo/release/new.tmpl | |
parent | a552af8f0d6c2d91bb2a14bdc0ad4ebdefbbe314 (diff) | |
download | gitea-1982194dc5abe1b400245414bac09f83957b4fe5.tar.gz gitea-1982194dc5abe1b400245414bac09f83957b4fe5.zip |
Prettify timeline 3 (#11139)
* Fix timeline comments sections borders
* Fix files dropzone right alignment
* Update review comment form and controls
* Clear segment style from comment form tabs
* Remove segment class from pulls tab
* Fix Time Tracker - Add Time button border
* Fix buttons right alignment
* Markdown tab minimal height
* Fix DropZone hover effect
* Fix Lint + remove unused controls class
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/release/new.tmpl')
-rw-r--r-- | templates/repo/release/new.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index c45c5b20bf..2312a614a2 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -49,8 +49,10 @@ <textarea name="content">{{.content}}</textarea> </div> {{if .IsAttachmentEnabled}} + <div class="field"> <div class="files"></div> - <div class="ui basic button dropzone" id="dropzone" data-upload-url="{{AppSubUrl}}/attachments" data-accepts="{{.AttachmentAllowedTypes}}" data-max-file="{{.AttachmentMaxFiles}}" data-max-size="{{.AttachmentMaxSize}}" data-default-message="{{.i18n.Tr "dropzone.default_message"}}" data-invalid-input-type="{{.i18n.Tr "dropzone.invalid_input_type"}}" data-file-too-big="{{.i18n.Tr "dropzone.file_too_big"}}" data-remove-file="{{.i18n.Tr "dropzone.remove_file"}}"></div> + <div class="ui dropzone" id="dropzone" data-upload-url="{{AppSubUrl}}/attachments" data-accepts="{{.AttachmentAllowedTypes}}" data-max-file="{{.AttachmentMaxFiles}}" data-max-size="{{.AttachmentMaxSize}}" data-default-message="{{.i18n.Tr "dropzone.default_message"}}" data-invalid-input-type="{{.i18n.Tr "dropzone.invalid_input_type"}}" data-file-too-big="{{.i18n.Tr "dropzone.file_too_big"}}" data-remove-file="{{.i18n.Tr "dropzone.remove_file"}}"></div> + </div> {{end}} </div> <div class="ui container"> |