aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 00:09:58 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-25 00:09:58 +0800
commit79633ab1fbb823ca2f6267e99bb8912ce227d293 (patch)
treeba4544119f1ce725e23ecd8b3ea340ecc466101f /templates/repo
parent8909935a1049dea3783021f0460118ad838b1dfd (diff)
downloadgitea-79633ab1fbb823ca2f6267e99bb8912ce227d293.tar.gz
gitea-79633ab1fbb823ca2f6267e99bb8912ce227d293.zip
file size and file raw style update
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/single_file.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl
index d00bffa956..45586012ba 100644
--- a/templates/repo/single_file.tmpl
+++ b/templates/repo/single_file.tmpl
@@ -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}}