Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-07-10 21:15:33 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-07-10 21:16:23 +0400
commitd3862c0e5739ed09373fea2f52673c8ca1d3cbe4 (patch)
tree196b44019768b139d8e674b12e0a9ba6c7fcab4f /app/views/snippets/show.html.haml
parentb58326afc6f77ccc43d4f250d7a0b8e1987ae068 (diff)
CSS improvements & refactoring
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r--app/views/snippets/show.html.haml20
1 files changed, 9 insertions, 11 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index c934e262488..b266e4d2156 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -7,16 +7,14 @@
= link_to "Edit", edit_project_snippet_path(@project, @snippet), :class => "btn small right"
%br
-#tree-holder
- #tree-content-holder
- .view_file
- .view_file_header
- %i.icon-file
- %strong= @snippet.file_name
- %span.options
- = link_to "raw", raw_project_snippet_path(@project, @snippet), :class => "btn very_small", :target => "_blank"
- .view_file_content
- %div{:class => current_user.dark_scheme ? "black" : ""}
- = raw @snippet.colorize(options: { linenos: 'True'})
+.file_holder
+ .file_title
+ %i.icon-file
+ %strong= @snippet.file_name
+ %span.options
+ = link_to "raw", raw_project_snippet_path(@project, @snippet), :class => "btn very_small", :target => "_blank"
+ .file_content.code
+ %div{:class => current_user.dark_scheme ? "black" : ""}
+ = raw @snippet.colorize(options: { linenos: 'True'})
= render "notes/notes", :tid => @snippet.id, :tt => "snippet"