Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
8 years ago
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
9 years ago
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
9 years ago
Andrey Nering
13e71acadf
Render emojis in more places.
9 years ago
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
9 years ago
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Unknwon
942284648e
fix markdown padding
9 years ago
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
9 years ago
Unknwon
1ca257ad9f
rename fields
9 years ago
Vladimir Vissoultchev
2bb1fb8f44
Use EscapePound in link hrefs in diff/file views
10 years ago
Jakub Stasiak
562ad02a6d
Add file permalink button
...
The button appears when a file is viewed in a branch or a tag. It points
to a URL containing the branch's (or tag's) current commit id so that
it'll always point to the same content.
10 years ago
Unknwon
35977cd34c
continue work on #255
10 years ago
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
10 years ago
fuxiaohei
dccc50e9d4
template and ui fix
10 years ago
Unknwon
cfed11f092
Bug: Transfer repository doesn't update the count
10 years ago
Unknwon
5e81383413
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago