From 34856509ea56a998e6a9588a0d9d10923993df7a Mon Sep 17 00:00:00 2001 From: cat Date: Thu, 21 Aug 2014 12:03:44 +0200 Subject: [PATCH] LSP preview page merge info --- lsp/main.css | 14 ++++ lsp/main.js | 148 +++++++++++++++++++++++++++++++++++++++- lsp/pages.js | 2 +- src/connectors/embed.js | 10 +-- 4 files changed, 167 insertions(+), 7 deletions(-) diff --git a/lsp/main.css b/lsp/main.css index c29c388b..c4534cde 100755 --- a/lsp/main.css +++ b/lsp/main.css @@ -451,6 +451,20 @@ button[disabled=disabled] { .cell { display: table-cell; } +.embed_info { + float: left; + margin: 0 1em 1em 0; +} +.embed_container { + width: 100%; + float: left; +} +.stream_info { + max-height: 30em; + overflow-y: auto; + padding-right: 1em; + float: left; +} #graphcontainer { width: 100%; background-color: white; diff --git a/lsp/main.js b/lsp/main.js index a972a0c1..4979a3ab 100755 --- a/lsp/main.js +++ b/lsp/main.js @@ -1297,7 +1297,21 @@ function buildstreamembed(streamName,embedbase) { return $(this).text() == streamName; }).addClass('current'); + var $embedinfo = $('
').addClass('embed_info'); + var $embedcont = $('
').addClass('embed_container'); + var $streaminfo = $('
').addClass('stream_info'); + $('#subpage').html( + $embedinfo + ).append( + $streaminfo + ).append( + $embedcont + ); + + //stream embed + + $embedinfo.html( $('
').addClass('input_container').html( $('