Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cribjs-editor
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
cribjs-editor
Commits
96810d30
Commit
96810d30
authored
Oct 05, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Editor and URL List Page: Updated header to display scope
parent
151b0e6b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
gadget/gadget_cribjs_page_editor.html
gadget/gadget_cribjs_page_editor.html
+1
-1
gadget/gadget_cribjs_page_editor.js
gadget/gadget_cribjs_page_editor.js
+5
-0
gadget/gadget_cribjs_page_url_list.html
gadget/gadget_cribjs_page_url_list.html
+1
-1
gadget/gadget_cribjs_page_url_list.js
gadget/gadget_cribjs_page_url_list.js
+5
-0
No files found.
gadget/gadget_cribjs_page_editor.html
View file @
96810d30
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<body>
<body>
<div
class=
"nav_content editor"
>
<div
class=
"nav_content editor"
>
<div
class=
"container"
>
<div
class=
"container"
>
<h3>
Edit
</h3>
<h3>
Edit
ing:
<a
class=
"url-list-scope"
href=
""
></a>
</h3>
<div
class=
"row"
>
<div
class=
"row"
>
<form
class=
"crib-editor-get form-inline"
>
<form
class=
"crib-editor-get form-inline"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
gadget/gadget_cribjs_page_editor.js
View file @
96810d30
...
@@ -191,7 +191,12 @@
...
@@ -191,7 +191,12 @@
}
}
})
})
.
push
(
function
(
result_list
)
{
.
push
(
function
(
result_list
)
{
var
url_list_scope_link
;
url_list_scope_link
=
gadget
.
props
.
element
.
querySelector
(
"
a.url-list-scope
"
);
gadget
.
props
.
scope
=
result_list
[
1
];
gadget
.
props
.
scope
=
result_list
[
1
];
url_list_scope_link
.
href
=
gadget
.
props
.
scope
;
url_list_scope_link
.
innerHTML
=
gadget
.
props
.
scope
;
return
gadget
.
props
.
start_deferred
.
resolve
();
return
gadget
.
props
.
start_deferred
.
resolve
();
});
});
})
})
...
...
gadget/gadget_cribjs_page_url_list.html
View file @
96810d30
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<body>
<body>
<div
class=
"nav_content url_list container"
>
<div
class=
"nav_content url_list container"
>
<form
class=
"crib-url-list-content"
>
<form
class=
"crib-url-list-content"
>
<h3>
URL List
</h3>
<h3>
Editing:
<a
class=
"url-list-scope"
href=
""
></a>
</h3>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Search:
<label>
Search:
<input
name=
"search-pattern"
class=
"search-pattern form-control"
type=
"text"
size=
"50"
value=
""
>
<input
name=
"search-pattern"
class=
"search-pattern form-control"
type=
"text"
size=
"50"
value=
""
>
...
...
gadget/gadget_cribjs_page_url_list.js
View file @
96810d30
...
@@ -18,8 +18,13 @@
...
@@ -18,8 +18,13 @@
var
data
=
result_list
[
0
],
var
data
=
result_list
[
0
],
promise_list
=
[],
promise_list
=
[],
tmp_url_list
=
[],
tmp_url_list
=
[],
url_list_scope_link
,
url
;
url
;
scope
=
result_list
[
1
];
scope
=
result_list
[
1
];
url_list_scope_link
=
gadget
.
props
.
element
.
querySelector
(
"
a.url-list-scope
"
);
url_list_scope_link
.
href
=
scope
;
url_list_scope_link
.
innerHTML
=
scope
;
if
(
data
.
hasOwnProperty
(
"
urls
"
))
{
if
(
data
.
hasOwnProperty
(
"
urls
"
))
{
tmp_url_list
=
data
.
urls
;
tmp_url_list
=
data
.
urls
;
}
else
{
}
else
{
...
...
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