Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
e84f99f1
Commit
e84f99f1
authored
Mar 27, 2019
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_notebook: Remove highligh.js We don't need syntax highlight anymore
parent
b6a606af
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
164 deletions
+2
-164
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.css
...inTemplateItem/portal_skins/erp5_notebook/default.css.css
+0
-99
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.xml
...inTemplateItem/portal_skins/erp5_notebook/default.css.xml
+0
-28
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.html.html
...tem/portal_skins/erp5_notebook/gadget_jsmd_eval.html.html
+0
-3
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
...ateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
+2
-5
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.js
...inTemplateItem/portal_skins/erp5_notebook/highlight.js.js
+0
-1
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
...nTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
+0
-28
No files found.
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.css
deleted
100644 → 0
View file @
b6a606af
/*
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
*/
.hljs
{
display
:
block
;
overflow-x
:
auto
;
padding
:
0.5em
;
background
:
#F0F0F0
;
}
/* Base color: saturation 0; */
.hljs
,
.hljs-subst
{
color
:
#444
;
}
.hljs-comment
{
color
:
#888888
;
}
.hljs-keyword
,
.hljs-attribute
,
.hljs-selector-tag
,
.hljs-meta-keyword
,
.hljs-doctag
,
.hljs-name
{
font-weight
:
bold
;
}
/* User color: hue: 0 */
.hljs-type
,
.hljs-string
,
.hljs-number
,
.hljs-selector-id
,
.hljs-selector-class
,
.hljs-quote
,
.hljs-template-tag
,
.hljs-deletion
{
color
:
#880000
;
}
.hljs-title
,
.hljs-section
{
color
:
#880000
;
font-weight
:
bold
;
}
.hljs-regexp
,
.hljs-symbol
,
.hljs-variable
,
.hljs-template-variable
,
.hljs-link
,
.hljs-selector-attr
,
.hljs-selector-pseudo
{
color
:
#BC6060
;
}
/* Language color: hue: 90; */
.hljs-literal
{
color
:
#78A960
;
}
.hljs-built_in
,
.hljs-bullet
,
.hljs-code
,
.hljs-addition
{
color
:
#397300
;
}
/* Meta color: hue: 200 */
.hljs-meta
{
color
:
#1f7199
;
}
.hljs-meta-string
{
color
:
#4d99bf
;
}
/* Misc effects */
.hljs-emphasis
{
font-style
:
italic
;
}
.hljs-strong
{
font-weight
:
bold
;
}
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.xml
deleted
100644 → 0
View file @
b6a606af
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
default.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.html.html
View file @
e84f99f1
...
@@ -8,14 +8,11 @@
...
@@ -8,14 +8,11 @@
<meta
name=
"viewport"
content=
"width=device-width"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
JSMD Eval Gadget
</title>
<title>
JSMD Eval Gadget
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"default.css"
/>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"marked.js"
type=
"text/javascript"
></script>
<script
src=
"marked.js"
type=
"text/javascript"
></script>
<script
src=
"pyodide.js"
type=
"text/javascript"
></script>
<script
src=
"pyodide.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_jsmd_eval.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_jsmd_eval.js"
type=
"text/javascript"
></script>
<script
src=
"highlight.js"
type=
"text/javascript"
></script>
<script>
hljs
.
initHighlightingOnLoad
();
</script>
</head>
</head>
...
...
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/gadget_jsmd_eval.js.js
View file @
e84f99f1
...
@@ -278,17 +278,14 @@
...
@@ -278,17 +278,14 @@
result
=
document
.
createElement
(
'
code
'
);
result
=
document
.
createElement
(
'
code
'
);
div
.
style
.
border
=
'
1px solid #C3CCD0
'
;
div
.
style
.
border
=
'
1px solid #C3CCD0
'
;
div
.
style
.
margin
=
'
40px 10px
'
;
div
.
style
.
margin
=
'
40px 10px
'
;
div
.
style
.
paddingLeft
=
'
10px
'
;
result
.
classList
.
add
(
'
shell
'
);
result
.
classList
.
add
(
'
hljs
'
);
hljs
.
highlightBlock
(
result
);
if
(
result_text
!==
'
undefined
'
)
{
if
(
result_text
!==
'
undefined
'
)
{
result
.
innerHTML
=
result_text
;
result
.
innerHTML
=
result_text
;
pre
.
appendChild
(
result
);
pre
.
appendChild
(
result
);
div
.
appendChild
(
pre
);
div
.
appendChild
(
pre
);
document
.
body
.
appendChild
(
div
);
}
}
document
.
body
.
appendChild
(
div
);
}
}
function
executeCell
(
cell
)
{
function
executeCell
(
cell
)
{
...
...
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.js
deleted
100644 → 0
View file @
b6a606af
This diff is collapsed.
Click to expand it.
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
deleted
100644 → 0
View file @
b6a606af
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
highlight.js
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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