Refactored theme css, added Modern theme pre version

This commit is contained in:
randx 2012-06-11 20:52:32 +03:00
parent a6dad85d2f
commit 04bf40a923
10 changed files with 172 additions and 11 deletions

View file

@ -21,8 +21,7 @@
= preserve do
= raw file.colorize(options: { linenos: 'True'})
- else
%h3
%center Empty file
%h4.nothing_here_message Empty file
- elsif file.image?
.view_file_content_image
%img{ :src => "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}