Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nodenogg-duplicate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Adam Procter
nodenogg-duplicate
Commits
0ad94e04
Commit
0ad94e04
authored
4 years ago
by
Adam Procter
Browse files
Options
Downloads
Patches
Plain Diff
adding in funky hide icon
added in new hide icon
parent
9d20b212
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/src/components/ModesCardorg.vue
+6
-1
6 additions, 1 deletion
app/src/components/ModesCardorg.vue
app/src/components/SvgButton.vue
+42
-0
42 additions, 0 deletions
app/src/components/SvgButton.vue
with
48 additions
and
1 deletion
app/src/components/ModesCardorg.vue
+
6
−
1
View file @
0ad94e04
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
to quickly format your text and add images from websources, you can
to quickly format your text and add images from websources, you can
even use html and embed codes.
even use html and embed codes.
</p>
</p>
<SvgButton
/>
<div
class=
"btn-row"
>
<div
class=
"btn-row"
>
<BaseButton
buttonClass=
"danger"
@
click=
"hideTips()"
>
Hide
</BaseButton>
<BaseButton
buttonClass=
"danger"
@
click=
"hideTips()"
>
Hide
</BaseButton>
</div>
</div>
...
@@ -120,6 +120,8 @@
...
@@ -120,6 +120,8 @@
import
marked
from
'
marked
'
import
marked
from
'
marked
'
import
{
mapState
}
from
'
vuex
'
import
{
mapState
}
from
'
vuex
'
import
SvgButton
from
'
@/components/SvgButton
'
export
default
{
export
default
{
data
:
function
()
{
data
:
function
()
{
return
{
return
{
...
@@ -144,6 +146,9 @@ export default {
...
@@ -144,6 +146,9 @@ export default {
// this.hidetipsstate = false
// this.hidetipsstate = false
},
},
},
},
components
:
{
SvgButton
,
},
}
}
</
script
>
</
script
>
...
...
This diff is collapsed.
Click to expand it.
app/src/components/SvgButton.vue
0 → 100644
+
42
−
0
View file @
0ad94e04
<
template
>
<div>
<!-- Hide icon ONLY for now -->
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"50"
viewBox=
"0 0 147.899 147.9"
>
<g
transform=
"translate(-1596.55 -847.55)"
>
<g
class=
"a"
transform=
"translate(1613 868)"
>
<circle
class=
"c"
cx=
"55"
cy=
"55"
r=
"55"
/>
<circle
class=
"d"
cx=
"55"
cy=
"55"
r=
"51.5"
/>
</g>
<circle
cx=
"21.5"
cy=
"21.5"
r=
"21.5"
transform=
"translate(1647 901)"
/>
<line
class=
"b"
x1=
"138"
y2=
"138"
transform=
"translate(1601.5 852.5)"
/>
</g>
</svg>
</div>
</
template
>
<
script
>
export
default
{}
</
script
>
<
style
lang=
"css"
scoped
>
.a
{
fill
:
#fff
;
stroke
:
#000
;
stroke-width
:
7px
;
}
.b
,
.d
{
fill
:
none
;
}
.b
{
stroke
:
#2d9cdb
;
stroke-width
:
14px
;
}
.c
{
stroke
:
none
;
}
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment