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
85f1e96d
Commit
85f1e96d
authored
Jul 12, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove BS grid classes
parent
bdeebb00
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
29 deletions
+27
-29
app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
...s/dashboard/projects/_blank_state_admin_welcome.html.haml
+9
-13
app/views/dashboard/projects/_blank_state_ee_trial.html.haml
app/views/dashboard/projects/_blank_state_ee_trial.html.haml
+1
-1
app/views/dashboard/projects/_blank_state_welcome.html.haml
app/views/dashboard/projects/_blank_state_welcome.html.haml
+9
-9
app/views/dashboard/projects/_zero_authorized_projects.html.haml
...ws/dashboard/projects/_zero_authorized_projects.html.haml
+8
-6
No files found.
app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
View file @
85f1e96d
-
state_offset_class
=
current_license
&
.
trial?
?
'col-md-offset-3'
:
'col-md-offset-1'
-
state_icon_class
=
current_license
&
.
trial?
?
'col-md-1'
:
'col-md-2'
-
state_body_class
=
current_license
&
.
trial?
?
'col-md-5'
:
'col-md-8'
.row.blank-state.clearfix
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.blank-state
.blank-state-icon
=
custom_icon
(
"add_new_user"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
%h3
.blank-state-title
Add user
%p
.blank-state-text
...
...
@@ -13,10 +9,10 @@
=
link_to
new_admin_user_path
,
class:
"btn btn-new"
do
New user
.
row.blank-state.clearfix
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.
blank-state
.blank-state-icon
=
custom_icon
(
"configure_server"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
%h3
.blank-state-title
Configure GitLab
%p
.blank-state-text
...
...
@@ -25,10 +21,10 @@
Configure
-
if
current_user
.
can_create_group?
.
row.blank-state.clearfix
.blank-state-icon
{
class:
"#{state_icon_class} #{state_offset_class}"
}
.
blank-state
.blank-state-icon
=
custom_icon
(
"add_new_group"
,
size:
50
)
.blank-state-body
{
class:
state_body_class
}
.blank-state-body
%h3
.blank-state-title
Create a group
%p
.blank-state-text
...
...
app/views/dashboard/projects/_blank_state_ee_trial.html.haml
View file @
85f1e96d
.blank-state
.ee-trial.clearfix
.blank-state
.blank-state-icon
=
custom_icon
(
"ee_trial"
,
size:
50
)
.blank-state-body
...
...
app/views/dashboard/projects/_blank_state_welcome.html.haml
View file @
85f1e96d
-
public_project_count
=
ProjectsFinder
.
new
(
current_user:
current_user
).
execute
.
count
-
if
current_user
.
can_create_group?
.blank-state
.clearfix
.
col-md-1.col-md-offset-3.
blank-state-icon
.blank-state
.blank-state-icon
=
custom_icon
(
"add_new_group"
,
size:
50
)
.
col-md-5.
blank-state-body
.blank-state-body
%h3
.blank-state-title
Create a group for several dependent projects.
%p
.blank-state-text
...
...
@@ -12,10 +12,10 @@
=
link_to
new_group_path
,
class:
"btn btn-new"
do
New group
.blank-state
.clearfix
.
col-md-1.col-md-offset-3.
blank-state-icon
.blank-state
.blank-state-icon
=
custom_icon
(
"add_new_project"
,
size:
50
)
.
col-md-5.
blank-state-body
.blank-state-body
%h3
.blank-state-title
Create a project
%p
.blank-state-text
...
...
@@ -32,10 +32,10 @@
New project
-
if
public_project_count
>
0
.blank-state
.clearfix
.
col-md-1.col-md-offset-3.
blank-state-icon
.blank-state
.blank-state-icon
=
custom_icon
(
"globe"
,
size:
50
)
.
col-md-5.
blank-state-body
.blank-state-body
%h3
.blank-state-title
Explore public projects
%p
.blank-state-text
...
...
app/views/dashboard/projects/_zero_authorized_projects.html.haml
View file @
85f1e96d
.row.blank-state-parent-container
.col-md-6.section-container
.container.section-body.section-welcome
{
class:
"#{ 'section-admin-welcome' if current_user.admin? }"
}
-
admin_without_ee_license
=
!
current_license
&&
current_user
.
admin?
.row.blank-state-parent-container
{
class:
"#{ 'has-start-trial-container' if admin_without_ee_license }"
}
.section-container.section-welcome
{
class:
"#{ 'col-md-6' if admin_without_ee_license }"
}
.container.section-body
.blank-state.blank-state-welcome
%h2
.blank-state-welcome-title
Welcome to GitLab
...
...
@@ -10,7 +12,7 @@
=
render
"blank_state_admin_welcome"
-
else
=
render
"blank_state_welcome"
-
if
!
current_license
&&
current_user
.
admin?
.col-md-6.section-container
.container.section-body
.section-ee-trial
-
if
admin_without_ee_license
.col-md-6.section-container
.section-ee-trial
.container.section-body
=
render
"blank_state_ee_trial"
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