Initial COmmit WIP

This commit is contained in:
Julius Haertl
2016-06-05 15:07:47 +02:00
commit e10fe82afb
55 changed files with 6366 additions and 0 deletions

31
js/script.js Normal file
View File

@@ -0,0 +1,31 @@
/**
* ownCloud - deck
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Julius Härtl <jus@bitgrid.net>
* @copyright Julius Härtl 2016
*/
(function ($, OC) {
$(document).ready(function () {
$('#hello').click(function () {
alert('Hello from your script file');
});
$('#echo').click(function () {
var url = OC.generateUrl('/apps/deck/echo');
var data = {
echo: $('#echo-content').val()
};
$.post(url, data).success(function (response) {
$('#echo-result').text(response.echo);
});
});
});
})(jQuery, OC);