diff --git a/qcms-manifest.json b/qcms-manifest.json index 630db5c..cf5588b 100644 --- a/qcms-manifest.json +++ b/qcms-manifest.json @@ -22,8 +22,8 @@ } ], "header": { - "title": "Data Wrangler Workbench", - "subtitle": "Open Workbench: Read, write & wrangle data"}, + "title": "Data Bridge Studio", + "subtitle": "Universal Data Access Made Simple"}, "index": "index.html", "on": { "load": { @@ -31,6 +31,7 @@ "www/html/menu.html" ], "studio-intro":["www/html/about.html"] + } }, "order": { diff --git a/www/html/_assets/css/studio.css b/www/html/_assets/css/studio.css index ac31330..ccd502c 100644 --- a/www/html/_assets/css/studio.css +++ b/www/html/_assets/css/studio.css @@ -15,7 +15,7 @@ } - +.gradient {background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);} .studio-expand { display:grid; grid-template-rows: 50px calc(100% - 55px); gap:8px; diff --git a/www/html/_plugins/register.py b/www/html/_plugins/register.py index ea0b33a..199172f 100644 --- a/www/html/_plugins/register.py +++ b/www/html/_plugins/register.py @@ -3,6 +3,8 @@ from io import StringIO import cms import copy import json +import os +import smart.cmd @cms.Plugin(mimetype='application/json',method='GET') def get (**_args) : @@ -29,7 +31,8 @@ def get (**_args) : else: continue return _labels - +def gethostname (): + return @cms.Plugin(mimetype="application/json",method="POST") def add(**_args): """ @@ -43,6 +46,14 @@ def add(**_args): # # @TODO: We need to test the parameters and return the response to the client # + # + # Let us make sure the registry exists + if not transport.registry.exists() : + _host = smart.cmd.read(cmd='hostname').replace("\\n'",'').replace("\n","") + # _host = os.environ['HOSTNAME'] if 'HOSTNAME' in os.environ else os.environ['COMPUTERNAME'] + _email = _host+'@data-transport.co' + transport.registry.init(_email) + transport.registry.set(_label,f) # diff --git a/www/html/about.html b/www/html/about.html index b7dfa7b..d5458bc 100644 --- a/www/html/about.html +++ b/www/html/about.html @@ -42,30 +42,33 @@ color: #009879; } .warning{display:grid; grid-template-columns: 80px auto; gap:8px;} + iframe {width:100%; height:100%;} -
-
-

Supported Technologies

-
-
+
+
-
+
Your system is missing a database registry -
Click +
Click here to get started
@@ -111,7 +114,7 @@ http.get(uri,(x)=>{ Iconfinder
  • - freepik.com | iconfuck + freepik.com | iconduck
  • diff --git a/www/html/features.html b/www/html/features.html new file mode 100644 index 0000000..fc4b8fc --- /dev/null +++ b/www/html/features.html @@ -0,0 +1,76 @@ + + + + + + + + + + +
    +

    +

    + Why Use {{layout.header.title}} +
    +

    + +
    +
    +

    Powered by data-transport

    + Open python framework for reading/writing ont multiple databases +
      +
    • Uses Pandas & SQLAlchemy 2.x
    • +
    • Simplifies syntax to data access
    • +
    +
    + +
    +

    Universal Connectivity

    + Seamless connection to multiple database technologies +
      + +
    • SQL, NoSQL and Cloud databases
    • +
    • Built-in drivers
    • + +
    +
    +
    +

    Smart Authentication

    + Uses a registry to reference connections using simple labels. +
      +
    • Label based authentication
    • +
    • Simplified connectivity setup.
    • +
    +
    + + +
    +

    Integrated Spreadsheet

    + Better data wraninging with integrated spreadsheet functions +
      +
    • Better data wrangling experience
    • +
    • Augmenting and exporting data
    • +
    +
    + +
    +

    +

    +
    github
    +
    +

    +
    \ No newline at end of file diff --git a/www/html/index.html b/www/html/index.html index 0bf36a5..efebf73 100644 --- a/www/html/index.html +++ b/www/html/index.html @@ -54,8 +54,10 @@ } $(document).ready(function (){ + $('.studio-pane').css({display:'none'}) Initialize() + $('.footer').css({'grid-template-columns':'100%','font-weight':'bold'}) }) diff --git a/www/html/menu.html b/www/html/menu.html index b77c059..ee01d16 100644 --- a/www/html/menu.html +++ b/www/html/menu.html @@ -127,14 +127,14 @@ }) -
    +
    -