1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 19:53:17 +00:00

Fixed up classnames

Not sticking to my own conventions is bad
This commit is contained in:
Jeremy Ruston 2012-03-29 15:35:52 +01:00
parent b81ffdcb58
commit b0cdd866ee
10 changed files with 11 additions and 11 deletions

View File

@ -101,10 +101,10 @@ exports.macro = {
var attributes = {
"data-tiddler-target": renderTitle,
"data-tiddler-template": renderTemplate,
"class": ["tiddlerFrame"]
"class": ["tw-tiddler-frame"]
};
if(!this.store.tiddlerExists(renderTitle)) {
attributes["class"].push("tiddlerMissing");
attributes["class"].push("tw-tiddler-missing");
}
// Return the content
return [Renderer.ElementNode("div",attributes,contentClone)];

View File

@ -1 +1 @@
<div data-tiddler-target='EighthTiddler' data-tiddler-template='EighthTiddler' class='tiddlerFrame'><div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tiddlerFrame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div><br><div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tiddlerFrame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div><br><div data-tiddler-target='EighthTiddler' data-tiddler-template='SixthTiddler' class='tiddlerFrame'>EighthTiddler<br><br><br></div><br><div data-tiddler-target='FirstTiddler' data-tiddler-template='SixthTiddler' class='tiddlerFrame'>FirstTiddler<br><br><br></div><br></div>
<div data-tiddler-target='EighthTiddler' data-tiddler-template='EighthTiddler' class='tw-tiddler-frame'><div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tw-tiddler-frame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div><br><div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tw-tiddler-frame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div><br><div data-tiddler-target='EighthTiddler' data-tiddler-template='SixthTiddler' class='tw-tiddler-frame'>EighthTiddler<br><br><br></div><br><div data-tiddler-target='FirstTiddler' data-tiddler-template='SixthTiddler' class='tw-tiddler-frame'>FirstTiddler<br><br><br></div><br></div>

View File

@ -1 +1 @@
<div data-tiddler-target='Fifth Tiddler' data-tiddler-template='Fifth Tiddler' class='tiddlerFrame'><table class='table'><caption align='top'>A caption above the table</caption><thead><tr class='evenRow'><td align='center'>Left</td><td align='center'>Middle</td><td align='center'>Right</td></tr></thead><tbody><tr class='oddRow'><td>North West</td><td>North</td><td>North East</td></tr><tr class='evenRow'><td>West</td><td>Here</td><td>East</td></tr><tr class='oddRow'><td>South West</td><td>South</td><td>South East</td></tr></tbody></table></div>
<div data-tiddler-target='Fifth Tiddler' data-tiddler-template='Fifth Tiddler' class='tw-tiddler-frame'><table class='table'><caption align='top'>A caption above the table</caption><thead><tr class='evenRow'><td align='center'>Left</td><td align='center'>Middle</td><td align='center'>Right</td></tr></thead><tbody><tr class='oddRow'><td>North West</td><td>North</td><td>North East</td></tr><tr class='evenRow'><td>West</td><td>Here</td><td>East</td></tr><tr class='oddRow'><td>South West</td><td>South</td><td>South East</td></tr></tbody></table></div>

View File

@ -1 +1 @@
<div data-tiddler-target='FirstTiddler' data-tiddler-template='FirstTiddler' class='tiddlerFrame'>This is the <strong>text</strong> of the first tiddler, with a <span style='font-size:8em;color:red;'>link</span> to the <a href='SecondTiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>SecondTiddler</a>, too. And a link to <a href='http://tiddlywiki.com/' class='tw-tiddlylink tw-tiddlylink-external'>http://tiddlywiki.com/</a>.<br></div>
<div data-tiddler-target='FirstTiddler' data-tiddler-template='FirstTiddler' class='tw-tiddler-frame'>This is the <strong>text</strong> of the first tiddler, with a <span style='font-size:8em;color:red;'>link</span> to the <a href='SecondTiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>SecondTiddler</a>, too. And a link to <a href='http://tiddlywiki.com/' class='tw-tiddlylink tw-tiddlylink-external'>http://tiddlywiki.com/</a>.<br></div>

View File

@ -1 +1 @@
<div data-tiddler-target='Fourth Tiddler' data-tiddler-template='Fourth Tiddler' class='tiddlerFrame'>A missing image <img href='Something.jpg'> and a $1 couple of &#xc7; &#199; &quot;HTML Entity&quot;</div>
<div data-tiddler-target='Fourth Tiddler' data-tiddler-template='Fourth Tiddler' class='tw-tiddler-frame'>A missing image <img href='Something.jpg'> and a $1 couple of &#xc7; &#199; &quot;HTML Entity&quot;</div>

View File

@ -1 +1 @@
<div data-tiddler-target='SecondTiddler' data-tiddler-template='SecondTiddler' class='tiddlerFrame'><h2>Heading</h2>This is the second tiddler. It has a list:<br><ul><li> Item one</li><li> Item two</li><li> Item three</li></ul>And a macro invocation 5.0.0 and a <span class='myClass'>custom class</span><br></div>
<div data-tiddler-target='SecondTiddler' data-tiddler-template='SecondTiddler' class='tw-tiddler-frame'><h2>Heading</h2>This is the second tiddler. It has a list:<br><ul><li> Item one</li><li> Item two</li><li> Item three</li></ul>And a macro invocation 5.0.0 and a <span class='myClass'>custom class</span><br></div>

View File

@ -1 +1 @@
<div data-tiddler-target='SeventhTiddler' data-tiddler-template='SeventhTiddler' class='tiddlerFrame'>4<br><br>SeventhTiddler<br><br>window<br></div>
<div data-tiddler-target='SeventhTiddler' data-tiddler-template='SeventhTiddler' class='tw-tiddler-frame'>4<br><br>SeventhTiddler<br><br>window<br></div>

View File

@ -1 +1 @@
<div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tiddlerFrame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div>
<div data-tiddler-target='SixthTiddler' data-tiddler-template='SixthTiddler' class='tw-tiddler-frame'>SixthTiddler<br>11 February 2011<br><a href='Jermolene' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing'>Jermolene</a><br></div>

View File

@ -1 +1 @@
<div data-tiddler-target='ThirdTiddler' data-tiddler-template='ThirdTiddler' class='tiddlerFrame'>An explicit link <a href='Fourth%20Tiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>Fourth Tiddler</a> and <a href='Fourth%20Tiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>a pretty link</a> and a transclusion <div data-tiddler-target='Fourth Tiddler' data-tiddler-template='Fourth Tiddler' class='tiddlerFrame'>A missing image <img href='Something.jpg'> and a Stringy couple of &#xc7; &#199; &quot;HTML Entity&quot;</div><br><br><img href='http://placehold.it/350x150'><br></div>
<div data-tiddler-target='ThirdTiddler' data-tiddler-template='ThirdTiddler' class='tw-tiddler-frame'>An explicit link <a href='Fourth%20Tiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>Fourth Tiddler</a> and <a href='Fourth%20Tiddler' class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-resolves'>a pretty link</a> and a transclusion <div data-tiddler-target='Fourth Tiddler' data-tiddler-template='Fourth Tiddler' class='tw-tiddler-frame'>A missing image <img href='Something.jpg'> and a Stringy couple of &#xc7; &#199; &quot;HTML Entity&quot;</div><br><br><img href='http://placehold.it/350x150'><br></div>

View File

@ -8,7 +8,7 @@ body {
line-height: 48px;
}
.tiddlerMissing .title {
.tw-tiddler-missing .title {
font-style: italic;
font-weight: normal;
}