summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-06 00:23:18 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-06 00:23:18 +0530
commite7f668013548180e9061a5e6d6e34b1f75de462e (patch)
treeb2efe3dfadfcf3aa033d6a2a1bcb7dcaaf2aa2e1 /app
parent31feef4c7aa40446e118f987bc2f09a1d7deac61 (diff)
downloadgitlab-ce-e7f668013548180e9061a5e6d6e34b1f75de462e.tar.gz
CE admin welcome page
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboard/projects/_blank_state_admin_welcome.html.haml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/views/dashboard/projects/_blank_state_admin_welcome.html.haml b/app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
new file mode 100644
index 00000000000..83d103aff0d
--- /dev/null
+++ b/app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
@@ -0,0 +1,33 @@
+.blank-state.clearfix
+ .blank-state-icon.col-md-1.col-md-offset-4
+ = custom_icon("add_new_user", size: 50)
+ .blank-state-body.col-md-3
+ %h3.blank-state-title
+ Add user
+ %p.blank-state-text
+ Add your team members and others to GitLab.
+ = link_to new_admin_user_path, class: "btn btn-new" do
+ New user
+
+.blank-state.clearfix
+ .blank-state-icon.col-md-1.col-md-offset-4
+ = custom_icon("configure_server", size: 50)
+ .blank-state-body.col-md-3
+ %h3.blank-state-title
+ Configure GitLab
+ %p.blank-state-text
+ Make adjustments to how your GitLab instance is set up.
+ = link_to admin_root_path, class: "btn btn-new" do
+ Configure
+
+- if current_user.can_create_group?
+ .blank-state.clearfix
+ .blank-state-icon.col-md-1.col-md-offset-4
+ = custom_icon("add_new_group", size: 50)
+ .blank-state-body.col-md-3
+ %h3.blank-state-title
+ Create a group
+ %p.blank-state-text
+ Groups are a great way to organise projects and people.
+ = link_to new_group_path, class: "btn btn-new" do
+ New group \ No newline at end of file