anpassung fuer page, um auf candy fuer den muc zu verweisen

This commit is contained in:
vater c3d2 2015-02-20 05:08:34 +01:00
parent ffa1c68c80
commit 04333e26a5
3 changed files with 66 additions and 2 deletions

View File

@ -7,7 +7,7 @@
Wir unterhalten uns in einem Chat auf Basis des Instant
Messaging-Systems
Jabber: <link href="xmpp:c3d2@chat.c3d2.de?join">c3d2@chat.c3d2.de</link>.
<link href="https://wiki.c3d2.de/Jabber_Infrastruktur">Hintergründe zu unserer Jabber-Infrastruktur</link>
<link href="https://wiki.c3d2.de/Jabber">Hintergründe zu unserer Jabber-Infrastruktur</link>
erfährst du in unserem Wiki.
</p>
@ -21,7 +21,7 @@
lediglich einen Spitznamen eingeben und los gehts:
</p>
<form xmlns="http://www.w3.org/1999/xhtml"
action="/candy-1.7.1/example/index.html">
action="/candy/index.html">
<p>
<label for="candy-nick">Name:</label>
<input id="candy-nick" name="nick" size="20"/>

View File

@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Candy - Chats are not dead yet</title>
<link rel="shortcut icon" href="res/img/favicon.png" type="image/gif" />
<link rel="stylesheet" type="text/css" href="res/default.css" />
<script type="text/javascript" src="libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="libs/libs.min.js"></script>
<script type="text/javascript" src="candy.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
function rid() {
return "" + Math.ceil(99999999 * Math.random());
}
var nick = "Candy-" + rid();
var m;
if ((m = window.location.search.match(/nick=([^\&]+)/))) {
nick = decodeURIComponent(m[1]);
}
Candy.init('https://jabber.c3d2.de:5281/http-bind/', {
core: {
// only set this to true if developing / debugging errors
debug: false,
// autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
// true
// -> fetch info from server (NOTE: does only work with openfire server)
// ['test@conference.example.com']
// -> array of rooms to join after connecting
resource: rid() + "-" + rid() + "-" + rid(),
autojoin: ["c3d2@chat.c3d2.de"]
},
view: { assets: 'res/' }
});
Candy.Core.connect("candy@jabber.c3d2.de", "yummy", nick);
/**
* Thanks for trying Candy!
*
* If you need more information, please see here:
* - Setup instructions & config params: http://candy-chat.github.io/candy/#setup
* - FAQ & more: https://github.com/candy-chat/candy/wiki
*
* Mailinglist for questions:
* - http://groups.google.com/group/candy-chat
*
* Github issues for bugs:
* - https://github.com/candy-chat/candy/issues
*/
});
</script>
</head>
<body>
<div id="candy"></div>
</body>
</html>

File diff suppressed because one or more lines are too long