[enh] Add jappix to support pages.

This commit is contained in:
opi 2016-03-22 21:39:07 +01:00
parent 97ced352ce
commit 8777aac73a
2 changed files with 48 additions and 45 deletions

View file

@ -20,30 +20,31 @@ The YunoHost support is provided by the community members.
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// Jappix mini chat
$(".actions").css('opacity', 0); $(".actions").css('opacity', 0);
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
HOST_BOSH = 'https://'+ location.host +'/http-bind/';
JappixMini.launch({
connection: {
domain: 'anonymous.yunohost.org'
},
application: { var ADS_ENABLE = 'off';
network: { var JAPPIX_STATIC = '/jappix/';
autoconnect: false var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
}, var ANONYMOUS = 'on';
JappixMini.launch({
interface: { connection: {
showpane: true, domain: "anonymous.yunohost.org",
animate: true },
}, application: {
network: {
groupchat: { autoconnect: false,
open: ['support@conference.yunohost.org'] },
} interface: {
} showpane: false,
}); animate: false,
}); },
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script> </script>

View file

@ -18,30 +18,32 @@ L'entraide autour de YunoHost est assurée par la communauté.
**[yunohost@yunohost.org](mailto:yunohost@yunohost.org)** **[yunohost@yunohost.org](mailto:yunohost@yunohost.org)**
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// Jappix mini chat
$(".actions").css('opacity', 0); $(".actions").css('opacity', 0);
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
HOST_BOSH = 'https://'+ location.host +'/http-bind/';
JappixMini.launch({
connection: {
domain: 'anonymous.yunohost.org'
},
application: { var ADS_ENABLE = 'off';
network: { var JAPPIX_STATIC = '/jappix/';
autoconnect: false var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
}, var ANONYMOUS = 'on';
JappixMini.launch({
interface: { connection: {
showpane: true, domain: "anonymous.yunohost.org",
animate: true },
}, application: {
network: {
groupchat: { autoconnect: false,
open: ['support@conference.yunohost.org'] },
} interface: {
} showpane: false,
}); animate: false,
}); },
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script> </script>