diff --git a/xcpq/buildtime/xcpq_editor/cmd/server/httpServer.go b/xcpq/buildtime/xcpq_editor/cmd/server/httpServer.go index c4d8d4675..fe86d40b8 100644 --- a/xcpq/buildtime/xcpq_editor/cmd/server/httpServer.go +++ b/xcpq/buildtime/xcpq_editor/cmd/server/httpServer.go @@ -30,7 +30,7 @@ func InitHttpServer(config *viper.Viper, dbHandler *sql.DB) HttpServer { // static content router.Static("/static", "../static") - router.StaticFile("/", "./static/index.html") + router.StaticFile("/", "../static/index.html") router.GET("/test", Test) diff --git a/xcpq/buildtime/xcpq_editor/static/css/Aimara.css b/xcpq/buildtime/xcpq_editor/static/css/Aimara.css deleted file mode 100644 index 81a6967b5..000000000 --- a/xcpq/buildtime/xcpq_editor/static/css/Aimara.css +++ /dev/null @@ -1,175 +0,0 @@ -ul.tree, ul.tree ul { - list-style-type: none; - background: url(vline.png) repeat-y; - margin: 0; - padding: 0; - padding-left: 7px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - cursor: default; -} - -li.last { - background-image: 'url("css/lastnode.png")'; - background-repeat: no-repeat; -} - -ul.tree ul { - padding-left: 7px; -} - -ul.tree li { - margin: 0; - padding: 0 12px; - line-height: 22px; - background: url(node.png) no-repeat; -} - -ul.tree li.last { - background: #fff url(lastnode.png) no-repeat; -} - -img.exp_col { - position: absolute; - margin-top: 4px; - margin-left: -20px; - vertical-align: sub; -} - -img.exp_col_empty { - position: absolute; - margin-top: 4px; - margin-left: -20px; - vertical-align: sub; - width: 16px; -} - -img.icon_tree { - vertical-align: middle; - padding-left: 3px; - margin-top: -3px; -} - -a.node { - padding: 2px; -} - -span.node a { - padding-left: 3px; -} - -span.node { - margin-left: -1px; - padding-right: 3px; - - padding-top: 4px; - padding-bottom: 4px; -} - -span.node:hover { - margin-left: -1px; - padding-right: 3px; - padding-top: 4px; - padding-bottom: 4px; - background-color: #DCEDFF; - border-radius: 2px; -} - -span.node_selected { - margin-left: -2px; - padding-right: 3px; - - padding-top: 4px; - padding-bottom: 4px; - background-color: #CEFFCE; - border: 1px solid #8AE88A; - border-radius: 2px; -} - -span.node_selected a { - padding-left: 3px; -} - -.menu,.sub-menu { - margin: 0; - padding: 0; - font: 10px Verdana, sans-serif; -} - -.menu, -.sub-menu { - list-style: none; - background: #000; -} -.sub-menu { - background: #F1F1F1; -} -.menu a { - text-decoration: none; - display: inline-block; - padding: 8px; -} - -.menu span { - position: absolute; - width: 100%; - height: 100%; -} - -.menu div { - position: absolute; - right: 4px; - top: 0px; - padding: 8px; -} - -.menu .menu_img { - vertical-align: middle; -} - -.menu img { - text-decoration: none; - display: inline-block; - vertical-align: sub; - padding-left: 5px; -} -.menu li { - position: relative; -} - -.menu li:hover { - background: aquamarine; - cursor: pointer; -} - -.sub-menu li:hover { - background: aquamarine; -} -.menu li:hover > .sub-menu { - display: block; -} - -.menu { - width: 150px; - position: absolute; - background: #F1F1F1; - -webkit-user-select: none; /* Chrome/Safari */ - -moz-user-select: none; /* Firefox */ - -ms-user-select: none; /* IE10+ */ - cursor: default; - box-shadow: 2px 2px 3px #BDBDBD; -} - - -.sub-menu { - display: none; - position: absolute; - min-width: 150px; - box-shadow: 2px 2px 3px #BDBDBD; -} - -.menu .sub-menu { - top: 0; - left: 100%; -} diff --git a/xcpq/buildtime/xcpq_editor/static/css/Example.css b/xcpq/buildtime/xcpq_editor/static/css/Example.css deleted file mode 100644 index 4911dde8b..000000000 --- a/xcpq/buildtime/xcpq_editor/static/css/Example.css +++ /dev/null @@ -1,21 +0,0 @@ -body { - font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans; -} - -#div_tree { - font: 10px Verdana, sans-serif; - display: inline-block; - width: 300px; -} - -#div_log { - width: 400px; - height: 400px; - overflow: scroll; - padding:10px; - vertical-align: top; - display: inline-block; - border: 1px solid gray; - font: 10px Verdana, sans-serif; - line-height: 16px; -} diff --git a/xcpq/buildtime/xcpq_editor/static/css/lastnode.png b/xcpq/buildtime/xcpq_editor/static/css/lastnode.png deleted file mode 100644 index aaf265902..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/css/lastnode.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/css/node.png b/xcpq/buildtime/xcpq_editor/static/css/node.png deleted file mode 100644 index 6cc35a584..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/css/node.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/css/vline.png b/xcpq/buildtime/xcpq_editor/static/css/vline.png deleted file mode 100644 index fb0509552..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/css/vline.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/.ignore b/xcpq/buildtime/xcpq_editor/static/images/.ignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/xcpq/buildtime/xcpq_editor/static/images/SimplyCPQ_Logo.svg b/xcpq/buildtime/xcpq_editor/static/images/SimplyCPQ_Logo.svg new file mode 100644 index 000000000..3088fe1da --- /dev/null +++ b/xcpq/buildtime/xcpq_editor/static/images/SimplyCPQ_Logo.svg @@ -0,0 +1,45 @@ + + + diff --git a/xcpq/buildtime/xcpq_editor/static/images/screens/dummy.webp b/xcpq/buildtime/xcpq_editor/static/images/screens/dummy.webp new file mode 100644 index 000000000..e4782c958 Binary files /dev/null and b/xcpq/buildtime/xcpq_editor/static/images/screens/dummy.webp differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/add1.png b/xcpq/buildtime/xcpq_editor/static/images/tree/add1.png deleted file mode 100644 index e2b66ea99..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/add1.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs.png b/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs.png deleted file mode 100644 index 349c748b0..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs2.png b/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs2.png deleted file mode 100644 index ec1e675ea..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/aimarajs2.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/blue_key.png b/xcpq/buildtime/xcpq_editor/static/images/tree/blue_key.png deleted file mode 100644 index 12360a049..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/blue_key.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/collapse.png b/xcpq/buildtime/xcpq_editor/static/images/tree/collapse.png deleted file mode 100644 index 2a29d0e79..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/collapse.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/delete.png b/xcpq/buildtime/xcpq_editor/static/images/tree/delete.png deleted file mode 100644 index c02c453c4..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/delete.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/expand.png b/xcpq/buildtime/xcpq_editor/static/images/tree/expand.png deleted file mode 100644 index b886fc1c7..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/expand.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/file.png b/xcpq/buildtime/xcpq_editor/static/images/tree/file.png deleted file mode 100644 index cf5ae847c..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/file.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/folder.png b/xcpq/buildtime/xcpq_editor/static/images/tree/folder.png deleted file mode 100644 index b2495adaa..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/folder.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/key_green.png b/xcpq/buildtime/xcpq_editor/static/images/tree/key_green.png deleted file mode 100644 index 877fab976..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/key_green.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/leaf.png b/xcpq/buildtime/xcpq_editor/static/images/tree/leaf.png deleted file mode 100644 index fce09074e..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/leaf.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/magic_ball.png b/xcpq/buildtime/xcpq_editor/static/images/tree/magic_ball.png deleted file mode 100644 index 2d2a848a4..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/magic_ball.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/monitor.png b/xcpq/buildtime/xcpq_editor/static/images/tree/monitor.png deleted file mode 100644 index d5c60acc2..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/monitor.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/right.png b/xcpq/buildtime/xcpq_editor/static/images/tree/right.png deleted file mode 100644 index 70e6da490..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/right.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/star.png b/xcpq/buildtime/xcpq_editor/static/images/tree/star.png deleted file mode 100644 index b23afb84f..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/star.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/tree/tree.png b/xcpq/buildtime/xcpq_editor/static/images/tree/tree.png deleted file mode 100644 index 70264e068..000000000 Binary files a/xcpq/buildtime/xcpq_editor/static/images/tree/tree.png and /dev/null differ diff --git a/xcpq/buildtime/xcpq_editor/static/images/users/tsindt.png b/xcpq/buildtime/xcpq_editor/static/images/users/tsindt.png new file mode 100644 index 000000000..54f4d575c Binary files /dev/null and b/xcpq/buildtime/xcpq_editor/static/images/users/tsindt.png differ diff --git a/xcpq/buildtime/xcpq_editor/static/index.html b/xcpq/buildtime/xcpq_editor/static/index.html index 86503c1f0..6c02c4368 100644 --- a/xcpq/buildtime/xcpq_editor/static/index.html +++ b/xcpq/buildtime/xcpq_editor/static/index.html @@ -8,102 +8,99 @@