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
Tatuya Kamada
gitlab-ce
Commits
50b17253
Commit
50b17253
authored
Jan 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'improve/admin' of dev.gitlabhq.com:gitlab/gitlabhq
parents
78698698
c2982c9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
5 deletions
+56
-5
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+1
-0
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+39
-5
app/views/admin/logs/show.html.haml
app/views/admin/logs/show.html.haml
+16
-0
No files found.
app/assets/stylesheets/common.scss
View file @
50b17253
...
@@ -371,6 +371,7 @@ li.note {
...
@@ -371,6 +371,7 @@ li.note {
font-size
:
48px
;
font-size
:
48px
;
padding
:
20px
;
padding
:
20px
;
text-align
:
center
;
text-align
:
center
;
font-weight
:
normal
;
}
}
}
}
}
}
...
...
app/views/admin/dashboard/index.html.haml
View file @
50b17253
...
@@ -25,17 +25,51 @@
...
@@ -25,17 +25,51 @@
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn small"
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn small"
.row
.row
.span
6
.span
4
%h
3
Latest projects
%h
4
Latest projects
%hr
%hr
-
@projects
.
each
do
|
project
|
-
@projects
.
each
do
|
project
|
%p
%p
=
link_to
project
.
name_with_namespace
,
[
:admin
,
project
]
=
link_to
project
.
name_with_namespace
,
[
:admin
,
project
]
.span6
%span
.light.right
%h3
Latest users
=
time_ago_in_words
project
.
created_at
ago
.span4
%h4
Latest users
%hr
%hr
-
@users
.
each
do
|
user
|
-
@users
.
each
do
|
user
|
%p
%p
=
link_to
[
:admin
,
user
]
do
=
link_to
[
:admin
,
user
]
do
=
user
.
name
=
user
.
name
%small
=
user
.
email
%span
.light.right
=
time_ago_in_words
user
.
created_at
ago
.span4
%h4
Stats
%hr
%p
Issues
%span
.light.right
=
Issue
.
count
%p
Merge Requests
%span
.light.right
=
MergeRequest
.
count
%p
Notes
%span
.light.right
=
Note
.
count
%p
Snippets
%span
.light.right
=
Snippet
.
count
%p
SSH Keys
%span
.light.right
=
Key
.
count
%p
Milestones
%span
.light.right
=
Milestone
.
count
app/views/admin/logs/show.html.haml
View file @
50b17253
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
=
link_to
"application.log"
,
"#application"
,
'data-toggle'
=>
'tab'
=
link_to
"application.log"
,
"#application"
,
'data-toggle'
=>
'tab'
%li
%li
=
link_to
"production.log"
,
"#production"
,
'data-toggle'
=>
'tab'
=
link_to
"production.log"
,
"#production"
,
'data-toggle'
=>
'tab'
%li
=
link_to
"sidekiq.log"
,
"#sidekiq"
,
'data-toggle'
=>
'tab'
%p
.light
To prevent perfomance issues admin logs output the last 2000 lines
%p
.light
To prevent perfomance issues admin logs output the last 2000 lines
.tab-content
.tab-content
...
@@ -50,3 +52,17 @@
...
@@ -50,3 +52,17 @@
-
Gitlab
::
Logger
.
read_latest_for
(
'production.log'
).
each
do
|
line
|
-
Gitlab
::
Logger
.
read_latest_for
(
'production.log'
).
each
do
|
line
|
%li
%li
%p
=
line
%p
=
line
.tab-pane
#sidekiq
.file_holder
#README
.file_title
%i
.icon-file
sidekiq.log
.right
=
link_to
'#'
,
class:
'log-bottom'
do
%i
.icon-arrow-down
Scroll down
.file_content.logs
%ol
-
Gitlab
::
Logger
.
read_latest_for
(
'sidekiq.log'
).
each
do
|
line
|
%li
%p
=
line
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