diff --git a/bower.json b/bower.json index a6d6dfb..17efe38 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-inspector", "description": "Strolch WebComponent Inspector", - "version": "0.20.2", + "version": "0.21.0", "authors": ["Robert von Burg"], "keywords": [ "strolch", diff --git a/strolch-wc-inspector-behavior.html b/strolch-wc-inspector-behavior.html index 49a3510..66f4eea 100644 --- a/strolch-wc-inspector-behavior.html +++ b/strolch-wc-inspector-behavior.html @@ -15,6 +15,8 @@ }, toLocalDateTime: function (val) { + if (val == null || val.startsWith("1970-01-01T01:00:00")) + return "-"; return Strolch.toLocalDateTime(val); }, arrayToString: function (arr) { diff --git a/strolch-wc-sessions.html b/strolch-wc-sessions.html index 0491240..c1fee74 100644 --- a/strolch-wc-sessions.html +++ b/strolch-wc-sessions.html @@ -49,6 +49,68 @@ --focus-color: #000000; } + .table { + min-width: 100%; + display: flex; + flex-direction: column; + } + + .table-row { + box-sizing: border-box; + display: flex; + flex-direction: row; + margin-top: -1px; + padding-top: 5px; + padding-bottom: 5px; + } + + .table-heading { + font-weight: bold; + } + + .table-heading, + .table-cell { + display: flex; + padding: 0 12px; + overflow: hidden; + align-items: center; + flex-basis: 80px; + flex-grow: 1; + flex-shrink: 0; + justify-content: flex-start; + min-height: 48px; + } + + .source { + flex-grow: 0; + flex-basis: 120px; + } + + .login-time, + .last-access { + flex-grow: 0; + flex-basis: 160px; + } + + .username { + flex-grow: 0; + flex-basis: 250px; + } + + .actions { + flex-grow: 0; + flex-basis: 120px; + } + + .data { + padding-top: 10px; + padding-bottom: 10px; + } + + .data:nth-child(even) { + background: #f7f7f7; + } +
@@ -66,47 +128,33 @@ -
- -
- -
-
Username
-
Name
-
Roles
-
Source
-
Login time
-
Last Access
-
-
- - - +
+
+
Username
+
Roles
+
Source
+ +
Last Access
+
+
-
-
+
diff --git a/strolch-wc-users.html b/strolch-wc-users.html index cfa824e..25d6f91 100644 --- a/strolch-wc-users.html +++ b/strolch-wc-users.html @@ -27,9 +27,7 @@