Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
6a2384e0
Commit
6a2384e0
authored
Jan 26, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make draft UI for creating new file in empty repository
parent
3e47ea50
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
app/assets/stylesheets/generic/buttons.scss
app/assets/stylesheets/generic/buttons.scss
+5
-0
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+11
-0
No files found.
app/assets/stylesheets/generic/buttons.scss
View file @
6a2384e0
...
...
@@ -173,6 +173,11 @@
margin-right
:
0px
;
}
}
&
.btn-lg
{
font-size
:
15px
;
line-height
:
1
.4
;
}
}
.btn-block
{
...
...
app/views/projects/empty.html.haml
View file @
6a2384e0
...
...
@@ -3,6 +3,17 @@
=
render
"home_panel"
.center.well
%h3
The repository for this project is empty
%p
.lead
You can
=
link_to
'#'
,
class:
'btn btn-new btn-lg'
do
add a file
or push it via command line.
%h4
%strong
Command line instructions
%div
.git-empty
%fieldset
%legend
Git global setup
...
...
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