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
4f1c2386
Commit
4f1c2386
authored
Feb 06, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove_ajax_gif' into 'master'
Remove Ajax Gif
parents
883409b9
fc953eb1
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
44 additions
and
38 deletions
+44
-38
app/assets/images/ajax_loader.gif
app/assets/images/ajax_loader.gif
+0
-0
app/assets/images/ajax_loader_gray.gif
app/assets/images/ajax_loader_gray.gif
+0
-0
app/assets/images/ajax_loader_tree.gif
app/assets/images/ajax_loader_tree.gif
+0
-0
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+3
-5
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+2
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+3
-8
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+6
-0
app/views/dashboard/_activities.html.haml
app/views/dashboard/_activities.html.haml
+2
-1
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+1
-1
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+0
-1
app/views/layouts/_public_head_panel.html.haml
app/views/layouts/_public_head_panel.html.haml
+0
-1
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+4
-1
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+3
-2
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+3
-2
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+3
-2
app/views/projects/merge_requests/show/_mr_accept.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
+2
-2
app/views/projects/merge_requests/show/_mr_ci.html.haml
app/views/projects/merge_requests/show/_mr_ci.html.haml
+1
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+1
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+3
-2
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+1
-1
app/views/projects/tree/_blob_item.html.haml
app/views/projects/tree/_blob_item.html.haml
+1
-3
app/views/projects/tree/_spinner.html.haml
app/views/projects/tree/_spinner.html.haml
+3
-0
app/views/projects/tree/_tree_item.html.haml
app/views/projects/tree/_tree_item.html.haml
+1
-3
No files found.
app/assets/images/ajax_loader.gif
deleted
100644 → 0
View file @
883409b9
7.73 KB
app/assets/images/ajax_loader_gray.gif
deleted
100644 → 0
View file @
883409b9
7.6 KB
app/assets/images/ajax_loader_tree.gif
deleted
100644 → 0
View file @
883409b9
3.09 KB
app/assets/stylesheets/generic/common.scss
View file @
4f1c2386
...
@@ -173,12 +173,10 @@ table a code {
...
@@ -173,12 +173,10 @@ table a code {
.loading
{
.loading
{
margin
:
20px
auto
;
margin
:
20px
auto
;
background
:
url(ajax_loader.gif)
no-repeat
center
center
;
width
:
40px
;
height
:
40px
;
height
:
40px
;
&
.loading-gray
{
color
:
#555
;
background
:
url(ajax_loader_gray.gif)
no-repeat
center
center
;
font-size
:
32px
;
}
text-align
:
center
;
}
}
span
.update-author
{
span
.update-author
{
...
...
app/assets/stylesheets/sections/header.scss
View file @
4f1c2386
...
@@ -196,6 +196,8 @@ header {
...
@@ -196,6 +196,8 @@ header {
.turbolink-spinner
{
.turbolink-spinner
{
color
:
#FFF
;
color
:
#FFF
;
font-size
:
22px
;
margin-right
:
10px
;
}
}
.search
{
.search
{
...
...
app/assets/stylesheets/sections/projects.scss
View file @
4f1c2386
...
@@ -123,14 +123,9 @@
...
@@ -123,14 +123,9 @@
}
}
.save-project-loader
{
.save-project-loader
{
img
{
margin-top
:
50px
;
margin-top
:
50px
;
margin-bottom
:
50px
;
margin-bottom
:
50px
;
}
color
:
#555
;
h3
{
@extend
.page-title
;
}
}
}
ul
.nav.nav-projects-tabs
{
ul
.nav.nav-projects-tabs
{
...
...
app/helpers/application_helper.rb
View file @
4f1c2386
...
@@ -236,4 +236,10 @@ module ApplicationHelper
...
@@ -236,4 +236,10 @@ module ApplicationHelper
def
render_markup
(
file_name
,
file_content
)
def
render_markup
(
file_name
,
file_content
)
GitHub
::
Markup
.
render
(
file_name
,
file_content
).
html_safe
GitHub
::
Markup
.
render
(
file_name
,
file_content
).
html_safe
end
end
def
spinner
(
text
=
nil
)
content_tag
:div
,
class:
'loading hide'
do
content_tag
(
:i
,
nil
,
class:
'icon-spinner icon-spin'
)
+
text
end
end
end
end
app/views/dashboard/_activities.html.haml
View file @
4f1c2386
...
@@ -5,4 +5,5 @@
...
@@ -5,4 +5,5 @@
.content_list
.content_list
-
else
-
else
%p
.nothing_here_message
Projects activity will be displayed here
%p
.nothing_here_message
Projects activity will be displayed here
.loading.hide
=
spinner
app/views/groups/show.html.haml
View file @
4f1c2386
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
.content_list
.content_list
-
else
-
else
%p
.nothing_here_message
Project activity will be displayed here
%p
.nothing_here_message
Project activity will be displayed here
.loading.hide
=
spinner
.side.col-md-4
.side.col-md-4
.light-well.append-bottom-20
.light-well.append-bottom-20
=
image_tag
group_icon
(
@group
.
path
),
class:
"avatar s90"
=
image_tag
group_icon
(
@group
.
path
),
class:
"avatar s90"
...
...
app/views/layouts/_head_panel.html.haml
View file @
4f1c2386
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
%a
%a
%div
.hide.turbolink-spinner
%div
.hide.turbolink-spinner
%i
.icon-refresh.icon-spin
%i
.icon-refresh.icon-spin
Loading...
%li
.hidden-sm.hidden-xs
%li
.hidden-sm.hidden-xs
=
render
"layouts/search"
=
render
"layouts/search"
%li
.visible-sm.visible-xs
%li
.visible-sm.visible-xs
...
...
app/views/layouts/_public_head_panel.html.haml
View file @
4f1c2386
...
@@ -20,4 +20,3 @@
...
@@ -20,4 +20,3 @@
%a
%a
%div
.hide.turbolink-spinner
%div
.hide.turbolink-spinner
%i
.icon-refresh.icon-spin
%i
.icon-refresh.icon-spin
Loading...
app/views/profiles/accounts/show.html.haml
View file @
4f1c2386
...
@@ -50,7 +50,10 @@
...
@@ -50,7 +50,10 @@
%div
%div
=
f
.
text_field
:username
,
required:
true
,
class:
'form-control'
=
f
.
text_field
:username
,
required:
true
,
class:
'form-control'
%span
.loading-gif.hide
=
image_tag
"ajax_loader.gif"
.loading-gif.hide
%p
%i
.icon-spinner.icon-spin
Saving new username
%p
.light
%p
.light
=
user_url
(
@user
)
=
user_url
(
@user
)
%div
%div
...
...
app/views/projects/commits/show.html.haml
View file @
4f1c2386
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
%div
{
id:
dom_id
(
@project
)}
%div
{
id:
dom_id
(
@project
)}
#commits-list
=
render
"commits"
#commits-list
=
render
"commits"
.clear
.clear
.loading
{
style:
"display:none;"
}
=
spinner
-
if
@commits
.
count
==
@limit
-
if
@commits
.
count
==
@limit
:javascript
:javascript
...
...
app/views/projects/edit.html.haml
View file @
4f1c2386
...
@@ -189,6 +189,7 @@
...
@@ -189,6 +189,7 @@
.save-project-loader.hide
.save-project-loader.hide
%center
%center
=
image_tag
"ajax_loader.gif"
%h2
%h3
Saving project.
%i
.icon-spinner.icon-spin
Saving project.
%p
Please wait a moment, this page will automatically refresh when ready.
%p
Please wait a moment, this page will automatically refresh when ready.
app/views/projects/empty.html.haml
View file @
4f1c2386
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
-
if
@project
.
import?
&&
!
@project
.
imported
-
if
@project
.
import?
&&
!
@project
.
imported
.save-project-loader
.save-project-loader
%center
%center
=
image_tag
"ajax_loader.gif"
%h2
%h3
Importing repository.
%i
.icon-spinner.icon-spin
Importing repository.
%p
.monospace
git clone --bare
#{
@project
.
import_url
}
%p
.monospace
git clone --bare
#{
@project
.
import_url
}
%p
Please wait while we import the repository for you. Refresh at will.
%p
Please wait while we import the repository for you. Refresh at will.
:javascript
:javascript
...
...
app/views/projects/graphs/show.html.haml
View file @
4f1c2386
.loading-graph
.loading-graph
%center
%center
.loading
%h3
.page-title
%h3
.page-title
Building repository graph.
%i
.icon-spinner.icon-spin
Building repository graph.
%p
Please wait a moment, this page will automatically refresh when ready.
%p
Please wait a moment, this page will automatically refresh when ready.
.stat-graph
.stat-graph
...
...
app/views/projects/merge_requests/show/_mr_accept.html.haml
View file @
4f1c2386
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
.automerge_widget.unchecked
.automerge_widget.unchecked
.bs-callout.bs-callout-warning
.bs-callout.bs-callout-warning
%strong
%strong
%i
.icon-
refresh
.icon-spin
%i
.icon-
spinner
.icon-spin
Checking for ability to automatically merge…
Checking for ability to automatically merge…
.automerge_widget.already_cannot_be_merged.hide
.automerge_widget.already_cannot_be_merged.hide
...
@@ -64,6 +64,6 @@
...
@@ -64,6 +64,6 @@
.merge-in-progress.hide
.merge-in-progress.hide
.bs-callout.bs-callout-success
.bs-callout.bs-callout-success
%i
.icon-
refresh
.icon-spin
%i
.icon-
spinner
.icon-spin
Merge is in progress. Please wait. Page will be automatically reloaded.
Merge is in progress. Please wait. Page will be automatically reloaded.
app/views/projects/merge_requests/show/_mr_ci.html.haml
View file @
4f1c2386
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
.ci_widget
.ci_widget
.alert.alert-warning
.alert.alert-warning
%strong
%strong
%i
.icon-
refresh
%i
.icon-
spinner
Checking for CI status for
#{
@merge_request
.
last_commit_short_sha
}
Checking for CI status for
#{
@merge_request
.
last_commit_short_sha
}
.ci_widget.ci-error
{
style:
"display:none"
}
.ci_widget.ci-error
{
style:
"display:none"
}
...
...
app/views/projects/network/show.html.haml
View file @
4f1c2386
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.tip
.tip
You can move around the graph by using the arrow keys.
You can move around the graph by using the arrow keys.
.network-graph
.network-graph
.loading.loading-gray
=
spinner
:javascript
:javascript
new
Network
({
new
Network
({
...
...
app/views/projects/new.html.haml
View file @
4f1c2386
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
.save-project-loader.hide
.save-project-loader.hide
%center
%center
=
image_tag
"ajax_loader.gif"
%h2
%h3
Creating project
&
repository.
%i
.icon-spinner.icon-spin
Creating project
&
repository.
%p
Please wait a moment, this page will automatically refresh when ready.
%p
Please wait a moment, this page will automatically refresh when ready.
app/views/projects/show.html.haml
View file @
4f1c2386
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
=
render
"events/event_last_push"
,
event:
@last_push
=
render
"events/event_last_push"
,
event:
@last_push
=
render
'shared/event_filter'
=
render
'shared/event_filter'
.content_list
.content_list
.loading.hide
=
spinner
.col-md-3.project-side.hidden-sm
.col-md-3.project-side.hidden-sm
.clearfix
.clearfix
-
if
@project
.
archived?
-
if
@project
.
archived?
...
...
app/views/projects/tree/_blob_item.html.haml
View file @
4f1c2386
...
@@ -4,7 +4,5 @@
...
@@ -4,7 +4,5 @@
%span
.str-truncated
%span
.str-truncated
=
link_to
blob_item
.
name
,
project_blob_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
blob_item
.
name
))
=
link_to
blob_item
.
name
,
project_blob_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
blob_item
.
name
))
%td
.tree_time_ago.cgray
%td
.tree_time_ago.cgray
%span
.log_loading.hide
=
render
'spinner'
Loading commit data...
=
image_tag
"ajax_loader_tree.gif"
,
width:
14
%td
.tree_commit
{
colspan:
2
}
%td
.tree_commit
{
colspan:
2
}
app/views/projects/tree/_spinner.html.haml
0 → 100644
View file @
4f1c2386
%span
.log_loading.hide
%i
.icon-spinner.icon-spin
Loading commit data...
app/views/projects/tree/_tree_item.html.haml
View file @
4f1c2386
...
@@ -4,7 +4,5 @@
...
@@ -4,7 +4,5 @@
%span
.str-truncated
%span
.str-truncated
=
link_to
tree_item
.
name
,
project_tree_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
tree_item
.
name
))
=
link_to
tree_item
.
name
,
project_tree_path
(
@project
,
tree_join
(
@id
||
@commit
.
id
,
tree_item
.
name
))
%td
.tree_time_ago.cgray
%td
.tree_time_ago.cgray
%span
.log_loading.hide
=
render
'spinner'
Loading commit data...
=
image_tag
"ajax_loader_tree.gif"
,
width:
14
%td
.tree_commit
{
colspan:
2
}
%td
.tree_commit
{
colspan:
2
}
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