1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

Web editor: temporarily disable upload and quick fix for edit and new

Try to merge into develop branch ASAP, then continue minor fixes afterwards.
This commit is contained in:
Unknwon
2016-08-15 01:42:20 -07:00
parent 54e0ada9d5
commit 4a19fd6441
9 changed files with 292 additions and 306 deletions

View File

@@ -15,7 +15,7 @@
</div>
{{end}}
{{template "repo/branch_dropdown" .}}
<div class="item fitted">
<div class="fitted item">
<div class="ui breadcrumb">
<a class="section" href="{{.RepoLink}}/src/{{EscapePound .BranchName}}">{{.Repository.Name}}</a>
{{ $n := len .Treenames}}
@@ -32,16 +32,16 @@
</div>
</div>
<div class="right fitted item">
<div id="file-buttons" class="ui buttons nowrap">
<div id="file-buttons" class="ui tiny buttons">
{{if .NewFileLink}}
<a href="{{EscapePound .NewFileLink}}" class="ui button nowrap">
<i class="plus square outline icon"></i> {{.i18n.Tr "repo.new_file"}}
<a href="{{EscapePound .NewFileLink}}" class="ui button">
{{.i18n.Tr "repo.new_file"}}
</a>
{{end}}
{{if .UploadFileLink}}
<a href="{{EscapePound .UploadFileLink}}" class="ui button nowrap">
<!-- <a href="{{EscapePound .UploadFileLink}}" class="ui button nowrap">
<i class="upload icon"></i> {{.i18n.Tr "repo.upload_file"}}
</a>
</a> -->
{{end}}
</div>
{{if eq $n 0}}