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
iv
gitlab-ce
Commits
a650af12
Commit
a650af12
authored
Apr 12, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved loading icon to match todo loading icon
parent
3cfbd2b1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
16 deletions
+16
-16
app/views/import/base/create.js.haml
app/views/import/base/create.js.haml
+2
-2
app/views/import/bitbucket/status.html.haml
app/views/import/bitbucket/status.html.haml
+3
-3
app/views/import/fogbugz/status.html.haml
app/views/import/fogbugz/status.html.haml
+2
-2
app/views/import/github/status.html.haml
app/views/import/github/status.html.haml
+2
-2
app/views/import/gitlab/status.html.haml
app/views/import/gitlab/status.html.haml
+2
-2
app/views/import/gitorious/status.html.haml
app/views/import/gitorious/status.html.haml
+2
-2
app/views/import/google_code/status.html.haml
app/views/import/google_code/status.html.haml
+3
-3
No files found.
app/views/import/base/create.js.haml
View file @
a650af12
...
...
@@ -20,10 +20,10 @@
job.attr("id", "project_
#{
@project
.
id
}
")
target_field = job.find(".import-target")
target_field.empty()
target_field.append('
<strong>
#{
link_to
@project
.
path_with_namespace
,
namespace_project_path
(
@project
.
namespace
,
@project
)
}
</strong>
')
target_field.append('
#{
link_to
@project
.
path_with_namespace
,
namespace_project_path
(
@project
.
namespace
,
@project
)
}
')
$("table.import-jobs tbody").prepend(job)
job.addClass("active").find(".import-actions").html("<i class='fa fa-spinner fa-spin'></i> started")
-
else
:plain
job = $("tr#repo_
#{
@repo_id
}
")
job.find(".import-actions").html("<i class='fa fa-exclamation-circle'> Error saving project:
#{
escape_javascript
(
@project
.
errors
.
full_messages
.
join
(
','
))
}
</i>")
job.find(".import-actions").html("<i class='fa fa-exclamation-circle'>
</i>
Error saving project:
#{
escape_javascript
(
@project
.
errors
.
full_messages
.
join
(
','
))
}
</i>")
app/views/import/bitbucket/status.html.haml
View file @
a650af12
...
...
@@ -11,12 +11,12 @@
%p
-
if
@incompatible_repos
.
any?
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all compatible projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
else
=
button_tag
class:
"btn btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -54,8 +54,8 @@
=
"
#{
repo
[
"owner"
]
}
/
#{
repo
[
"slug"
]
}
"
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
@incompatible_repos
.
each
do
|
repo
|
%tr
{
id:
"repo_#{repo["
owner
"]}___#{repo["
slug
"]}"
}
%td
...
...
app/views/import/fogbugz/status.html.haml
View file @
a650af12
...
...
@@ -14,8 +14,8 @@
%hr
%p
=
button_tag
class:
'btn btn-import btn-success js-import-all'
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -53,8 +53,8 @@
=
"
#{
current_user
.
username
}
/
#{
repo
.
name
}
"
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
:javascript
new
ImporterStatus
(
"
#{
jobs_import_fogbugz_path
}
"
,
"
#{
import_fogbugz_path
}
"
);
app/views/import/github/status.html.haml
View file @
a650af12
...
...
@@ -9,8 +9,8 @@
%hr
%p
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -48,8 +48,8 @@
=
repo
.
full_name
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
:javascript
new
ImporterStatus
(
"
#{
jobs_import_github_path
}
"
,
"
#{
import_github_path
}
"
);
app/views/import/gitlab/status.html.haml
View file @
a650af12
...
...
@@ -9,8 +9,8 @@
%hr
%p
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -48,8 +48,8 @@
=
repo
[
"path_with_namespace"
]
%td
.import-actions.job-status
=
button_tag
class:
"btn js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
:javascript
new
ImporterStatus
(
"
#{
jobs_import_gitlab_path
}
"
,
"
#{
import_gitlab_path
}
"
);
app/views/import/gitorious/status.html.haml
View file @
a650af12
...
...
@@ -9,8 +9,8 @@
%hr
%p
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -48,8 +48,8 @@
=
repo
.
full_name
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
:javascript
new
ImporterStatus
(
"
#{
jobs_import_gitorious_path
}
"
,
"
#{
import_gitorious_path
}
"
);
app/views/import/google_code/status.html.haml
View file @
a650af12
...
...
@@ -15,12 +15,12 @@
%p
-
if
@incompatible_repos
.
any?
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all compatible projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
else
=
button_tag
class:
"btn btn-import btn-success js-import-all"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import all projects
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
.table-responsive
%table
.table.import-jobs
...
...
@@ -58,8 +58,8 @@
=
"
#{
current_user
.
username
}
/
#{
repo
.
name
}
"
%td
.import-actions.job-status
=
button_tag
class:
"btn btn-import js-add-to-import"
do
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
Import
=
icon
(
'spinner spin'
,
class:
'loading-icon'
)
-
@incompatible_repos
.
each
do
|
repo
|
%tr
{
id:
"repo_#{repo.id}"
}
%td
...
...
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