├── data ├── templates │ ├── listitem.st │ ├── markuphelp.st │ ├── messages.st │ ├── footer.st │ ├── logo.st │ ├── content.st │ ├── expire.st │ ├── userbox.st │ ├── getuser.st │ ├── pagetools.st │ ├── sitenav.st │ └── page.st ├── static │ ├── robots.txt │ ├── img │ │ ├── logo.png │ │ ├── icons │ │ │ ├── feed.png │ │ │ ├── page.png │ │ │ └── folder.png │ │ └── lambda-bann.png │ ├── js │ │ ├── uploadForm.js │ │ ├── preview.js │ │ ├── dragdiff.js │ │ ├── search.js │ │ ├── MathMLinHTML.js │ │ └── jquery.hotkeys-0.7.9.min.js │ └── css │ │ ├── custom.css │ │ ├── hk-pyg.css │ │ ├── ie.css │ │ ├── print.css │ │ ├── reset-fonts-grids.css │ │ └── screen.css ├── Paths_gitit.hs ├── FrontPage.page ├── markupHelp │ ├── RST │ ├── Markdown │ ├── RST+LHS │ ├── HTML │ ├── LaTeX │ ├── Markdown+LHS │ └── LaTeX+LHS ├── markup.HTML ├── markup.RST ├── markup.LaTeX ├── post-update ├── markup.Markdown ├── Help.page └── default.conf ├── .gitmodules ├── Setup.lhs ├── plugins ├── Deprofanizer.hs ├── ShowUser.hs ├── CapitalizeEmphasis.hs ├── Signature.hs ├── PigLatin.hs ├── Subst.hs ├── Dot.hs ├── ImgTex.hs └── WebArchiver.hs ├── TODO ├── YUI-LICENSE ├── HCAR-gitit.tex ├── expireGititCache.hs ├── Network ├── Gitit │ ├── Server.hs │ ├── Cache.hs │ ├── Plugins.hs │ ├── Util.hs │ ├── State.hs │ ├── Feed.hs │ ├── Page.hs │ ├── Layout.hs │ ├── Interface.hs │ ├── Initialize.hs │ ├── Config.hs │ └── Export.hs └── Gitit.hs ├── RELANN-0.6.1 ├── gitit.hs ├── gitit.cabal └── TANGOICONS /data/templates/listitem.st: -------------------------------------------------------------------------------- 1 |
Drag one revision onto another to see differences.
"); 3 | $(".difflink").draggable({helper: "clone"}); 4 | $(".difflink").droppable({ 5 | accept: ".difflink", 6 | drop: function(ev, ui) { 7 | var targetOrder = parseInt($(this).attr("order")); 8 | var sourceOrder = parseInt($(ui.draggable).attr("order")); 9 | var diffurl = $(this).attr("diffurl"); 10 | if (targetOrder < sourceOrder) { 11 | var fromRev = $(this).attr("revision"); 12 | var toRev = $(ui.draggable).attr("revision"); 13 | } else { 14 | var toRev = $(this).attr("revision"); 15 | var fromRev = $(ui.draggable).attr("revision"); 16 | }; 17 | location.href = diffurl + '?from=' + fromRev + '&to=' + toRev; 18 | } 19 | }); 20 | }); 21 | 22 | -------------------------------------------------------------------------------- /data/markupHelp/Markdown: -------------------------------------------------------------------------------- 1 | ~~~~~~~~ 2 | # Section heading 3 | 4 | ## Subsection 5 | 6 | Formatting: *italics*, 7 | **bold**, super^script^, 8 | sub~script~, ~~strikeout~~. 9 | A line break 10 | can be forced with two spaces 11 | at the end of the line. 12 | 13 | > Indented quotation 14 | 15 | Links: 16 | [external](http://google.com), 17 | [Wiki Link](), 18 | , 19 | [to heading](#section-heading). 20 | 21 | Indented code block: 22 | 23 | #includeFormatting:
5 | italics,
6 | bold,
7 | superscript,
8 | subscript,
9 | line
break.
10 |
12 |14 |Indented quotation
13 |
Links:
15 |
16 | external,
17 | Wiki Link,
18 |
,
20 |
Indented code block:
22 |
23 | #include <stdbool.h>
24 |
25 | 81 | > an indented paragraph, 82 | > usually used for quotations 83 |84 |
94 | #!/bin/sh -e 95 | # code, indented four spaces 96 | echo "Hello world" 97 |98 |
110 | * a bulleted list 111 | * second item 112 | - sublist 113 | - and more 114 | * back to main list 115 | 1. this item has an ordered 116 | 2. sublist 117 | a) you can also use letters 118 | b) another item 119 |120 |
138 | Fruit Quantity 139 | -------- ----------- 140 | apples 30,200 141 | oranges 1,998 142 | pears 42 143 | 144 | Table: Our fruit inventory 145 |146 |