From 04bc5842bd37fdf095ca2f65cc5e68ef99d5a14f Mon Sep 17 00:00:00 2001 From: Niels Groot Obbink Date: Thu, 4 Jul 2013 15:12:54 +0200 Subject: [PATCH] embed JS files now also receive metadata info & LSP now displays js links in monospace --- lsp/main.js | 11 +++++++++-- lsp/style.css | 10 +++++++++- src/connectors/conn_http.cpp | 4 ++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/lsp/main.js b/lsp/main.js index 6d413382..c438fdd2 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -1033,8 +1033,15 @@ { var embedbase = 'http://' + parseURL(settings.server).host + ':' + getHTTPControllerPort() + '/'; - $('#page').append( $('

').attr('class', 'nocapitals').text('The info embed URL is "' + embedbase + 'info_' + streamname + '.js".') ); - $('#page').append( $('

').attr('class', 'nocapitals').text('The embed embed URL is "' + embedbase + 'embed_' + streamname + '.js".') ); + // TODO .attr().html() doesn't work... make this work in 2 lines again + var iem = $('

').attr('class', 'nocapitals'); + iem.html('The info embed URL is ' + embedbase + 'info_' + streamname + '.js'); + + var eem = $('

').attr('class', 'nocapitals'); + eem.html('The embed embed URL is ' + embedbase + 'embed_' + streamname + '.js'); + + $('#page').append( iem ); + $('#page').append( eem ); $('#page').append( $('