aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-22 11:30:04 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-22 11:30:04 +0100
commit060982adb426e629747d16410d554e0da333172d (patch)
tree6379fff3eeb1214d0bd48065556ad3c7dd3ef5ef /view/tpl/wiki.tpl
parent69123590fb7cdb741cc09de177b334bcca65da05 (diff)
downloadvolse-hubzilla-060982adb426e629747d16410d554e0da333172d.tar.gz
volse-hubzilla-060982adb426e629747d16410d554e0da333172d.tar.bz2
volse-hubzilla-060982adb426e629747d16410d554e0da333172d.zip
display wiki list on wiki landing page.
Diffstat (limited to 'view/tpl/wiki.tpl')
-rw-r--r--view/tpl/wiki.tpl42
1 files changed, 0 insertions, 42 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index cf076c244..1e167c8b0 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -1,16 +1,3 @@
-<style type="text/css" media="screen">
- #ace-editor {
- position: relative;
- width: 100%;
- height: 500px;
- }
- .fade.in {
- -webkit-transition: opacity 0.5s 0.5s ease;
- -moz-transition: opacity 0.5s 0.5s ease;
- -o-transition: opacity 0.5s 0.5s ease;
- transition: opacity 0.5s 0.5s ease;
- }
-</style>
{{if $hideEditor}}
<div>
<p class="lead text-center">{{$chooseWikiMessage}}</p>
@@ -222,27 +209,6 @@
ev.preventDefault();
});
- function wiki_delete_wiki(wikiHtmlName, resource_id) {
- if(!confirm('Are you sure you want to delete the entire wiki: ' + JSON.stringify(wikiHtmlName))) {
- return;
- }
- $.post("wiki/{{$channel}}/delete/wiki", {resource_id: resource_id}, function (data) {
- if (data.success) {
- window.console.log('Wiki deleted');
- // Refresh list and redirect page as necessary
- window.location = 'wiki/{{$channel}}';
- } else {
- alert('Error deleting wiki!');
- window.console.log('Error deleting wiki.');
- }
- }, 'json');
- }
-
-
- function wiki_download_wiki(resource_id) {
- window.location = "wiki/{{$channel}}/download/wiki/" + resource_id;
- }
-
function wiki_refresh_page_list() {
if (window.wiki_resource_id === '') {
return false;
@@ -466,14 +432,6 @@
'json');
};
- function wiki_show_new_wiki_form() {
- $('div[id^=\'edit-wiki-form-wrapper\']').hide();
- $('#new-page-form-wrapper').hide();
- $('#edit-wiki-form-wrapper').hide();
- $('#new-wiki-form-wrapper').toggle();
- return false;
- }
-
function wiki_show_new_page_form() {
$('div[id^=\'edit-wiki-form-wrapper\']').hide();
$('#edit-wiki-form-wrapper').hide();