diff --git a/MANIFEST.in b/MANIFEST.in index 7d9aa8de..f2ad17fc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,6 +4,7 @@ recursive-include combo/locale *.po *.mo # static recursive-include combo/manager/static *.css *.js *.ico *.gif *.png *.jpg recursive-include combo/public/static *.css *.js *.ico *.gif *.png *.jpg +recursive-include data/themes *.css *.js *.gif *.png *.jpg *.jpeg *.html # templates recursive-include combo/apps/wcs/templates *.html diff --git a/data/themes/gadjo/static/css/agent-portal.css b/data/themes/gadjo/static/css/agent-portal.css new file mode 100644 index 00000000..a5864956 --- /dev/null +++ b/data/themes/gadjo/static/css/agent-portal.css @@ -0,0 +1,5 @@ +div.welcome { + border: 1px solid #e4e4e4; + background: #fcfcfc; + padding: 1ex; +} diff --git a/data/themes/gadjo/static/js/publik.js b/data/themes/gadjo/static/js/publik.js new file mode 100644 index 00000000..49de4bac --- /dev/null +++ b/data/themes/gadjo/static/js/publik.js @@ -0,0 +1,86 @@ +GADJO_DEFAULT_SIDEPAGE_STATUS = 'expanded'; + +$(function() { + var all_done = false; + + function check_all_done() { + var local_done = true; + $(COMBO_KNOWN_SERVICES).each(function(index, service) { + if (service.data === undefined) { + local_done = false; + } + }); + all_done = local_done; + if (all_done) { + window.sessionStorage.hobo_environment = JSON.stringify(COMBO_KNOWN_SERVICES); + window.sessionStorage.hobo_environment_timestamp = Date.now(); + create_menu_items(); + } + } + + function create_menu_items() { + $('#sidepage-menu').remove(); + var menu_links = $('