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
a7a7ae57
Commit
a7a7ae57
authored
Sep 18, 2020
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move tools out of the header into the tool place
parent
059580ec
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
gadget/gadget_cribjs_header.html
gadget/gadget_cribjs_header.html
+0
-2
gadget/gadget_cribjs_header.js
gadget/gadget_cribjs_header.js
+1
-1
gadget/gadget_cribjs_page_tools.html
gadget/gadget_cribjs_page_tools.html
+2
-0
gadget/gadget_cribjs_page_tools.js
gadget/gadget_cribjs_page_tools.js
+2
-1
No files found.
gadget/gadget_cribjs_header.html
View file @
a7a7ae57
...
@@ -53,9 +53,7 @@
...
@@ -53,9 +53,7 @@
<div
class=
"collapse navbar-collapse"
>
<div
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
<li><a
class=
"url_list"
href=
"#page=url_list"
>
Editor
</a></li>
<li><a
class=
"url_list"
href=
"#page=url_list"
>
Editor
</a></li>
<li><a
class=
"save_load"
href=
"#page=save_load"
>
Export/Import
</a></li>
<li><a
class=
"tools"
href=
"#page=tools"
>
Tools
</a></li>
<li><a
class=
"tools"
href=
"#page=tools"
>
Tools
</a></li>
<li><a
class=
"mass_remove"
href=
"#page=mass_remove"
>
Remove
</a></li>
</ul>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><li><a
class=
"rotate loader"
style=
"font-size: xx-large;"
>
🌀
</a></li>
<li><li><a
class=
"rotate loader"
style=
"font-size: xx-large;"
>
🌀
</a></li>
...
...
gadget/gadget_cribjs_header.js
View file @
a7a7ae57
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
})
})
.
declareMethod
(
'
render
'
,
function
(
options
)
{
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
gadget
=
this
,
var
gadget
=
this
,
page_list
=
[
"
cribjs_home
"
,
"
url_list
"
,
"
save_load
"
,
"
tools
"
,
"
mass_remove
"
],
page_list
=
[
"
cribjs_home
"
,
"
url_list
"
,
"
tools
"
],
promise_list
=
[];
promise_list
=
[];
if
(
gadget
.
stats
.
loaded
)
{
if
(
gadget
.
stats
.
loaded
)
{
gadget
.
props
.
element
.
querySelector
(
"
.loader
"
).
style
.
display
=
"
none
"
;
gadget
.
props
.
element
.
querySelector
(
"
.loader
"
).
style
.
display
=
"
none
"
;
...
...
gadget/gadget_cribjs_page_tools.html
View file @
a7a7ae57
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
<li><a
class=
"mass_remove"
href=
"#page=mass_remove"
>
Remove
</a>
uncessary URLs
</li>
<li><a
class=
"mass_remove"
href=
"#page=mass_remove"
>
Remove
</a>
uncessary URLs
</li>
<li><a
class=
"select_site"
href=
"#page=select_site"
>
Select Site to Edit
</a></li>
<li><a
class=
"select_site"
href=
"#page=select_site"
>
Select Site to Edit
</a></li>
<li><a
class=
"grep"
href=
"#page=grep"
>
Grep
</a>
among js and html files
</li>
<li><a
class=
"grep"
href=
"#page=grep"
>
Grep
</a>
among js and html files
</li>
<li><a
class=
"save_load"
href=
"#page=save_load"
>
Import and Export
</a>
Data. You can even share it with WebTorrent.
</li>
<li><a
class=
"crib_loader"
href=
"#page=crib_loader"
>
Load
</a>
your own crib.
</li>
</ul>
</ul>
</div>
</div>
</body>
</body>
...
...
gadget/gadget_cribjs_page_tools.js
View file @
a7a7ae57
...
@@ -22,7 +22,8 @@
...
@@ -22,7 +22,8 @@
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareMethod
(
'
render
'
,
function
(
options
)
{
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
gadget
=
this
,
var
gadget
=
this
,
page_list
=
[
"
select_site
"
,
"
jslint
"
,
"
mass_remove
"
,
"
grep
"
],
page_list
=
[
"
select_site
"
,
"
jslint
"
,
"
mass_remove
"
,
"
grep
"
,
"
save_load
"
,
"
crib_loader
"
],
promise_list
=
[];
promise_list
=
[];
page_list
.
forEach
(
function
(
page
)
{
page_list
.
forEach
(
function
(
page
)
{
...
...
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