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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9fd27f5c
Commit
9fd27f5c
authored
Jul 05, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use BS grid column offsets
parent
dce0fa85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
22 deletions
+9
-22
app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
...s/dashboard/projects/_blank_state_admin_welcome.html.haml
+5
-12
app/views/dashboard/projects/_blank_state_welcome.html.haml
app/views/dashboard/projects/_blank_state_welcome.html.haml
+4
-10
No files found.
app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
View file @
9fd27f5c
-# variable = trial license present ? use this ELSE use this
-
state_offset_class
=
current_license
&
.
trial?
?
'col-md-offset-4'
:
'col-md-offset-1'
-
state_edge_class
=
current_license
&
.
trial?
?
'col-md-4'
:
'col-md-1'
-
state_icon_class
=
current_license
&
.
trial?
?
'col-md-1'
:
'col-md-2'
-
state_icon_class
=
current_license
&
.
trial?
?
'col-md-1'
:
'col-md-2'
-
state_body_class
=
current_license
&
.
trial?
?
'col-md-3'
:
'col-md-8'
-
state_body_class
=
current_license
&
.
trial?
?
'col-md-3'
:
'col-md-8'
.blank-state.clearfix
.blank-state.clearfix
%div
{
class:
state_edge_class
}
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.blank-state-icon
{
class:
state_icon_class
}
=
custom_icon
(
"add_new_user"
,
size:
50
)
=
custom_icon
(
"add_new_user"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
{
class:
state_body_class
}
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -14,11 +12,9 @@
...
@@ -14,11 +12,9 @@
Add your team members and others to GitLab.
Add your team members and others to GitLab.
=
link_to
new_admin_user_path
,
class:
"btn btn-new"
do
=
link_to
new_admin_user_path
,
class:
"btn btn-new"
do
New user
New user
%div
{
class:
state_edge_class
}
.blank-state.clearfix
.blank-state.clearfix
%div
{
class:
state_edge_class
}
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.blank-state-icon
{
class:
state_icon_class
}
=
custom_icon
(
"configure_server"
,
size:
50
)
=
custom_icon
(
"configure_server"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
{
class:
state_body_class
}
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -27,12 +23,10 @@
...
@@ -27,12 +23,10 @@
Make adjustments to how your GitLab server is setup.
Make adjustments to how your GitLab server is setup.
=
link_to
admin_root_path
,
class:
"btn btn-new"
do
=
link_to
admin_root_path
,
class:
"btn btn-new"
do
Configure server
Configure server
%div
{
class:
state_edge_class
}
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
.blank-state.clearfix
.blank-state.clearfix
%div
{
class:
state_edge_class
}
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.blank-state-icon
{
class:
state_icon_class
}
=
custom_icon
(
"add_new_group"
,
size:
50
)
=
custom_icon
(
"add_new_group"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
{
class:
state_body_class
}
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -40,5 +34,4 @@
...
@@ -40,5 +34,4 @@
%p
.blank-state-text
%p
.blank-state-text
Groups are a great way to organise projects and people.
Groups are a great way to organise projects and people.
=
link_to
new_group_path
,
class:
"btn btn-new"
do
=
link_to
new_group_path
,
class:
"btn btn-new"
do
New group
New group
%div
{
class:
state_edge_class
}
\ No newline at end of file
\ No newline at end of file
app/views/dashboard/projects/_blank_state_welcome.html.haml
View file @
9fd27f5c
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
.blank-state.clearfix
.blank-state.clearfix
.col-md-3
.col-md-1.col-md-offset-3.blank-state-icon
.col-md-1.blank-state-icon
=
custom_icon
(
"add_new_group"
,
size:
50
)
=
custom_icon
(
"add_new_group"
,
size:
50
)
.col-md-5.blank-state-body
.col-md-5.blank-state-body
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -12,11 +11,9 @@
...
@@ -12,11 +11,9 @@
Groups are the best way to manage projects and members.
Groups are the best way to manage projects and members.
=
link_to
new_group_path
,
class:
"btn btn-new"
do
=
link_to
new_group_path
,
class:
"btn btn-new"
do
New group
New group
.col-md-3
.blank-state.clearfix
.blank-state.clearfix
.col-md-3
.col-md-1.col-md-offset-3.blank-state-icon
.col-md-1.blank-state-icon
=
custom_icon
(
"add_new_project"
,
size:
50
)
=
custom_icon
(
"add_new_project"
,
size:
50
)
.col-md-5.blank-state-body
.col-md-5.blank-state-body
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -33,12 +30,10 @@
...
@@ -33,12 +30,10 @@
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
class:
"btn btn-new"
do
=
link_to
new_project_path
,
class:
"btn btn-new"
do
New project
New project
.col-md-3
-
if
publicish_project_count
>
0
-
if
publicish_project_count
>
0
.blank-state.clearfix
.blank-state.clearfix
.col-md-3
.col-md-1.col-md-offset-3.blank-state-icon
.col-md-1.blank-state-icon
=
custom_icon
(
"globe"
,
size:
50
)
=
custom_icon
(
"globe"
,
size:
50
)
.col-md-5.blank-state-body
.col-md-5.blank-state-body
%h3
.blank-state-title
%h3
.blank-state-title
...
@@ -50,5 +45,4 @@
...
@@ -50,5 +45,4 @@
Public projects are an easy way to allow
Public projects are an easy way to allow
everyone to have read-only access.
everyone to have read-only access.
=
link_to
trending_explore_projects_path
,
class:
"btn btn-new"
do
=
link_to
trending_explore_projects_path
,
class:
"btn btn-new"
do
Browse projects
Browse projects
.col-md-3
\ No newline at end of file
\ No newline at end of file
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