BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6a2c7d80
Commit
6a2c7d80
authored
Dec 01, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed image preview
parent
42ba6d04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
projects.css.scss
app/assets/stylesheets/projects.css.scss
+2
-0
tree.rb
app/models/tree.rb
+1
-0
tree.js.haml
app/views/refs/tree.js.haml
+2
-2
No files found.
app/assets/stylesheets/projects.css.scss
View file @
6a2c7d80
...
...
@@ -469,3 +469,5 @@ body.project-page table.no-borders td{
padding
:
40px
;
display
:none
;
}
#tree-content-holder
{
float
:left
;
width
:
100%
;
}
app/models/tree.rb
View file @
6a2c7d80
class
Tree
include
Utils
::
FileHelper
attr_accessor
:path
,
:tree
,
:project
,
:ref
delegate
:contents
,
...
...
app/views/refs/tree.js.haml
View file @
6a2c7d80
:plain
$("#tree-
holder table
").hide("slide", { direction: "left" }, 150, function(){
$("#tree-
content-holder
").hide("slide", { direction: "left" }, 150, function(){
$("#tree-holder").html("
#{
escape_javascript
(
render
(
:partial
=>
"tree"
,
:locals
=>
{
:repo
=>
@repo
,
:commit
=>
@commit
,
:tree
=>
@tree
}))
}
");
$("#tree-
holder table
").show("slide", { direction: "right" }, 150);
$("#tree-
content-holder
").show("slide", { direction: "right" }, 150);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment