mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-26 23:47:19 +00:00
file size and file raw style update
This commit is contained in:
parent
8909935a10
commit
79633ab1fb
@ -676,6 +676,12 @@ html, body {
|
||||
margin: 0 .5em 0 0;
|
||||
}
|
||||
|
||||
.file-content .file-head .file-size{
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.file-content .file-body {
|
||||
padding: 30px 30px 50px;
|
||||
border: none;
|
||||
|
@ -5,7 +5,7 @@
|
||||
{{.FileName}}
|
||||
{{else}}
|
||||
<i class="icon fa fa-file-text-o"></i>
|
||||
{{.FileName}} {{FileSize .FileSize}}
|
||||
{{.FileName}} <span class="file-size">{{FileSize .FileSize}}</span>
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn btn-default hidden" href="#">Edit</a>
|
||||
<a class="btn btn-default" href="{{.FileLink}}">Raw</a>
|
||||
@ -17,7 +17,7 @@
|
||||
</div>
|
||||
{{if not .FileIsText}}
|
||||
<div class="panel-footer text-center">
|
||||
<a href="{{.FileLink}}" class="btn btn-default">View Raw</a>
|
||||
<a href="{{.FileLink}}" class="btn btn-default btn-lg">View Raw</a>
|
||||
</div>
|
||||
{{else}}
|
||||
{{if .ReadmeExist}}
|
||||
|
Loading…
Reference in New Issue
Block a user