diff --git a/bower.json b/bower.json
index 240008f..76774b1 100644
--- a/bower.json
+++ b/bower.json
@@ -1,7 +1,7 @@
{
"name": "strolch-wc-inspector",
"description": "Strolch WebComponent Inspector",
- "version": "0.1.7",
+ "version": "0.1.9",
"authors": "Robert von Burg",
"keywords": [
"strolch",
@@ -17,9 +17,10 @@
"homepage": "https://github.com/4treesCH/strolch-wc-inspector",
"ignore": [],
"dependencies": {
- "bootstrap": "v4.0.0-alpha.6",
+ "strolch-wc-styles" : "4treesCH/strolch-wc-styles#^0.1.2",
+ "app-route": "PolymerElements/app-route#^0.9.3",
+ "app-layout": "PolymerElements/app-layout#^0.10.6",
"paper-material": "PolymerElements/paper-material#^1.0.6",
- "components-font-awesome": "^4.7.0",
"iron-ajax": "PolymerElements/iron-ajax#^1.4.3",
"iron-pages": "PolymerElements/iron-pages#^1.0.8",
"iron-icons": "PolymerElements/iron-icons#^1.2.0",
@@ -30,5 +31,8 @@
"paper-dropdown-menu": "PolymerElements/paper-dropdown-menu#^1.5.0",
"paper-listbox": "polymerelements/paper-listbox#^1.1.2",
"paper-item": "PolymerElements/paper-item#^1.2.1"
+ },
+ "devDependencies": {
+ "strolch-wc-auth" : "4treesCH/strolch-wc-auth#^0.2.2"
}
}
diff --git a/demo/c-app.html b/demo/c-app.html
new file mode 100644
index 0000000..b6493e2
--- /dev/null
+++ b/demo/c-app.html
@@ -0,0 +1,274 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Menu
+
+ Inspector Logout
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[title]]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [[dlgTitle]]
+ [[dlgText]]
+
+
+
+
+
+
+
+
diff --git a/demo/c-view404.html b/demo/c-view404.html
new file mode 100644
index 0000000..1aba953
--- /dev/null
+++ b/demo/c-view404.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+ Oops you hit a 404.
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/index.html b/demo/index.html
new file mode 100644
index 0000000..2b17af3
--- /dev/null
+++ b/demo/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Strolch Inspector Demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/strolch-wc-inspector-object.html b/strolch-wc-inspector-object.html
index 719b177..b1459b3 100644
--- a/strolch-wc-inspector-object.html
+++ b/strolch-wc-inspector-object.html
@@ -12,11 +12,13 @@
+
+
-
-
+
[[objectName]] [[summary.id]] / [[summary.name]] / [[summary.type]]
@@ -73,16 +76,16 @@
- Loading...
+ Loading...
- No parameters defined on [[objectName]] [[summary.id]]
+ No parameters defined on [[objectName]] [[summary.id]]
-
+
ParameterBag |
@@ -123,12 +126,12 @@
- Loading...
+ Loading...
- No policies defined on [[objectName]] [[summary.id]]
+ No policies defined on [[objectName]] [[summary.id]]
@@ -162,12 +165,12 @@
- Loading...
+ Loading...
- No timed states defined on [[objectName]] [[summary.id]]
+ No timed states defined on [[objectName]] [[summary.id]]
@@ -236,6 +239,10 @@
return null;
}
},
+ basePath: {
+ type: String,
+ value: './'
+ },
realm: {
type: String,
value: function () {
@@ -342,7 +349,7 @@
this.details.parameterBagsArr = console.log(this.details);
};
- this.$.ajax.url = './rest/strolch/inspector/' + this.realm + '/' + this.objectType + '/' + this.summary.type + '/' + this.summary.id;
+ this.$.ajax.url = this.basePath + 'rest/strolch/inspector/' + this.realm + '/' + this.objectType + '/' + this.summary.type + '/' + this.summary.id;
this.$.ajax.method = 'GET';
this.$.ajax.generateRequest();
},
diff --git a/strolch-wc-inspector-objects.html b/strolch-wc-inspector-objects.html
index 7d1848b..80de6fe 100644
--- a/strolch-wc-inspector-objects.html
+++ b/strolch-wc-inspector-objects.html
@@ -5,13 +5,15 @@
+
+
-
- No [[objectName]] objects exists.
+ No [[objectName]] objects exists.
@@ -48,9 +51,9 @@
-
-
-
+
+
+
[[objectName]] of type [[item.type]] ([[item.size]])
@@ -60,17 +63,16 @@
-
-
+
+
Showing [[objectName]] objects of type [[selectedType]]
-
-
-
+
+
-
-