Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Pleroma
admin-fe
Merge requests
!11
Add ability to read reports
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add ability to read reports
linafilippova/admin-fe:feature/add-reports
into
master
Overview
0
Commits
67
Pipelines
0
Changes
1
Merged
Angelina Filippova
requested to merge
linafilippova/admin-fe:feature/add-reports
into
master
5 years ago
Overview
0
Commits
67
Pipelines
0
Changes
1
Expand
Closes
#14 (closed)
Edited
5 years ago
by
Angelina Filippova
0
0
Merge request reports
Viewing commit
7ab2e66c
Prev
Next
Show latest version
1 file
+
16
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7ab2e66c
Add ability to close and open new note section
· 7ab2e66c
Angelina Filippova
authored
5 years ago
src/views/reports/components/TimelineItem.vue
+
16
−
3
Options
@@ -16,8 +16,11 @@
</el-card>
</div>
</el-collapse-item>
<div
class=
"new-note"
>
<p>
New note
</p>
<div
v-show=
"showNewNoteInput"
class=
"new-note"
>
<div
class=
"header-container"
>
<p>
New note
</p>
<i
class=
"el-icon-close"
@
click=
"toggleNoteInput"
/>
</div>
<el-input
v-model=
"note"
:rows=
"2"
type=
"textarea"
autofocus
/>
</div>
</el-collapse>
@@ -37,11 +40,13 @@ export default {
data
()
{
return
{
showNotes
:
[],
showNewNoteInput
:
false
,
note
:
''
}
},
methods
:
{
toggleNoteInput
()
{
this
.
$data
.
showNewNoteInput
=
!
this
.
$data
.
showNewNoteInput
}
}
}
@@ -57,6 +62,13 @@ export default {
.el-collapse-item__content
{
padding-bottom
:
7px
;
}
.el-icon-arrow-right
{
margin-right
:
6px
;
}
.el-icon-close
{
padding
:
10px
5px
10px
10px
;
cursor
:
pointer
;
}
h4
{
margin
:
0
;
height
:
17px
;
@@ -67,10 +79,11 @@ export default {
align-items
:
baseline
;
}
.new-note
{
margin
:
14px
0
17px
;
margin
-bottom
:
17px
;
p
{
font-size
:
13px
;
font-weight
:
500
;
height
:
17px
;
margin
:
13px
0
7px
;
}
}
Loading