Commit 1006a60b authored by Claes Sjofors's avatar Claes Sjofors

Operator enviroment for HTML5 and java script added

parent 852ae8d7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Trace</title>
<link rel="stylesheet" type="text/css" href="toolbar.css">
</head>
<body>
<div class="toolbar" role="toolbar">
<div id="toolitem1" tabindex="0" class="toolbar-item" role="button"><img src="toolbar_graph.png"><img></div>
<div id="toolitem2" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_navigator.png"><img></div>
<div id="toolitem3" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_history.png"><img></div>
<div id="toolitem4" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_object.png"><img></div>
</div>
<!-- <div style="height:300px;overflow:auto;"> --!>
<canvas id="flowcanvas" width="1200" height="800"></canvas>
<script src=flow.js></script>
<!-- </div> --!>
<hr>
<address><a href="mailto:claes@debian86.ssab.com"></a></address>
<!-- Created: Tue Mar 13 16:22:00 CET 2018 -->
<!-- hhmts start -->
Last modified: Tue May 15 08:59:01 CEST 2018
<!-- hhmts end -->
</body>
</html>
This diff is collapsed.
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
<!DOCTYPE html>
<html>
<head>
<title>Ge graph</title>
<link rel="stylesheet" type="text/css" href="toolbar.css">
</head>
<body>
<!-- <div style="height:300px;overflow:auto;"> -->
<canvas id="flowcanvas" width="1200" height="800"></canvas>
<script src=ge.js></script>
<!-- </div> -->
<hr>
<address><a href="mailto:claes@debian86.ssab.com"></a></address>
</body>
</html>
This diff is collapsed.
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Operator window</title>
<link rel="stylesheet" type="text/css" href="toolbar.css">
<style>
.menu {
float:left;
width:20%;
height:100%;
}
.main {
float:left;
width:79%;
height:100%;
}
</style>
</head>
<body>
<iframe class="menu" src="opwind_menu.html"></iframe>
<iframe class="main" src="xtt_help_index.html"></iframe>
</body>
</html>
This diff is collapsed.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Xtt</title>
<link rel="stylesheet" type="text/css" href="toolbar.css">
</head>
<body>
<div id="opwindmenu" width="120" height="800"></div>
<script src=opwind.js></script>
<hr>
<address><a href="mailto:claes@debian86.ssab.com"></a></address>
</body>
</html>
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
include $(pwre_dir_symbols)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_kroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
.annotate {
color: #366ED4;
font-style: italic;
}
.toolbar {
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;
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;
}
.toolbar-item.selected {
background-color: #ccc;
color: black;
font-weight: bold;
}
.menu-wrapper {
display: inline-block;
font-size: 16px;
}
.menu-button {
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;
}
.leftmenu-button {
width:100%;
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Xtt</title>
<link rel="stylesheet" type="text/css" href="toolbar.css">
</head>
<body>
<div class="toolbar" role="toolbar">
<div id="toolitem1" tabindex="0" class="toolbar-item" role="button"><img src="toolbar_graph.png"><img></div>
<div id="toolitem2" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_plc.png"><img></div>
<div id="toolitem3" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_history.png"><img></div>
<div id="toolitem4" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_object.png"><img></div>
<div id="toolitem5" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_crossref.png"><img></div>
<div id="toolitem6" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_help.png"><img></div>
<div id="toolitem7" tabindex="-1" class="toolbar-item" role="button"><img src="toolbar_classhelp.png"><img></div>
</div>
<!-- <div style="height:300px;overflow:auto;"> -->
<canvas id="flowcanvas" width="1200" height="800"></canvas>
<script src=xtt.js></script>
<!-- </div> -->
<hr>
<address><a href="mailto:claes@debian86.ssab.com"></a></address>
</body>
</html>
This diff is collapsed.
......@@ -246,6 +246,7 @@ copy : \
$(doc_dir)/en_us/man_exlib_index.html \
$(doc_dir)/en_us/man_exlib.pdf \
$(doc_dir)/en_us/man_exlib.ps \
$(web_dir)/pwr_logga.png \
$(mediatargets) $(csstargets) \
$(export_html) $(export_html_en_us) $(export_html_sv_se) \
$(doc_dir)/en_us/changelog.html | silent
......@@ -464,6 +465,10 @@ $(doc_dir)/en_us/changelog.html : $(pwre_croot)/src/changelog.txt \
@ $(co_convert) -e
@ mv $(pwre_croot)/src/doc/man/en_us/changelog.html $(target)
$(web_dir)/pwr_logga.png : $(pwre_sroot)/doc/man/src/pwr_logga.png
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
# implicit rules, docbook-related, added by jonas_h 2006-04-nn
#%.fo :: %.xml
......@@ -494,6 +499,8 @@ $(doc_dir)/% :: $(pwre_sroot)/doc/man/src/%
@ echo "copy $(source)"
@ cp $(source) $(target)
# Rule for creating titlepage xsl templates
#$(pwre_sroot)/doc/man/src/pwrtitlepages.xsl :: $(pwre_sroot)/doc/man/src/pwrtitlepage.spec.xml
# $(xsltproc) -o $(target) $(docbook_stylesheetdir)/template/titlepage.xsl $(source)
......
......@@ -641,7 +641,7 @@ EOF
#
<topic> index
<image> pwr_logga.gif
<image> pwr_logga.png
<h1>Welcome to $pname
<h2>Description
......
......@@ -13,3 +13,7 @@ endif
-include ../../special.mk
-include ../special.mk
-include special.mk
copy : $(web_dir)/pwr_logohalf.png
$(web_dir)/pwr_logohalf.png : ../../pwr_logohalf.png
......@@ -22,6 +22,7 @@ lis_dir := $(module_root)/lis
kit_dir := $(module_root)/kit
src_dir := $(module_root)/src
load_dir := $(module_root)/load
web_dir := $(module_root)/web
doc_dir := $(release_root)/exp/doc
elib_dir := $(release_root)/exp/lib
......
# jsw_generic.mk -- generic makefile for jsw
#
# PROVIEW/R
# Copyright (C) 1996 by Comator Process AB.
#
# To build a library.
#
ifndef jsw_generic_mk
jsw_generic_mk := 1
ifndef variables_mk
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef variables_mk
include $(pwre_kroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef rules_mk
-include $(pwre_kroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef rules_mk
include $(pwre_kroot)/tools/bld/src/$(os_name)/rules.mk
endif
source_dirs = $(hw_source) $(os_source) $(co_source)
-include ../../jsw_local.mk
-include ../jsw_local.mk
-include jsw_local.mk
vpath %.js $(hw_source):$(os_source):$(co_source)
vpath %.html $(hw_source):$(os_source):$(co_source)
vpath %.png $(hw_source):$(os_source):$(co_source)
source_dirs = $(hw_source) $(os_source) $(co_source)
js_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.js) \
), $(notdir $(file)) \
) \
)
html_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.html) \
), $(notdir $(file)) \
) \
)
png_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.png) \
), $(notdir $(file)) \
) \
)
export_js := $(addprefix $(web_dir)/,$(js_sources))
export_html := $(addprefix $(web_dir)/,$(html_sources))
export_png := $(addprefix $(web_dir)/,$(png_sources))
clean_js := $(patsubst %.js,clean_%.js, $(js_sources))
clean_html := $(patsubst %.html,clean_%.html, $(html_sources))
clean_png := $(patsubst %.png,clean_%.png, $(png_sources))
.PHONY : all init copy lib exe clean realclean
all : init copy lib exe | silent
init :
copy : $(export_js) $(export_html) $(export_png) | silent
lib :
exe :
clean : $(clean_js) $(clean_html) $(clean_png)
clean_copy: $(clean)
realclean : $(clean)
silent:
@ :
$(clean_js) : clean_%.js : %.js
@ echo "Removing js: $(web_dir)/$*.js"
@ $(rm) $(rmflags) $(web_dir)/$*.js
$(clean_html) : clean_%.html : %.html
@ echo "Removing html: $(web_dir)/$*.html"
@ $(rm) $(rmflags) $(web_dir)/$*.html
$(clean_png) : clean_%.png : %.png
@ echo "Removing png: $(web_dir)/$*.png"
@ $(rm) $(rmflags) $(web_dir)/$*.png
-include $(source_dependencies)
endif
......@@ -256,6 +256,10 @@ $(exe_dir)/%.pwgc : %.pwgc
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(web_dir)/%.pwgc : %.pwgc
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(bld_dir)/%.png : %.png
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
......@@ -264,6 +268,10 @@ $(exe_dir)/%.png : %.png
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(web_dir)/%.png : %.png
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(exe_dir)/%.html : ../../%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
......@@ -272,6 +280,14 @@ $(doc_dir)/%.html : ../../%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(web_dir)/%.html : ../../%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(web_dir)/%.js : ../../%.js
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(inc_dir)/%.meth : %.meth
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
......
......@@ -1080,6 +1080,9 @@ sub build_module ()
}
}
elsif ( $module eq "java") {
if ( $copy == 1) {
_build("jsw", "*", "src", "all");
}
if ( $lib == 1) {
_build("jpwr", "rt", "src", "all");
_build("jpwr", "jopg", "src", "all");
......@@ -1622,6 +1625,7 @@ sub create_base()
create_dir($newdir . "/doc/sv_se/dsh");
create_dir($newdir . "/doc/en_us/dsh");
create_dir($newdir . "/doc/help");
create_dir($newdir . "/web");
}
sub create_dir()
......
......@@ -79,6 +79,7 @@ set_env()
export pwr_lib="$pwre_broot/$pwre_os/$pwre_hw/$pwre_bmodule/lib"
export pwr_lis="$pwre_broot/$pwre_os/$pwre_hw/$pwre_bmodule/lis"
export pwr_obj="$pwre_broot/$pwre_os/$pwre_hw/$pwre_bmodule/obj"
export pwr_web="$pwre_broot/$pwre_os/$pwre_hw/$pwre_bmodule/web"
# Common doc
export pwr_doc="$pwre_broot/$pwre_os/$pwre_hw/exp/doc"
......@@ -88,6 +89,7 @@ set_env()
export pwr_elib="$pwre_broot/$pwre_os/$pwre_hw/exp/lib"
export pwr_elis="$pwre_broot/$pwre_os/$pwre_hw/exp/lis"
export pwr_eobj="$pwre_broot/$pwre_os/$pwre_hw/exp/obj"
export pwr_eweb="$pwre_broot/$pwre_os/$pwre_hw/exp/web"
export pwr_edoc="$pwre_broot/$pwre_os/$pwre_hw/exp/doc"
export pwrp_load="./"
......
......@@ -70,6 +70,7 @@ else
merge_dir_func $toroot/inc $fromroot/inc
merge_dir_func $toroot/load $fromroot/load
merge_dir_func $toroot/obj $fromroot/obj
merge_dir_func $toroot/web $fromroot/web
# Merge archives
cd ${toroot%/*}/tmp
......
......@@ -69,6 +69,7 @@ html_sources := $(sort \
export_pwg := $(addprefix $(exe_dir)/,$(pwg_c_sources)) $(addprefix $(exe_dir)/,$(pwg_t_sources))
export_pwsg := $(addprefix $(exe_dir)/,$(pwsg_sources))
export_pwgc := $(addprefix $(exe_dir)/,$(pwgc_sources))
export_web_pwgc := $(addprefix $(web_dir)/,$(pwgc_sources))
export_html := $(addprefix $(exe_dir)/,$(html_sources))
clean_pwsg := $(patsubst %.pwg,clean_%.pwsg,$(sources))
clean_pwg := $(patsubst %.pwg,clean_%.pwg,$(sources))
......@@ -76,17 +77,20 @@ clean_pwgc := $(patsubst %.pwgc,clean_%.pwgc,$(sources))
clean_html := $(patsubst %.html,clean_%.html,$(sources))
export_ge := $(export_pwg) $(export_pwsg) $(export_pwgc) $(export_html)
clean_ge := $(clean_pwg) $(clean_pwsg) $(clean_pwgc) $(clean_html)
export_web := $(export_web_pwgc)
clean_web := $(patsubst %.pwgc,clean_%.pwgc,$(sources))
.SUFFIXES:
.PHONY : all init copy lib exe clean realclean \
$(clean_ge)
$(clean_ge) $(clean_web)
all : init copy lib exe | silent
init : silent
copy : $(export_ge)\
$(export_web)\
$(exe_dir)/pwr_css.css \
| silent
......@@ -96,7 +100,7 @@ exe : silent
clean :
realclean : $(clean_ge)
realclean : $(clean_ge) $(clean_web)
silent :
@ :
......@@ -113,6 +117,9 @@ $(clean_pwgc) : clean_%.pwgc : %.pwgc
$(clean_html) : clean_%.html : %.html
@ $(rm) $(rmflags) $(exe_dir)/$*.html
$(clean_web) : clean_%.pwgc : %.pwgc
@ $(rm) $(rmflags) $(web_dir)/$*.pwgc
$(exe_dir)/pwr_css.css : ../../pwr_css.css
@ echo "copy $(source) $(target)"
@ cp $(source) $(target)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment