Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
5ad97ed1
Commit
5ad97ed1
authored
May 03, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JS: Move common functionality to a library file.
parent
0ea10baa
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
428 additions
and
848 deletions
+428
-848
java/jsw/co/src/cli.js
java/jsw/co/src/cli.js
+391
-0
java/jsw/ev/src/ev.html
java/jsw/ev/src/ev.html
+1
-0
java/jsw/ev/src/ev.js
java/jsw/ev/src/ev.js
+0
-28
java/jsw/ge/src/ge.html
java/jsw/ge/src/ge.html
+1
-0
java/jsw/ge/src/ge.js
java/jsw/ge/src/ge.js
+0
-393
java/jsw/xtt/src/toolbar.css
java/jsw/xtt/src/toolbar.css
+34
-34
java/jsw/xtt/src/xtt.html
java/jsw/xtt/src/xtt.html
+1
-0
java/jsw/xtt/src/xtt.js
java/jsw/xtt/src/xtt.js
+0
-393
No files found.
java/jsw/co/src/cli.js
0 → 100644
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
java/jsw/ev/src/ev.html
View file @
5ad97ed1
...
...
@@ -22,6 +22,7 @@
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
ev.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/ev/src/ev.js
View file @
5ad97ed1
"
use strict
"
;
/** Start Cli **/
function
CliTable
(
command
,
qualifier
)
{
this
.
command
=
command
;
this
.
qualifier
=
qualifier
;
}
var
CliC
=
{
SUCCESS
:
1
,
SYNTAX_ERROR
:
2
,
UNKNOWN_COMMAND
:
4
,
QUALNOTFOUND
:
6
,
VERB_VECT_SIZE
:
5
,
STATE_INIT
:
0
,
STATE_VERB
:
1
,
STATE_QUAL
:
2
,
STATE_QUALVALUE
:
3
,
STATE_SPACE
:
4
,
STATE_EQUAL
:
5
,
STATE_ERROR
:
6
,
STATE_QUOTE_VERB
:
7
,
STATE_QUOTE_QUALVALUE
:
8
,
STATE_QUALVALUE_EXACT
:
9
,
STATE_VERB_EXACT
:
10
,
TAB
:
'
'
,
SPACE
:
'
'
};
var
MhC
=
{
eEvent_Ack
:
1
,
eEvent_Block
:
2
,
...
...
java/jsw/ge/src/ge.html
View file @
5ad97ed1
...
...
@@ -8,6 +8,7 @@
<body>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
ge.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/ge/src/ge.js
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
java/jsw/xtt/src/toolbar.css
View file @
5ad97ed1
.annotate
{
color
:
#366ED4
;
font-style
:
italic
;
color
:
#366ED4
;
font-style
:
italic
;
}
.toolbar
{
border-left
:
1px
solid
#aaa
;
margin-top
:
10px
;
margin
:
0
0
0
0
;
font-size
:
0
;
border-left
:
1px
solid
#aaa
;
margin-top
:
10px
;
margin
:
0
0
0
0
;
font-size
:
0
;
}
.toolbar-item
{
display
:
inline-block
;
padding
:
0.0em
0.0em
;
padding
:
0.0em
0.0em
;
background
:
#fff
;
margin
:
0
0
0
0
;
border
:
0px
solid
#aaa
;
border-left
:
none
;
color
:
blue
;
font-size
:
16px
;
line-height
:
1.5em
;
vertical-align
:
top
;
border-left
:
none
;
color
:
blue
;
font-size
:
16px
;
line-height
:
1.5em
;
vertical-align
:
top
;
}
.toolbar-item.selected
{
background-color
:
#ccc
;
color
:
black
;
font-weight
:
bold
;
background-color
:
#ccc
;
color
:
black
;
font-weight
:
bold
;
}
.menu-wrapper
{
display
:
inline-block
;
font-size
:
16px
;
display
:
inline-block
;
font-size
:
16px
;
}
.menu-button
{
padding-right
:
2.5em
;
position
:
relative
;
padding-right
:
2.5em
;
position
:
relative
;
}
.menu-button
::after
{
content
:
" "
;
border-left
:
0.4em
solid
transparent
;
border-right
:
0.4em
solid
transparent
;
border-top
:
0.4em
solid
black
;
position
:
absolute
;
right
:
1em
;
top
:
1.1em
;
content
:
" "
;
border-left
:
0.4em
solid
transparent
;
border-right
:
0.4em
solid
transparent
;
border-top
:
0.4em
solid
black
;
position
:
absolute
;
right
:
1em
;
top
:
1.1em
;
}
.leftmenu-button
{
width
:
100%
;
.leftmenu-button
{
width
:
100%
;
}
.login-frame
{
background-color
:
#ddeeff
;
padding
:
10px
;
display
:
block
;
overflow
:
hidden
;
background-color
:
#ddeeff
;
padding
:
10px
;
display
:
block
;
overflow
:
hidden
;
}
.login-field
{
width
:
100%
;
.login-field
{
width
:
100%
;
}
java/jsw/xtt/src/xtt.html
View file @
5ad97ed1
...
...
@@ -18,6 +18,7 @@
</div>
<canvas
id=
"flowcanvas"
width=
"1200"
height=
"800"
></canvas>
<script
src=
pwr.js
></script>
<script
src=
cli.js
></script>
<script
src=
xtt.js
></script>
<hr>
<address><a
href=
"mailto:claes@debian86.ssab.com"
></a></address>
...
...
java/jsw/xtt/src/xtt.js
View file @
5ad97ed1
This diff is collapsed.
Click to expand it.
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