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
b3e13726
Commit
b3e13726
authored
4 years ago
by
Adam Procter
Browse files
Options
Downloads
Patches
Plain Diff
put back may help
parent
b37a5611
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/components/ListLayer.vue
+55
-2
55 additions, 2 deletions
app/src/components/ListLayer.vue
with
55 additions
and
2 deletions
app/src/components/ListLayer.vue
+
55
−
2
View file @
b3e13726
...
@@ -12,12 +12,63 @@
...
@@ -12,12 +12,63 @@
<div
v-for=
"(value, index) in emojis"
v-bind:key=
"index"
>
<div
v-for=
"(value, index) in emojis"
v-bind:key=
"index"
>
{{
value
.
emoji_text
}}
{{
value
.
emoji_text
}}
</div>
</div>
// current looper
<div
v-for=
"(value, index) in configPositions"
v-bind:key=
"index"
>
<div
v-if=
"nodeid == value.node_id && deleted == false"
>
<form
class=
"nodes"
>
<div
v-if=
"value.read_mode == false"
>
<div
v-for=
"value in $options.myArray"
v-bind:key=
"value.node_id"
>
<textarea
v-if=
"nodeid == value.node_id"
@
focus=
"editTrue(true)"
@
blur=
"editTrue(false)"
autofocus
v-model=
"value.node_text"
@
input=
"editNode"
:id=
"nodeid"
ref=
"nodetext"
placeholder=
"Type your thoughts and ideas here! (auto saved every keystroke)"
></textarea>
</div>
<p
class=
"info"
>
*markdown supported
&
autosaves
</p>
</div>
<div
class=
"readmode"
v-if=
"value.read_mode && deleted == false"
>
<p
:id=
"nodeid"
:inner-html.prop=
"nodetext | marked"
></p>
</div>
<div
class=
"allemoji"
>
<div
class=
"eachemoji"
v-for=
"(emojis, index) in configEmoji"
:key=
"index"
>
<p
v-if=
"nodeid == emojis.node_id"
>
{{
emojis
.
emoji_text
}}
</p>
</div>
</div>
<div
class=
"btn-row"
>
<SvgButton
buttonClass=
"nodes"
@
click.prevent=
"deleteFlag()"
/>
<div
v-if=
"value.read_mode == true && deleted == false"
>
<SvgButton2
buttonClass=
"nodes"
@
click.prevent=
"readFlag()"
/>
</div>
<div
v-else
>
<SvgButton2
buttonClass=
"nodes"
@
click.prevent=
"readFlag()"
/>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapState
}
from
'
vuex
'
import
{
mapState
}
from
'
vuex
'
import
marked
from
'
marked
'
import
marked
from
'
marked
'
import
SvgButton
from
'
@/components/SvgButton
'
import
SvgButton2
from
'
@/components/SvgButton2
'
var
readmode
var
readmode
export
default
{
export
default
{
...
@@ -81,7 +132,6 @@ export default {
...
@@ -81,7 +132,6 @@ export default {
myArray
:
null
,
myArray
:
null
,
created
()
{
created
()
{
// SEE ABOVE
this
.
$options
.
myArray
=
this
.
myNodes
this
.
$options
.
myArray
=
this
.
myNodes
this
.
readFlag
this
.
readFlag
},
},
...
@@ -127,7 +177,10 @@ export default {
...
@@ -127,7 +177,10 @@ export default {
}
}
},
},
},
},
components
:
{},
components
:
{
SvgButton
,
SvgButton2
,
},
}
}
</
script
>
</
script
>
...
...
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