diff --git a/data/themes/gadjo/static/css/agent-portal.css b/data/themes/gadjo/static/css/agent-portal.css index a5864956..34ed7961 100644 --- a/data/themes/gadjo/static/css/agent-portal.css +++ b/data/themes/gadjo/static/css/agent-portal.css @@ -3,3 +3,7 @@ div.welcome { background: #fcfcfc; padding: 1ex; } + +div.textcell { + clear: both; +} diff --git a/data/themes/gadjo/static/js/agent-portal.js b/data/themes/gadjo/static/js/agent-portal.js new file mode 100644 index 00000000..15610f7d --- /dev/null +++ b/data/themes/gadjo/static/js/agent-portal.js @@ -0,0 +1,22 @@ +$(function() { + $(document).on('publik:environment-loaded', function(event, services) { + $(services.services).each(function(index, element) { + var $content = $('#portal-agent-content div.services-' + element.service_id); + if ($content.length === 0) { + $content = $('#portal-agent-content div.services'); + } + if ($content.find('ul.apps').length === 0) { + $('