Give fedmenu-staging its own dir.

This commit is contained in:
Ralph Bean 2015-04-06 18:07:34 +00:00
parent 65b0924396
commit b825fcf2e7
8 changed files with 14 additions and 3 deletions

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before After
Before After

View file

@ -16,7 +16,7 @@ var fedmenu = function(options) { $(document).ready(function() {
if (o['package'] != null) buttons += '<div id="fedmenu-package-button" class="fedmenu-button"><div class="img"></div></div>';
buttons += '<div id="fedmenu-main-button" class="fedmenu-button"><div class="img"></div></div>';
$('body').append('<link href="fedmenu.css" rel="stylesheet">');
$('body').append('<link href="https://apps.stg.fedoraproject.org/fedmenu/css/fedmenu.css" rel="stylesheet">');
$('body').append(
'<div id="fedmenu-tray" class="fedmenu-' + o.position + '">' +
buttons + '</div>');

View file

@ -13,11 +13,22 @@
- apps-fp-o
- name: Copy in some global assets used around our apps
synchronize: >
src=global/ dest=/srv/web/apps-fp-o/global/
synchronize: src=global/ dest=/srv/web/apps-fp-o/global/
tags:
- apps-fp-o
- name: Copy in fedmenu assets for staging
synchronize: src=fedmenu-staging/ dest=/srv/web/apps-fp-o/fedmenu/
when: environment == 'staging'
tags:
- apps-fp-o
#- name: Copy in fedmenu assets for production
# synchronize: src=fedmenu/ dest=/srv/web/apps-fp-o/fedmenu/
# when: environment != 'staging'
# tags:
# - apps-fp-o
- name: Copy in our app data yaml
file: >
src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml