Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
rezepte:start [2017/01/23 12:03] Marco Kragerezepte:start [2022/11/04 21:21] (aktuell) Marco Krage
Zeile 1: Zeile 1:
 ====== Rezepte Übersicht ====== ====== Rezepte Übersicht ======
 <html>  <html> 
-<script> +<select id="azurNewPageNS"> 
-jQuery(document).ready(function(){ +<option value="rezepte">Allgemeine</option
-  jQuery('ul.filter').each(function() { +<option value="rezepte:vorspeisen">Vorspeise</option
-    var $thisList = jQuery(this); +<option value="rezepte:hauptspeisen">Hauptspeise</option
-    jQuery('<input type="textplaceholder="Filter" />').keyup(function() { +<option value="rezepte:nachspeisen">Nachspeise</option
-      var $thisInput = jQuery(this); +</select
-      $thisList.find('> *').show().filter(function( index ) { +
-        return jQuery(this).text().toLowerCase().indexOf($thisInput.val().toLowerCase()) === -1;      +
-      }).hide(); +
-    }).insertBefore($thisList); +
-  }); +
-}); +
-</script> +
-<!-- {{indexmenu>.#sort+title}} --> +
-<style>div.li a.indexmenu_idx {color: inherit!important; }</style> +
-<button class="newPage" data-ns=".">Neues Rezept</button+
-<button class="newPage" data-ns="vorspeisen">Neues Rezept</button+
-<button class="newPage" data-ns="hauptspeisen">Neues Rezept</button+
-<button class="newPage" data-ns="nachspeisen">Neues Rezept</button+
-<script> +
-jQuery(document).ready(function() { +
-var np = jQuery('.newPage'); +
-//np.attr('data-ns', NS); +
- +
-  np.click(function() { +
-    var ns = np.attr('data-ns'); +
-    var npName = prompt('Neue Seite unter: ' + ns); +
-    if (npName) { +
-      var url = window.location.protocol + '//' + window.location.host + window.location.pathname; +
-      location.href = url + '?id=' + ns + ':' + npName + '&do=edit&rev=0'; +
-      return true; +
-    } +
-    return false; +
-  }); +
-}); +
-</script> +
-</html> +
- +
-===== ALLE ===== +
-{{pagequery> +
-@. *; +
-maxns=1; +
-sort=title:asc; +
-display={title}; +
-cssclass=filter; +
-hidestart; +
-hidejump +
-}} +
  
 +<button id="azurNewPage">Seite erstellen</button>
  
 +<input type="text" id="filter" placeholder="Filtern" />
  
 +</html>
  
 +===== Allgemein =====
 +<catlist -noHead -noAddPageButton -sortAscending -maxDepth:1 -excluns >
  
 ===== Vorspeisen ===== ===== Vorspeisen =====
-{{pagequery+Keine Vorspeisen (catlist ist auskommentiert) 
-@vorspeisen *; +<html><!--  
-sort=title:asc; +<catlist .:vorspeisen -noHead -noAddPageButton -sortAscending -maxDepth:1 -excluns > 
-display={title}; +--></html>
-cssclass=filter; +
-hidestart; +
-hidejump +
-}}+
  
 ===== Hauptspeisen ===== ===== Hauptspeisen =====
-{{pagequery> +<catlist .:hauptspeisen -noHead -noAddPageButton -sortAscending -maxDepth:1 -excluns >
-@hauptspeisen *; +
-sort=title:asc; +
-display={title}; +
-cssclass=filter; +
-hidestart; +
-hidejump +
-}}+
  
 ===== Nachspeisen ===== ===== Nachspeisen =====
-{{pagequery> +<catlist .:nachspeisen -noHead -noAddPageButton -sortAscending -maxDepth:1 -excluns >
-@nachspeisen *; +
-sort=title:asc; +
-display={title}; +
-cssclass=filter; +
-hidestart; +
-hidejump +
-}} +
- +
- +
-===== Die 10 neusten ===== +
-{{pagequery> +
-@. *; +
-sort=cdate; +
-limit=10; +
-display={title} ({cdate}); +
-hidestart; +
-hidejump +
-}} +
- +
- +
-===== Die 20 zuletzt geänderten ===== +
-{{pagequery> +
-@. *; +
-sort=mdate; +
-limit=20; +
-display={title} ({mdate}); +
-hidestart; +
-hidejump +
-}}+
  
 ~~NOCACHE~~ ~~NOCACHE~~
rezepte/start.1485169414.txt.gz · Zuletzt geändert: 2017/01/23 12:03 von Marco Krage