diff --git a/public_html/modules/nodes/lookup.php b/public_html/modules/nodes/lookup.php index f82640a..78ec60b 100644 --- a/public_html/modules/nodes/lookup.php +++ b/public_html/modules/nodes/lookup.php @@ -35,6 +35,7 @@ try $sData = array( "contents" => NewTemplater::Render("nodes/lookup", $locale->strings, array( + "id" => $sNode->sId, "name" => $sNode->sName, "notes" => $sNode->sNotes, "properties" => $sProperties diff --git a/public_html/static/css/openng.css b/public_html/static/css/openng.css index 06bfd0c..28861f7 100644 --- a/public_html/static/css/openng.css +++ b/public_html/static/css/openng.css @@ -215,3 +215,29 @@ i.notification { .notification-popup ul, .error-popup ul { margin: 4px 0px; padding-left: 48px; } + +.window-inner .header, .window-inner h1, .window-inner h2 { + margin: 4px 0px; } +.window-inner .lower-header, .window-inner h2 { + margin-top: 7px; } +.window-inner h1 { + font-size: 20px; } +.window-inner h2 { + font-size: 16px; } +.window-inner .unit-content { + padding: 6px; } +.window-inner a.source-ref { + float: right; + margin-right: -4px; + text-decoration: none; + color: gray; + font-size: 13px; } + .window-inner a.source-ref:hover { + color: black; } +.window-inner table { + font-size: 13px; + width: 100%; } +.window-inner td.property-name { + width: 40%; + text-align: right; + font-weight: bold; } diff --git a/public_html/static/js/openng.js b/public_html/static/js/openng.js index d549990..80f1cfa 100644 --- a/public_html/static/js/openng.js +++ b/public_html/static/js/openng.js @@ -132,8 +132,8 @@ function callbackNodeCreated(form, data) function openWindowNodeDetails(id) { new JsdeWindow({ - width: 480, - height: 300, + width: 680, + height: 420, x: 100, y: 100, title: "Node lookup", diff --git a/public_html/templates/nodes/lookup.tpl b/public_html/templates/nodes/lookup.tpl index d5d06c4..5175100 100644 --- a/public_html/templates/nodes/lookup.tpl +++ b/public_html/templates/nodes/lookup.tpl @@ -1,9 +1,43 @@
- {%?notes} -
++ No relationships were found. +
+