Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Maximilian Michal
grady
Merge requests
!192
Resolve "Provide import functionality via frontend for reviewers"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Provide import functionality via frontend for reviewers"
189-provide-import-functionality-via-frontend-for-reviewers
into
master
Overview
0
Commits
4
Pipelines
19
Changes
9
Merged
Dominik Seeger
requested to merge
189-provide-import-functionality-via-frontend-for-reviewers
into
master
5 years ago
Overview
0
Commits
4
Pipelines
19
Changes
9
Expand
Closes
#189 (closed)
Edited
5 years ago
by
robinwilliam.hundt
0
0
Merge request reports
Viewing commit
30880b23
Show latest version
9 files
+
245
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
30880b23
Added frontend part for import ui
· 30880b23
robinwilliam.hundt
authored
5 years ago
frontend/src/components/util/FileSelect.vue
+
1
−
2
Options
@@ -4,7 +4,7 @@
<span
v-if=
"value"
>
Selected:
{{
value
.
name
}}
</span>
<span
v-else
>
{{
displayText
}}
</span>
</div>
<input
type=
"file"
@
change=
"handleFileChange"
/>
<input
id=
"file-input"
type=
"file"
@
change=
"handleFileChange"
/>
</label>
</
template
>
@@ -17,7 +17,6 @@ export default {
default
:
'
Select File
'
}
},
methods
:
{
handleFileChange
(
e
)
{
this
.
$emit
(
'
input
'
,
e
.
target
.
files
[
0
])
Loading