From 39e0a6c3564c65ff3cef0ec3345d09f41c80f08e Mon Sep 17 00:00:00 2001 From: Chuck Date: Thu, 27 Jun 2019 15:46:10 -0400 Subject: [PATCH] fixes --- .../app/components/coordinator/js/update_guis.js | 16 ++++++++++------ client/app/main.css | 2 -- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/client/app/components/coordinator/js/update_guis.js b/client/app/components/coordinator/js/update_guis.js index dee8dd3..6d8909b 100644 --- a/client/app/components/coordinator/js/update_guis.js +++ b/client/app/components/coordinator/js/update_guis.js @@ -12,6 +12,8 @@ function getBagList(callback) var request = new ROSLIB.ServiceRequest({}); service.callService(request, function(result) { + console.log("getBagListResults"); + console.log(result); callback(JSON.parse(result.message)); }); } @@ -186,20 +188,22 @@ function displayLoadingOptions() { placeholder : "Select bag to play", render : { item: function(item, escape) { + filename = item.filename; + category = item.category || 'None'; return '
' + '
' + - '' + escape(item.filename) + '' + - '' + ' (' + escape(item.category) + ') ' + '' + + '' + escape(filename) + '' + + '' + ' (' + escape(category) + ') ' + '' + '
' + '
'; }, option: function(item, escape) { - var label = item.filename || item.category; - var caption = item.filename ? item.category : null; + filename = item.filename; + category = item.category || 'None'; return '
' + '
' + - '
' + escape(item.filename) + '
' + - '
' + escape(item.category) + '
' + + '
' + escape(filename) + '
' + + '
' + escape(category) + '
' + '
' + '
' + '
' + diff --git a/client/app/main.css b/client/app/main.css index 521af88..7842cc7 100644 --- a/client/app/main.css +++ b/client/app/main.css @@ -435,8 +435,6 @@ html, body { .bag-option .category { width: 40%; - font-weight: 600; - } .bag-option .tags {