1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-06 20:14:22 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bram Chen 2014-08-29 08:48:35 +08:00
commit c3fee7a3b0
215 changed files with 812 additions and 824 deletions

View File

@ -1,7 +1,7 @@
title: $:/language/Modals/Download title: $:/language/Modals/Download
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
subtitle: Download changes subtitle: Download changes
footer: <$button message="tw-close-tiddler">Close</$button> footer: <$button message="tm-close-tiddler">Close</$button>
help: http://tiddlywiki.com/static/DownloadingChanges.html help: http://tiddlywiki.com/static/DownloadingChanges.html
Your browser only supports manual saving. Your browser only supports manual saving.

View File

@ -1,7 +1,7 @@
title: $:/language/Modals/SaveInstructions title: $:/language/Modals/SaveInstructions
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
subtitle: Save your work subtitle: Save your work
footer: <$button message="tw-close-tiddler">Close</$button> footer: <$button message="tm-close-tiddler">Close</$button>
help: http://tiddlywiki.com/static/SavingChanges.html help: http://tiddlywiki.com/static/SavingChanges.html
Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file. Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file.

View File

@ -19,7 +19,7 @@ var CsvParser = function(type,text,options) {
"type": "element", "tag": "table", "children": [{ "type": "element", "tag": "table", "children": [{
"type": "element", "tag": "tbody", "children": [] "type": "element", "tag": "tbody", "children": []
}], "attributes": { }], "attributes": {
"class": {"type": "string", "value": "tw-csv-table"} "class": {"type": "string", "value": "tc-csv-table"}
} }
}] }]
}]; }];

View File

@ -62,6 +62,8 @@ exports.parse = function() {
} else { } else {
// Otherwise, the end of the definition is marked by the end of the line // Otherwise, the end of the definition is marked by the end of the line
reEnd = /(\r?\n)/mg; reEnd = /(\r?\n)/mg;
// Move past any whitespace
this.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);
} }
// Find the end of the definition // Find the end of the definition
reEnd.lastIndex = this.parser.pos; reEnd.lastIndex = this.parser.pos;

View File

@ -45,7 +45,7 @@ exports.init = function(parser) {
}; };
exports.parse = function() { exports.parse = function() {
var classes = ["tw-quote"]; var classes = ["tc-quote"];
// Get all the details of the match // Get all the details of the match
var reEndString = "^" + this.match[1] + "(?!<)"; var reEndString = "^" + this.match[1] + "(?!<)";
// Move past the <s // Move past the <s

View File

@ -42,7 +42,7 @@ exports.parse = function() {
type: "element", type: "element",
tag: "span", tag: "span",
attributes: { attributes: {
"class": {type: "string", value: "tw-inline-style"} "class": {type: "string", value: "tc-inline-style"}
}, },
children: tree children: tree
}; };

View File

@ -62,13 +62,13 @@ function SaverHandler(options) {
} }
// Install the save action handlers // Install the save action handlers
if($tw.browser) { if($tw.browser) {
$tw.rootWidget.addEventListener("tw-save-wiki",function(event) { $tw.rootWidget.addEventListener("tm-save-wiki",function(event) {
self.saveWiki({ self.saveWiki({
template: event.param, template: event.param,
downloadType: "text/plain" downloadType: "text/plain"
}); });
}); });
$tw.rootWidget.addEventListener("tw-download-file",function(event) { $tw.rootWidget.addEventListener("tm-download-file",function(event) {
self.saveWiki({ self.saveWiki({
method: "download", method: "download",
template: event.param, template: event.param,
@ -160,11 +160,11 @@ SaverHandler.prototype.isDirty = function() {
}; };
/* /*
Update the document body with the class "tw-dirty" if the wiki has unsaved/unsynced changes Update the document body with the class "tc-dirty" if the wiki has unsaved/unsynced changes
*/ */
SaverHandler.prototype.updateDirtyStatus = function() { SaverHandler.prototype.updateDirtyStatus = function() {
if($tw.browser) { if($tw.browser) {
$tw.utils.toggleClass(document.body,"tw-dirty",this.isDirty()); $tw.utils.toggleClass(document.body,"tc-dirty",this.isDirty());
} }
}; };

View File

@ -19,7 +19,7 @@ exports.after = ["startup"];
exports.synchronous = true; exports.synchronous = true;
exports.startup = function() { exports.startup = function() {
$tw.rootWidget.addEventListener("tw-set-password",function(event) { $tw.rootWidget.addEventListener("tm-set-password",function(event) {
$tw.passwordPrompt.createPrompt({ $tw.passwordPrompt.createPrompt({
serviceName: "Set a new password for this TiddlyWiki", serviceName: "Set a new password for this TiddlyWiki",
noUserName: true, noUserName: true,
@ -33,7 +33,7 @@ exports.startup = function() {
} }
}); });
}); });
$tw.rootWidget.addEventListener("tw-clear-password",function(event) { $tw.rootWidget.addEventListener("tm-clear-password",function(event) {
$tw.crypto.setPassword(null); $tw.crypto.setPassword(null);
}); });
// Ensure that $:/isEncrypted is maintained properly // Ensure that $:/isEncrypted is maintained properly

View File

@ -53,7 +53,7 @@ exports.startup = function() {
$tw.perf.report("mainRender",function() { $tw.perf.report("mainRender",function() {
$tw.pageWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TEMPLATE_TITLE,{document: document, parentWidget: $tw.rootWidget}); $tw.pageWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TEMPLATE_TITLE,{document: document, parentWidget: $tw.rootWidget});
$tw.pageContainer = document.createElement("div"); $tw.pageContainer = document.createElement("div");
$tw.utils.addClass($tw.pageContainer,"tw-page-container-wrapper"); $tw.utils.addClass($tw.pageContainer,"tc-page-container-wrapper");
document.body.insertBefore($tw.pageContainer,document.body.firstChild); document.body.insertBefore($tw.pageContainer,document.body.firstChild);
$tw.pageWidgetNode.render($tw.pageContainer,null); $tw.pageWidgetNode.render($tw.pageContainer,null);
})(); })();

View File

@ -22,22 +22,22 @@ exports.synchronous = true;
exports.startup = function() { exports.startup = function() {
// Install the modal message mechanism // Install the modal message mechanism
$tw.modal = new $tw.utils.Modal($tw.wiki); $tw.modal = new $tw.utils.Modal($tw.wiki);
$tw.rootWidget.addEventListener("tw-modal",function(event) { $tw.rootWidget.addEventListener("tm-modal",function(event) {
$tw.modal.display(event.param); $tw.modal.display(event.param);
}); });
// Install the notification mechanism // Install the notification mechanism
$tw.notifier = new $tw.utils.Notifier($tw.wiki); $tw.notifier = new $tw.utils.Notifier($tw.wiki);
$tw.rootWidget.addEventListener("tw-notify",function(event) { $tw.rootWidget.addEventListener("tm-notify",function(event) {
$tw.notifier.display(event.param); $tw.notifier.display(event.param);
}); });
// Install the scroller // Install the scroller
$tw.pageScroller = new $tw.utils.PageScroller(); $tw.pageScroller = new $tw.utils.PageScroller();
$tw.rootWidget.addEventListener("tw-scroll",function(event) { $tw.rootWidget.addEventListener("tm-scroll",function(event) {
$tw.pageScroller.handleEvent(event); $tw.pageScroller.handleEvent(event);
}); });
var fullscreen = $tw.utils.getFullScreenApis(); var fullscreen = $tw.utils.getFullScreenApis();
if(fullscreen) { if(fullscreen) {
$tw.rootWidget.addEventListener("tw-full-screen",function(event) { $tw.rootWidget.addEventListener("tm-full-screen",function(event) {
if(document[fullscreen._fullscreenElement]) { if(document[fullscreen._fullscreenElement]) {
document[fullscreen._exitFullscreen](); document[fullscreen._exitFullscreen]();
} else { } else {
@ -48,7 +48,7 @@ exports.startup = function() {
// If we're being viewed on a data: URI then give instructions for how to save // If we're being viewed on a data: URI then give instructions for how to save
if(document.location.protocol === "data:") { if(document.location.protocol === "data:") {
$tw.rootWidget.dispatchEvent({ $tw.rootWidget.dispatchEvent({
type: "tw-modal", type: "tm-modal",
param: "$:/language/Modals/SaveInstructions" param: "$:/language/Modals/SaveInstructions"
}); });
} }

View File

@ -49,27 +49,27 @@ exports.startup = function() {
openStartupTiddlers({defaultToCurrentStory: true}); openStartupTiddlers({defaultToCurrentStory: true});
} }
},false) },false)
// Listen for the tw-browser-refresh message // Listen for the tm-browser-refresh message
$tw.rootWidget.addEventListener("tw-browser-refresh",function(event) { $tw.rootWidget.addEventListener("tm-browser-refresh",function(event) {
window.location.reload(true); window.location.reload(true);
}); });
// Listen for the tw-home message // Listen for the tm-home message
$tw.rootWidget.addEventListener("tw-home",function(event) { $tw.rootWidget.addEventListener("tm-home",function(event) {
window.location.hash = ""; window.location.hash = "";
var storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE), var storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE),
storyList = $tw.wiki.filterTiddlers(storyFilter); storyList = $tw.wiki.filterTiddlers(storyFilter);
$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: "", list: storyList},$tw.wiki.getModificationFields()); $tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: "", list: storyList},$tw.wiki.getModificationFields());
}); });
// Listen for the tw-permalink message // Listen for the tm-permalink message
$tw.rootWidget.addEventListener("tw-permalink",function(event) { $tw.rootWidget.addEventListener("tm-permalink",function(event) {
updateLocationHash({ updateLocationHash({
updateAddressBar: "permalink", updateAddressBar: "permalink",
updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(), updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(),
targetTiddler: event.param || event.tiddlerTitle targetTiddler: event.param || event.tiddlerTitle
}); });
}); });
// Listen for the tw-permaview message // Listen for the tm-permaview message
$tw.rootWidget.addEventListener("tw-permaview",function(event) { $tw.rootWidget.addEventListener("tm-permaview",function(event) {
updateLocationHash({ updateLocationHash({
updateAddressBar: "permaview", updateAddressBar: "permaview",
updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(), updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(),

View File

@ -26,7 +26,7 @@ ClassicStoryView.prototype.navigateTo = function(historyInfo) {
var listItemWidget = this.listWidget.children[listElementIndex], var listItemWidget = this.listWidget.children[listElementIndex],
targetElement = listItemWidget.findFirstDomNode(); targetElement = listItemWidget.findFirstDomNode();
// Scroll the node into view // Scroll the node into view
this.listWidget.dispatchEvent({type: "tw-scroll", target: targetElement}); this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
}; };
ClassicStoryView.prototype.insert = function(widget) { ClassicStoryView.prototype.insert = function(widget) {

View File

@ -24,7 +24,7 @@ PopStoryView.prototype.navigateTo = function(historyInfo) {
var listItemWidget = this.listWidget.children[listElementIndex], var listItemWidget = this.listWidget.children[listElementIndex],
targetElement = listItemWidget.findFirstDomNode(); targetElement = listItemWidget.findFirstDomNode();
// Scroll the node into view // Scroll the node into view
this.listWidget.dispatchEvent({type: "tw-scroll", target: targetElement}); this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
}; };
PopStoryView.prototype.insert = function(widget) { PopStoryView.prototype.insert = function(widget) {

View File

@ -48,13 +48,13 @@ function Syncer(options) {
return confirmationMessage; return confirmationMessage;
}); });
// Listen out for login/logout/refresh events in the browser // Listen out for login/logout/refresh events in the browser
$tw.rootWidget.addEventListener("tw-login",function() { $tw.rootWidget.addEventListener("tm-login",function() {
self.handleLoginEvent(); self.handleLoginEvent();
}); });
$tw.rootWidget.addEventListener("tw-logout",function() { $tw.rootWidget.addEventListener("tm-logout",function() {
self.handleLogoutEvent(); self.handleLogoutEvent();
}); });
$tw.rootWidget.addEventListener("tw-server-refresh",function() { $tw.rootWidget.addEventListener("tm-server-refresh",function() {
self.handleRefreshEvent(); self.handleRefreshEvent();
}); });
} }
@ -109,11 +109,11 @@ Syncer.prototype.isDirty = function() {
}; };
/* /*
Update the document body with the class "tw-dirty" if the wiki has unsaved/unsynced changes Update the document body with the class "tc-dirty" if the wiki has unsaved/unsynced changes
*/ */
Syncer.prototype.updateDirtyStatus = function() { Syncer.prototype.updateDirtyStatus = function() {
if($tw.browser) { if($tw.browser) {
$tw.utils.toggleClass(document.body,"tw-dirty",this.isDirty()); $tw.utils.toggleClass(document.body,"tc-dirty",this.isDirty());
} }
}; };

View File

@ -113,7 +113,7 @@ Modal.prototype.display = function(title,options) {
attributes: { attributes: {
message: { message: {
type: "string", type: "string",
value: "tw-close-tiddler" value: "tm-close-tiddler"
} }
}, },
children: [{ children: [{
@ -152,12 +152,12 @@ Modal.prototype.display = function(title,options) {
document.body.removeChild(wrapper); document.body.removeChild(wrapper);
} }
},duration); },duration);
// Don't let anyone else handle the tw-close-tiddler message // Don't let anyone else handle the tm-close-tiddler message
return false; return false;
}; };
headerWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); headerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
bodyWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); bodyWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
footerWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); footerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
// Set the initial styles for the message // Set the initial styles for the message
$tw.utils.setStyle(modalBackdrop,[ $tw.utils.setStyle(modalBackdrop,[
{opacity: "0"} {opacity: "0"}
@ -189,7 +189,7 @@ Modal.prototype.display = function(title,options) {
Modal.prototype.adjustPageClass = function() { Modal.prototype.adjustPageClass = function() {
if($tw.pageContainer) { if($tw.pageContainer) {
$tw.utils.toggleClass($tw.pageContainer,"tw-modal-displayed",this.modalCount > 0); $tw.utils.toggleClass($tw.pageContainer,"tc-modal-displayed",this.modalCount > 0);
} }
}; };

View File

@ -35,7 +35,7 @@ Notifier.prototype.display = function(title,options) {
return; return;
} }
// Add classes // Add classes
$tw.utils.addClass(notification,"tw-notification"); $tw.utils.addClass(notification,"tc-notification");
// Render the body of the notification // Render the body of the notification
var widgetNode = this.wiki.makeTranscludeWidget(title,{parentWidget: $tw.rootWidget, document: document}); var widgetNode = this.wiki.makeTranscludeWidget(title,{parentWidget: $tw.rootWidget, document: document});
widgetNode.render(notification,null); widgetNode.render(notification,null);

View File

@ -26,15 +26,15 @@ Popup.prototype.show = function(options) {
this.title = options.title; this.title = options.title;
this.wiki = options.wiki; this.wiki = options.wiki;
this.anchorDomNode = options.domNode; this.anchorDomNode = options.domNode;
$tw.utils.addClass(this.anchorDomNode,"tw-popup"); $tw.utils.addClass(this.anchorDomNode,"tc-popup");
this.rootElement.addEventListener("click",this,false); this.rootElement.addEventListener("click",this,false);
}; };
Popup.prototype.handleEvent = function(event) { Popup.prototype.handleEvent = function(event) {
// Dismiss the popup if we get a click on an element that doesn't have .tw-popup class // Dismiss the popup if we get a click on an element that doesn't have .tc-popup class
if(event.type === "click") { if(event.type === "click") {
var node = event.target; var node = event.target;
while(node && !$tw.utils.hasClass(node,"tw-popup")) { while(node && !$tw.utils.hasClass(node,"tc-popup")) {
node = node.parentNode; node = node.parentNode;
} }
if(!node) { if(!node) {
@ -45,7 +45,7 @@ Popup.prototype.handleEvent = function(event) {
Popup.prototype.cancel = function() { Popup.prototype.cancel = function() {
if(this.anchorDomNode) { if(this.anchorDomNode) {
$tw.utils.removeClass(this.anchorDomNode,"tw-popup"); $tw.utils.removeClass(this.anchorDomNode,"tc-popup");
this.anchorDomNode = null; this.anchorDomNode = null;
} }
this.rootElement.removeEventListener("click",this,false); this.rootElement.removeEventListener("click",this,false);

View File

@ -13,7 +13,7 @@ Module that creates a $tw.utils.Scroller object prototype that manages scrolling
"use strict"; "use strict";
/* /*
Event handler for when the `tw-scroll` event hits the document body Event handler for when the `tm-scroll` event hits the document body
*/ */
var PageScroller = function() { var PageScroller = function() {
this.idRequestFrame = null; this.idRequestFrame = null;
@ -44,7 +44,7 @@ PageScroller.prototype.cancelScroll = function() {
Handle an event Handle an event
*/ */
PageScroller.prototype.handleEvent = function(event) { PageScroller.prototype.handleEvent = function(event) {
if(event.type === "tw-scroll") { if(event.type === "tm-scroll") {
return this.scrollIntoView(event.target); return this.scrollIntoView(event.target);
} }
return true; return true;

View File

@ -40,7 +40,7 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
// Add a click event handler // Add a click event handler
domNode.addEventListener("change",function (event) { domNode.addEventListener("change",function (event) {
self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) { self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) {
self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)});
}); });
return false; return false;
},false); },false);

View File

@ -101,7 +101,7 @@ ButtonWidget.prototype.isPoppedUp = function() {
ButtonWidget.prototype.navigateTo = function(event) { ButtonWidget.prototype.navigateTo = function(event) {
var bounds = this.domNodes[0].getBoundingClientRect(); var bounds = this.domNodes[0].getBoundingClientRect();
this.dispatchEvent({ this.dispatchEvent({
type: "tw-navigate", type: "tm-navigate",
navigateTo: this.to, navigateTo: this.to,
navigateFromTitle: this.getVariable("storyTiddler"), navigateFromTitle: this.getVariable("storyTiddler"),
navigateFromNode: this, navigateFromNode: this,

View File

@ -35,7 +35,7 @@ DropZoneWidget.prototype.render = function(parent,nextSibling) {
this.execute(); this.execute();
// Create element // Create element
var domNode = this.document.createElement("div"); var domNode = this.document.createElement("div");
domNode.className = "tw-dropzone"; domNode.className = "tc-dropzone";
// Add event handlers // Add event handlers
$tw.utils.addEventListeners(domNode,[ $tw.utils.addEventListeners(domNode,[
{name: "dragenter", handlerObject: this, handlerMethod: "handleDragEnterEvent"}, {name: "dragenter", handlerObject: this, handlerMethod: "handleDragEnterEvent"},
@ -57,7 +57,7 @@ DropZoneWidget.prototype.handleDragEnterEvent = function(event) {
this.dragEnterCount = (this.dragEnterCount || 0) + 1; this.dragEnterCount = (this.dragEnterCount || 0) + 1;
// If we're entering for the first time we need to apply highlighting // If we're entering for the first time we need to apply highlighting
if(this.dragEnterCount === 1) { if(this.dragEnterCount === 1) {
$tw.utils.addClass(this.domNodes[0],"tw-dragover"); $tw.utils.addClass(this.domNodes[0],"tc-dragover");
} }
// Tell the browser that we're ready to handle the drop // Tell the browser that we're ready to handle the drop
event.preventDefault(); event.preventDefault();
@ -80,7 +80,7 @@ DropZoneWidget.prototype.handleDragLeaveEvent = function(event) {
this.dragEnterCount = (this.dragEnterCount || 0) - 1; this.dragEnterCount = (this.dragEnterCount || 0) - 1;
// Remove highlighting if we're leaving externally // Remove highlighting if we're leaving externally
if(this.dragEnterCount <= 0) { if(this.dragEnterCount <= 0) {
$tw.utils.removeClass(this.domNodes[0],"tw-dragover"); $tw.utils.removeClass(this.domNodes[0],"tc-dragover");
} }
}; };
@ -94,10 +94,10 @@ DropZoneWidget.prototype.handleDropEvent = function(event) {
// Reset the enter count // Reset the enter count
this.dragEnterCount = 0; this.dragEnterCount = 0;
// Remove highlighting // Remove highlighting
$tw.utils.removeClass(this.domNodes[0],"tw-dragover"); $tw.utils.removeClass(this.domNodes[0],"tc-dragover");
// Import any files in the drop // Import any files in the drop
var numFiles = this.wiki.readFiles(dataTransfer.files,function(tiddlerFieldsArray) { var numFiles = this.wiki.readFiles(dataTransfer.files,function(tiddlerFieldsArray) {
self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)});
}); });
// Try to import the various data types we understand // Try to import the various data types we understand
if(numFiles === 0) { if(numFiles === 0) {
@ -122,7 +122,7 @@ DropZoneWidget.prototype.importData = function(dataTransfer) {
if(!tiddlerFields.title) { if(!tiddlerFields.title) {
tiddlerFields.title = this.wiki.generateNewTitle("Untitled"); tiddlerFields.title = this.wiki.generateNewTitle("Untitled");
} }
this.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify([tiddlerFields])}); this.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify([tiddlerFields])});
return; return;
} }
} }
@ -188,7 +188,7 @@ DropZoneWidget.prototype.handlePasteEvent = function(event) {
if(item.kind === "file") { if(item.kind === "file") {
// Import any files // Import any files
this.wiki.readFile(item.getAsFile(),function(tiddlerFieldsArray) { this.wiki.readFile(item.getAsFile(),function(tiddlerFieldsArray) {
self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)});
}); });
} else if(item.kind === "string") { } else if(item.kind === "string") {
// Create tiddlers from string items // Create tiddlers from string items
@ -199,7 +199,7 @@ DropZoneWidget.prototype.handlePasteEvent = function(event) {
text: str, text: str,
type: type type: type
}; };
self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify([tiddlerFields])}); self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify([tiddlerFields])});
}); });
} }
} }

View File

@ -45,7 +45,7 @@ EditBitmapWidget.prototype.render = function(parent,nextSibling) {
// Create our element // Create our element
this.canvasDomNode = $tw.utils.domMaker("canvas",{ this.canvasDomNode = $tw.utils.domMaker("canvas",{
document: this.document, document: this.document,
"class":"tw-edit-bitmapeditor", "class":"tc-edit-bitmapeditor",
eventListeners: [{ eventListeners: [{
name: "touchstart", handlerObject: this, handlerMethod: "handleTouchStartEvent" name: "touchstart", handlerObject: this, handlerMethod: "handleTouchStartEvent"
},{ },{
@ -62,14 +62,14 @@ EditBitmapWidget.prototype.render = function(parent,nextSibling) {
}); });
this.widthDomNode = $tw.utils.domMaker("input",{ this.widthDomNode = $tw.utils.domMaker("input",{
document: this.document, document: this.document,
"class":"tw-edit-bitmapeditor-width", "class":"tc-edit-bitmapeditor-width",
eventListeners: [{ eventListeners: [{
name: "change", handlerObject: this, handlerMethod: "handleWidthChangeEvent" name: "change", handlerObject: this, handlerMethod: "handleWidthChangeEvent"
}] }]
}); });
this.heightDomNode = $tw.utils.domMaker("input",{ this.heightDomNode = $tw.utils.domMaker("input",{
document: this.document, document: this.document,
"class":"tw-edit-bitmapeditor-height", "class":"tc-edit-bitmapeditor-height",
eventListeners: [{ eventListeners: [{
name: "change", handlerObject: this, handlerMethod: "handleHeightChangeEvent" name: "change", handlerObject: this, handlerMethod: "handleHeightChangeEvent"
}] }]

View File

@ -17,10 +17,10 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget;
var FieldManglerWidget = function(parseTreeNode,options) { var FieldManglerWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options); this.initialise(parseTreeNode,options);
this.addEventListeners([ this.addEventListeners([
{type: "tw-remove-field", handler: "handleRemoveFieldEvent"}, {type: "tm-remove-field", handler: "handleRemoveFieldEvent"},
{type: "tw-add-field", handler: "handleAddFieldEvent"}, {type: "tm-add-field", handler: "handleAddFieldEvent"},
{type: "tw-remove-tag", handler: "handleRemoveTagEvent"}, {type: "tm-remove-tag", handler: "handleRemoveTagEvent"},
{type: "tw-add-tag", handler: "handleAddTagEvent"} {type: "tm-add-tag", handler: "handleAddTagEvent"}
]); ]);
}; };

View File

@ -37,7 +37,7 @@ KeyboardWidget.prototype.render = function(parent,nextSibling) {
var domNode = this.document.createElement("div"); var domNode = this.document.createElement("div");
// Assign classes // Assign classes
var classes = (this["class"] || "").split(" "); var classes = (this["class"] || "").split(" ");
classes.push("tw-keyboard"); classes.push("tc-keyboard");
domNode.className = classes.join(" "); domNode.className = classes.join(" ");
// Add a keyboard event handler // Add a keyboard event handler
domNode.addEventListener("keydown",function (event) { domNode.addEventListener("keydown",function (event) {

View File

@ -33,8 +33,8 @@ LinkWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes(); this.computeAttributes();
// Execute our logic // Execute our logic
this.execute(); this.execute();
// Get the value of the tw-wikilinks configuration macro // Get the value of the tv-wikilinks configuration macro
var wikiLinksMacro = this.getVariable("tw-wikilinks"), var wikiLinksMacro = this.getVariable("tv-wikilinks"),
useWikiLinks = wikiLinksMacro ? !(wikiLinksMacro.trim() === "no") : true; useWikiLinks = wikiLinksMacro ? !(wikiLinksMacro.trim() === "no") : true;
// Render the link if required // Render the link if required
if(useWikiLinks) { if(useWikiLinks) {
@ -73,14 +73,14 @@ LinkWidget.prototype.renderLink = function(parent,nextSibling) {
} }
domNode.setAttribute("class",classes.join(" ")); domNode.setAttribute("class",classes.join(" "));
// Set an href // Set an href
var wikiLinkTemplateMacro = this.getVariable("tw-wikilink-template"), var wikiLinkTemplateMacro = this.getVariable("tv-wikilink-template"),
wikiLinkTemplate = wikiLinkTemplateMacro ? wikiLinkTemplateMacro.trim() : "#$uri_encoded$", wikiLinkTemplate = wikiLinkTemplateMacro ? wikiLinkTemplateMacro.trim() : "#$uri_encoded$",
wikiLinkText = wikiLinkTemplate.replace("$uri_encoded$",encodeURIComponent(this.to)); wikiLinkText = wikiLinkTemplate.replace("$uri_encoded$",encodeURIComponent(this.to));
wikiLinkText = wikiLinkText.replace("$uri_doubleencoded$",encodeURIComponent(encodeURIComponent(this.to))); wikiLinkText = wikiLinkText.replace("$uri_doubleencoded$",encodeURIComponent(encodeURIComponent(this.to)));
domNode.setAttribute("href",wikiLinkText); domNode.setAttribute("href",wikiLinkText);
// Set the tooltip // Set the tooltip
// HACK: Performance issues with re-parsing the tooltip prevent us defaulting the tooltip to "<$transclude field='tooltip'><$transclude field='title'/></$transclude>" // HACK: Performance issues with re-parsing the tooltip prevent us defaulting the tooltip to "<$transclude field='tooltip'><$transclude field='title'/></$transclude>"
var tooltipWikiText = this.tooltip || this.getVariable("tw-wikilink-tooltip"); var tooltipWikiText = this.tooltip || this.getVariable("tv-wikilink-tooltip");
if(tooltipWikiText) { if(tooltipWikiText) {
var tooltipText = this.wiki.renderText("text/plain","text/vnd.tiddlywiki",tooltipWikiText,{ var tooltipText = this.wiki.renderText("text/plain","text/vnd.tiddlywiki",tooltipWikiText,{
parseAsInline: true, parseAsInline: true,
@ -110,7 +110,7 @@ LinkWidget.prototype.handleClickEvent = function (event) {
// Send the click on it's way as a navigate event // Send the click on it's way as a navigate event
var bounds = this.domNodes[0].getBoundingClientRect(); var bounds = this.domNodes[0].getBoundingClientRect();
this.dispatchEvent({ this.dispatchEvent({
type: "tw-navigate", type: "tm-navigate",
navigateTo: this.to, navigateTo: this.to,
navigateFromTitle: this.getVariable("storyTiddler"), navigateFromTitle: this.getVariable("storyTiddler"),
navigateFromNode: this, navigateFromNode: this,
@ -129,15 +129,15 @@ LinkWidget.prototype.handleDragStartEvent = function(event) {
$tw.utils.addClass(event.target,"tc-tiddlylink-dragging"); $tw.utils.addClass(event.target,"tc-tiddlylink-dragging");
// Create the drag image elements // Create the drag image elements
this.dragImage = this.document.createElement("div"); this.dragImage = this.document.createElement("div");
this.dragImage.className = "tw-tiddler-dragger"; this.dragImage.className = "tc-tiddler-dragger";
var inner = this.document.createElement("div"); var inner = this.document.createElement("div");
inner.className = "tw-tiddler-dragger-inner"; inner.className = "tc-tiddler-dragger-inner";
inner.appendChild(this.document.createTextNode(this.to)); inner.appendChild(this.document.createTextNode(this.to));
this.dragImage.appendChild(inner); this.dragImage.appendChild(inner);
this.document.body.appendChild(this.dragImage); this.document.body.appendChild(this.dragImage);
// Astoundingly, we need to cover the dragger up: http://www.kryogenix.org/code/browser/custom-drag-image.html // Astoundingly, we need to cover the dragger up: http://www.kryogenix.org/code/browser/custom-drag-image.html
var cover = this.document.createElement("div"); var cover = this.document.createElement("div");
cover.className = "tw-tiddler-dragger-cover"; cover.className = "tc-tiddler-dragger-cover";
cover.style.left = (inner.offsetLeft - 16) + "px"; cover.style.left = (inner.offsetLeft - 16) + "px";
cover.style.top = (inner.offsetTop - 16) + "px"; cover.style.top = (inner.offsetTop - 16) + "px";
cover.style.width = (inner.offsetWidth + 32) + "px"; cover.style.width = (inner.offsetWidth + 32) + "px";

View File

@ -17,7 +17,7 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget;
var LinkCatcherWidget = function(parseTreeNode,options) { var LinkCatcherWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options); this.initialise(parseTreeNode,options);
this.addEventListeners([ this.addEventListeners([
{type: "tw-navigate", handler: "handleNavigateEvent"} {type: "tm-navigate", handler: "handleNavigateEvent"}
]); ]);
}; };
@ -63,7 +63,7 @@ LinkCatcherWidget.prototype.refresh = function(changedTiddlers) {
}; };
/* /*
Handle a tw-navigate event Handle a tm-navigate event
*/ */
LinkCatcherWidget.prototype.handleNavigateEvent = function(event) { LinkCatcherWidget.prototype.handleNavigateEvent = function(event) {
if(this.catchTo) { if(this.catchTo) {

View File

@ -19,17 +19,17 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget;
var NavigatorWidget = function(parseTreeNode,options) { var NavigatorWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options); this.initialise(parseTreeNode,options);
this.addEventListeners([ this.addEventListeners([
{type: "tw-navigate", handler: "handleNavigateEvent"}, {type: "tm-navigate", handler: "handleNavigateEvent"},
{type: "tw-edit-tiddler", handler: "handleEditTiddlerEvent"}, {type: "tm-edit-tiddler", handler: "handleEditTiddlerEvent"},
{type: "tw-delete-tiddler", handler: "handleDeleteTiddlerEvent"}, {type: "tm-delete-tiddler", handler: "handleDeleteTiddlerEvent"},
{type: "tw-save-tiddler", handler: "handleSaveTiddlerEvent"}, {type: "tm-save-tiddler", handler: "handleSaveTiddlerEvent"},
{type: "tw-cancel-tiddler", handler: "handleCancelTiddlerEvent"}, {type: "tm-cancel-tiddler", handler: "handleCancelTiddlerEvent"},
{type: "tw-close-tiddler", handler: "handleCloseTiddlerEvent"}, {type: "tm-close-tiddler", handler: "handleCloseTiddlerEvent"},
{type: "tw-close-all-tiddlers", handler: "handleCloseAllTiddlersEvent"}, {type: "tm-close-all-tiddlers", handler: "handleCloseAllTiddlersEvent"},
{type: "tw-close-other-tiddlers", handler: "handleCloseOtherTiddlersEvent"}, {type: "tm-close-other-tiddlers", handler: "handleCloseOtherTiddlersEvent"},
{type: "tw-new-tiddler", handler: "handleNewTiddlerEvent"}, {type: "tm-new-tiddler", handler: "handleNewTiddlerEvent"},
{type: "tw-import-tiddlers", handler: "handleImportTiddlersEvent"}, {type: "tm-import-tiddlers", handler: "handleImportTiddlersEvent"},
{type: "tw-perform-import", handler: "handlePerformImportEvent"} {type: "tm-perform-import", handler: "handlePerformImportEvent"}
]); ]);
}; };
@ -140,7 +140,7 @@ NavigatorWidget.prototype.addToHistory = function(title,fromPageRect) {
}; };
/* /*
Handle a tw-navigate event Handle a tm-navigate event
*/ */
NavigatorWidget.prototype.handleNavigateEvent = function(event) { NavigatorWidget.prototype.handleNavigateEvent = function(event) {
this.addToStory(event.navigateTo,event.navigateFromTitle); this.addToStory(event.navigateTo,event.navigateFromTitle);
@ -310,7 +310,7 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
)); ));
} }
if(!isRename && !this.wiki.isDraftModified(title)) { if(!isRename && !this.wiki.isDraftModified(title)) {
event.type = "tw-cancel-tiddler"; event.type = "tm-cancel-tiddler";
this.dispatchEvent(event); this.dispatchEvent(event);
} else if(isConfirmed) { } else if(isConfirmed) {
// Save the draft tiddler as the real tiddler // Save the draft tiddler as the real tiddler
@ -439,7 +439,7 @@ NavigatorWidget.prototype.handleImportTiddlersEvent = function(event) {
newFields.text = JSON.stringify(importData,null,$tw.config.preferences.jsonSpaces); newFields.text = JSON.stringify(importData,null,$tw.config.preferences.jsonSpaces);
this.wiki.addTiddler(new $tw.Tiddler(importTiddler,newFields)); this.wiki.addTiddler(new $tw.Tiddler(importTiddler,newFields));
// Update the story and history details // Update the story and history details
if(this.getVariable("tw-auto-open-on-import") !== "no") { if(this.getVariable("tv-auto-open-on-import") !== "no") {
var storyList = this.getStoryList(), var storyList = this.getStoryList(),
history = []; history = [];
// Add it to the story // Add it to the story

View File

@ -101,7 +101,7 @@ RadioWidget.prototype.execute = function() {
if(this.radioClass !== "") { if(this.radioClass !== "") {
this.radioClass += " "; this.radioClass += " ";
} }
this.radioClass += "tw-radio"; this.radioClass += "tc-radio";
// Make the child widgets // Make the child widgets
this.makeChildWidgets(); this.makeChildWidgets();
}; };

View File

@ -32,13 +32,13 @@ RevealWidget.prototype.render = function(parent,nextSibling) {
this.execute(); this.execute();
var domNode = this.document.createElement(this.parseTreeNode.isBlock ? "div" : "span"); var domNode = this.document.createElement(this.parseTreeNode.isBlock ? "div" : "span");
var classes = this["class"].split(" ") || []; var classes = this["class"].split(" ") || [];
classes.push("tw-reveal"); classes.push("tc-reveal");
domNode.className = classes.join(" "); domNode.className = classes.join(" ");
parent.insertBefore(domNode,nextSibling); parent.insertBefore(domNode,nextSibling);
this.renderChildren(domNode,null); this.renderChildren(domNode,null);
if(!domNode.isTiddlyWikiFakeDom && this.type === "popup" && this.isOpen) { if(!domNode.isTiddlyWikiFakeDom && this.type === "popup" && this.isOpen) {
this.positionPopup(domNode); this.positionPopup(domNode);
$tw.utils.addClass(domNode,"tw-popup"); // Make sure that clicks don't dismiss popups within the revealed content $tw.utils.addClass(domNode,"tc-popup"); // Make sure that clicks don't dismiss popups within the revealed content
} }
if(!this.isOpen) { if(!this.isOpen) {
domNode.setAttribute("hidden","true") domNode.setAttribute("hidden","true")
@ -187,7 +187,7 @@ RevealWidget.prototype.updateState = function() {
// Animate our DOM node // Animate our DOM node
if(!domNode.isTiddlyWikiFakeDom && this.type === "popup" && this.isOpen) { if(!domNode.isTiddlyWikiFakeDom && this.type === "popup" && this.isOpen) {
this.positionPopup(domNode); this.positionPopup(domNode);
$tw.utils.addClass(domNode,"tw-popup"); // Make sure that clicks don't dismiss popups within the revealed content $tw.utils.addClass(domNode,"tc-popup"); // Make sure that clicks don't dismiss popups within the revealed content
} }
if(this.isOpen) { if(this.isOpen) {

View File

@ -18,7 +18,7 @@ var ScrollableWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options); this.initialise(parseTreeNode,options);
this.scaleFactor = 1; this.scaleFactor = 1;
this.addEventListeners([ this.addEventListeners([
{type: "tw-scroll", handler: "handleScrollEvent"} {type: "tm-scroll", handler: "handleScrollEvent"}
]); ]);
if($tw.browser) { if($tw.browser) {
this.requestAnimationFrame = window.requestAnimationFrame || this.requestAnimationFrame = window.requestAnimationFrame ||

View File

@ -30,7 +30,7 @@ TextNodeWidget.prototype.render = function(parent,nextSibling) {
this.parentDomNode = parent; this.parentDomNode = parent;
this.computeAttributes(); this.computeAttributes();
this.execute(); this.execute();
var text = this.getAttribute("text",this.parseTreeNode.text); var text = this.getAttribute("text",this.parseTreeNode.text || "");
text = text.replace(/\r/mg,""); text = text.replace(/\r/mg,"");
var textNode = this.document.createTextNode(text); var textNode = this.document.createTextNode(text);
parent.insertBefore(textNode,nextSibling); parent.insertBefore(textNode,nextSibling);

View File

@ -41,9 +41,9 @@ TiddlerWidget.prototype.execute = function() {
this.tiddlerTitle = this.getAttribute("tiddler",this.getVariable("currentTiddler")); this.tiddlerTitle = this.getAttribute("tiddler",this.getVariable("currentTiddler"));
// Set context variables // Set context variables
this.setVariable("currentTiddler",this.tiddlerTitle); this.setVariable("currentTiddler",this.tiddlerTitle);
this.setVariable("missingTiddlerClass",(this.wiki.tiddlerExists(this.tiddlerTitle) || this.wiki.isShadowTiddler(this.tiddlerTitle)) ? "tw-tiddler-exists" : "tw-tiddler-missing"); this.setVariable("missingTiddlerClass",(this.wiki.tiddlerExists(this.tiddlerTitle) || this.wiki.isShadowTiddler(this.tiddlerTitle)) ? "tc-tiddler-exists" : "tc-tiddler-missing");
this.setVariable("shadowTiddlerClass",this.wiki.isShadowTiddler(this.tiddlerTitle) ? "tw-tiddler-shadow" : ""); this.setVariable("shadowTiddlerClass",this.wiki.isShadowTiddler(this.tiddlerTitle) ? "tc-tiddler-shadow" : "");
this.setVariable("systemTiddlerClass",this.wiki.isSystemTiddler(this.tiddlerTitle) ? "tw-tiddler-system" : ""); this.setVariable("systemTiddlerClass",this.wiki.isSystemTiddler(this.tiddlerTitle) ? "tc-tiddler-system" : "");
this.setVariable("tiddlerTagClasses",this.getTagClasses()) this.setVariable("tiddlerTagClasses",this.getTagClasses())
// Construct the child widgets // Construct the child widgets
this.makeChildWidgets(); this.makeChildWidgets();
@ -57,7 +57,7 @@ TiddlerWidget.prototype.getTagClasses = function() {
if(tiddler) { if(tiddler) {
var tags = []; var tags = [];
$tw.utils.each(tiddler.fields.tags,function(tag) { $tw.utils.each(tiddler.fields.tags,function(tag) {
tags.push("tw-tagged-" + encodeURIComponent(tag)); tags.push("tc-tagged-" + encodeURIComponent(tag));
}); });
return tags.join(" "); return tags.join(" ");
} else { } else {

View File

@ -1,7 +1,10 @@
title: $:/core/templates/alltiddlers.template.html title: $:/core/templates/alltiddlers.template.html
type: text/vnd.tiddlywiki-html type: text/vnd.tiddlywiki-html
\define tw-wikilink-template() #$uri_encoded$ \define tv-wikilink-template() #$uri_encoded$
\define tv-config-toolbar-icons() no
\define tv-config-toolbar-text() no
\define tv-config-toolbar-class() tc-btn-invisible
\rules only filteredtranscludeinline transcludeinline \rules only filteredtranscludeinline transcludeinline
<!doctype html> <!doctype html>
<html> <html>
@ -19,7 +22,7 @@ type: text/vnd.tiddlywiki-html
{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}} {{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}
</style> </style>
</head> </head>
<body class="tw-body"> <body class="tc-body">
{{$:/StaticBanner||$:/core/templates/html-tiddler}} {{$:/StaticBanner||$:/core/templates/html-tiddler}}
<section class="tc-story-river"> <section class="tc-story-river">
{{$:/core/templates/alltiddlers.content||$:/core/templates/html-tiddler}} {{$:/core/templates/alltiddlers.content||$:/core/templates/html-tiddler}}

View File

@ -1,7 +1,10 @@
title: $:/core/templates/static.template.html title: $:/core/templates/static.template.html
type: text/vnd.tiddlywiki-html type: text/vnd.tiddlywiki-html
\define tw-wikilink-template() static/$uri_doubleencoded$.html \define tv-wikilink-template() static/$uri_doubleencoded$.html
\define tv-config-toolbar-icons() no
\define tv-config-toolbar-text() no
\define tv-config-toolbar-class() tc-btn-invisible
\rules only filteredtranscludeinline transcludeinline \rules only filteredtranscludeinline transcludeinline
<!doctype html> <!doctype html>
<html> <html>
@ -19,7 +22,7 @@ type: text/vnd.tiddlywiki-html
{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}} {{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}
</style> </style>
</head> </head>
<body class="tw-body"> <body class="tc-body">
{{$:/StaticBanner||$:/core/templates/html-tiddler}} {{$:/StaticBanner||$:/core/templates/html-tiddler}}
{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}} {{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}
</body> </body>

View File

@ -1,6 +1,9 @@
title: $:/core/templates/static.tiddler.html title: $:/core/templates/static.tiddler.html
\define tw-wikilink-template() $uri_doubleencoded$.html \define tv-wikilink-template() $uri_doubleencoded$.html
\define tv-config-toolbar-icons() no
\define tv-config-toolbar-text() no
\define tv-config-toolbar-class() tc-btn-invisible
`<!doctype html> `<!doctype html>
<html> <html>
<head> <head>
@ -12,7 +15,7 @@ title: $:/core/templates/static.tiddler.html
<link rel="stylesheet" href="static.css"> <link rel="stylesheet" href="static.css">
<title>`{{$:/core/wiki/title}}`</title> <title>`{{$:/core/wiki/title}}`</title>
</head> </head>
<body class="tw-body"> <body class="tc-body">
`{{$:/StaticBanner||$:/core/templates/html-tiddler}}` `{{$:/StaticBanner||$:/core/templates/html-tiddler}}`
<section class="tc-story-river"> <section class="tc-story-river">
`<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]"> `<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">

View File

@ -21,7 +21,7 @@ title: $:/core/templates/tiddlywiki5.html
<!--~~ Raw markup ~~--> <!--~~ Raw markup ~~-->
{{{ [all[shadows+tiddlers]tag[$:/core/wiki/rawmarkup]] [all[shadows+tiddlers]tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}} {{{ [all[shadows+tiddlers]tag[$:/core/wiki/rawmarkup]] [all[shadows+tiddlers]tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}
</head> </head>
<body class="tw-body"> <body class="tc-body">
<!--~~ Static styles ~~--> <!--~~ Static styles ~~-->
<div id="styleArea"> <div id="styleArea">
{{$:/boot/boot.css||$:/core/templates/css-tiddler}} {{$:/boot/boot.css||$:/core/templates/css-tiddler}}

View File

@ -1,5 +1,5 @@
title: $:/AdvancedSearch title: $:/AdvancedSearch
<div class="tw-advanced-search"> <div class="tc-advanced-search">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]" "$:/core/ui/AdvancedSearch/System">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]" "$:/core/ui/AdvancedSearch/System">>
</div> </div>

View File

@ -7,11 +7,11 @@ caption: {{$:/language/Search/Filter/Caption}}
<<lingo Filter/Hint>> <<lingo Filter/Hint>>
<div class="tw-search tw-advanced-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/> <$button popup=<<qualify "$:/state/filterDropdown">> class="tc-btn-invisible">{{$:/core/images/down-arrow}}</$button> <$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div> <div class="tc-search tc-advanced-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/> <$button popup=<<qualify "$:/state/filterDropdown">> class="tc-btn-invisible">{{$:/core/images/down-arrow}}</$button> <$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
<div class="tw-block-dropdown-wrapper"> <div class="tc-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/filterDropdown">> type="nomatch" text="" default=""> <$reveal state=<<qualify "$:/state/filterDropdown">> type="nomatch" text="" default="">
<div class="tw-block-dropdown tw-edit-type-dropdown"> <div class="tc-block-dropdown tc-edit-type-dropdown">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Filter]]"><$link to={{!!filter}}><$transclude field="description"/></$link> <$list filter="[all[shadows+tiddlers]tag[$:/tags/Filter]]"><$link to={{!!filter}}><$transclude field="description"/></$link>
</$list> </$list>
</div> </div>
@ -21,7 +21,7 @@ caption: {{$:/language/Search/Filter/Caption}}
</$linkcatcher> </$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results"> <div class="tc-search-results">
<<lingo Filter/Matches>> <<lingo Filter/Matches>>
<$list filter={{$:/temp/advancedsearch}} template="$:/core/ui/ListItemTemplate"/> <$list filter={{$:/temp/advancedsearch}} template="$:/core/ui/ListItemTemplate"/>
</div> </div>

View File

@ -7,13 +7,13 @@ caption: {{$:/language/Search/Shadows/Caption}}
<<lingo Shadows/Hint>> <<lingo Shadows/Hint>>
<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div> <div class="tc-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher> </$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results"> <div class="tc-search-results">
<<lingo Shadows/Matches>> <<lingo Shadows/Matches>>

View File

@ -7,13 +7,13 @@ caption: {{$:/language/Search/Standard/Caption}}
<<lingo Standard/Hint>> <<lingo Standard/Hint>>
<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div> <div class="tc-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher> </$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results"> <div class="tc-search-results">
<<lingo Standard/Matches>> <<lingo Standard/Matches>>

View File

@ -7,13 +7,13 @@ caption: {{$:/language/Search/System/Caption}}
<<lingo System/Hint>> <<lingo System/Hint>>
<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div> <div class="tc-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher> </$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results"> <div class="tc-search-results">
<<lingo System/Matches>> <<lingo System/Matches>>

View File

@ -1,14 +1,14 @@
title: $:/core/ui/AlertTemplate title: $:/core/ui/AlertTemplate
<div class="tw-alert"> <div class="tc-alert">
<div class="tw-alert-toolbar"> <div class="tc-alert-toolbar">
<$button message="tw-delete-tiddler" class="tc-btn-invisible"> <$button message="tm-delete-tiddler" class="tc-btn-invisible">
{{$:/core/images/delete-button}}</$button> {{$:/core/images/delete-button}}</$button>
</div> </div>
<div class="tw-alert-subtitle"> <div class="tc-alert-subtitle">
<$view field="component"/> - <$view field="modified" format="date" template="0hh:0mm:0ss DD MM YYYY"/> <$reveal type="nomatch" state="!!count" text=""><span class="tw-alert-highlight">(count: <$view field="count"/>)</span></$reveal> <$view field="component"/> - <$view field="modified" format="date" template="0hh:0mm:0ss DD MM YYYY"/> <$reveal type="nomatch" state="!!count" text=""><span class="tc-alert-highlight">(count: <$view field="count"/>)</span></$reveal>
</div> </div>
<div class="tw-alert-body"> <div class="tc-alert-body">
<$transclude/> <$transclude/>

View File

@ -1,7 +1,7 @@
title: $:/core/ui/BinaryWarning title: $:/core/ui/BinaryWarning
\define lingo-base() $:/language/BinaryWarning/ \define lingo-base() $:/language/BinaryWarning/
<div class="tw-binary-warning"> <div class="tc-binary-warning">
<<lingo Prompt>> <<lingo Prompt>>

View File

@ -1,5 +1,5 @@
title: $:/ControlPanel title: $:/ControlPanel
<div class="tw-control-panel"> <div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">>
</div> </div>

View File

@ -4,6 +4,6 @@ caption: {{$:/language/ControlPanel/Advanced/Caption}}
{{$:/language/ControlPanel/Advanced/Hint}} {{$:/language/ControlPanel/Advanced/Hint}}
<div class="tw-control-panel"> <div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/Advanced/TiddlerFields">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/Advanced/TiddlerFields">>
</div> </div>

View File

@ -4,6 +4,6 @@ caption: {{$:/language/ControlPanel/Appearance/Caption}}
{{$:/language/ControlPanel/Appearance/Hint}} {{$:/language/ControlPanel/Appearance/Hint}}
<div class="tw-control-panel"> <div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Theme">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Theme">>
</div> </div>

View File

@ -4,6 +4,6 @@ caption: {{$:/language/ControlPanel/Appearance/Toolbars/Caption}}
{{$:/language/ControlPanel/Appearance/Toolbars/Hint}} {{$:/language/ControlPanel/Appearance/Toolbars/Hint}}
<div class="tw-control-panel"> <div class="tc-control-panel">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tw-vertical">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tc-vertical">>
</div> </div>

View File

@ -9,13 +9,13 @@ $:/config/EditToolbarButtons/Visibility/$(listItem)$
{{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Hint}} {{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Hint}}
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tw-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox> <$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list> </$list>

View File

@ -9,13 +9,13 @@ $:/config/PageControlButtons/Visibility/$(listItem)$
{{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Hint}} {{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Hint}}
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tw-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox> <$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list> </$list>

View File

@ -9,13 +9,13 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
{{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Hint}} {{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Hint}}
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tw-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox> <$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>> field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list> </$list>

View File

@ -16,24 +16,24 @@ $(currentTiddler)$/icon
$:/config/Plugins/Disabled/$(currentTiddler)$ $:/config/Plugins/Disabled/$(currentTiddler)$
\end \end
\define plugin-table-body(type,disabledMessage) \define plugin-table-body(type,disabledMessage)
<div class="tw-plugin-info-chunk"> <div class="tc-plugin-info-chunk">
<$reveal type="nomatch" state=<<popup-state>> text="yes"> <$reveal type="nomatch" state=<<popup-state>> text="yes">
<$button class="tc-btn-invisible btn-dropdown" set=<<popup-state>> setTo="yes"> <$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="yes">
{{$:/core/images/right-arrow}} {{$:/core/images/right-arrow}}
</$button> </$button>
</$reveal> </$reveal>
<$reveal type="match" state=<<popup-state>> text="yes"> <$reveal type="match" state=<<popup-state>> text="yes">
<$button class="tc-btn-invisible btn-dropdown" set=<<popup-state>> setTo="no"> <$button class="tc-btn-invisible tc-btn-dropdown" set=<<popup-state>> setTo="no">
{{$:/core/images/down-arrow}} {{$:/core/images/down-arrow}}
</$button> </$button>
</$reveal> </$reveal>
</div> </div>
<div class="tw-plugin-info-chunk"> <div class="tc-plugin-info-chunk">
<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>> <$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/> <$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
</$transclude> </$transclude>
</div> </div>
<div class="tw-plugin-info-chunk"> <div class="tc-plugin-info-chunk">
<div> <div>
''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$ ''<$view field="description"><$view field="title"/></$view>'' $disabledMessage$
</div> </div>
@ -50,17 +50,17 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<<lingo "Empty/Hint">>> <$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<<lingo "Empty/Hint">>>
<$set name="popup-state" value=<<popup-state-macro>>> <$set name="popup-state" value=<<popup-state-macro>>>
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes"> <$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">
<$link to={{!!title}} class="tw-plugin-info"> <$link to={{!!title}} class="tc-plugin-info">
<<plugin-table-body type:"$type$">> <<plugin-table-body type:"$type$">>
</$link> </$link>
</$reveal> </$reveal>
<$reveal type="match" state=<<plugin-disable-title>> text="yes"> <$reveal type="match" state=<<plugin-disable-title>> text="yes">
<$link to={{!!title}} class="tw-plugin-info tw-plugin-info-disabled"> <$link to={{!!title}} class="tc-plugin-info tc-plugin-info-disabled">
<<plugin-table-body type:"$type$" disabledMessage:"<$macrocall $name='lingo' title='Disabled/Status'/>">> <<plugin-table-body type:"$type$" disabledMessage:"<$macrocall $name='lingo' title='Disabled/Status'/>">>
</$link> </$link>
</$reveal> </$reveal>
<$reveal type="match" text="yes" state=<<popup-state>>> <$reveal type="match" text="yes" state=<<popup-state>>>
<div class="tw-plugin-info-dropdown"> <div class="tc-plugin-info-dropdown">
<$list filter="[all[current]] -[[$:/core]]"> <$list filter="[all[current]] -[[$:/core]]">
<div style="float:right;"> <div style="float:right;">
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes"> <$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">

View File

@ -11,7 +11,7 @@ caption: {{$:/language/ControlPanel/Tools/Caption}}
! <<lingo Export/Heading>> ! <<lingo Export/Heading>>
<$button message="tw-download-file" param="$:/core/templates/alltiddlers.template.html" class="tc-btn-big-green"><<lingo Export/AllAsStaticHTML/Caption>> {{$:/core/images/save-button}}</$button> <$button message="tm-download-file" param="$:/core/templates/alltiddlers.template.html" class="tc-btn-big-green"><<lingo Export/AllAsStaticHTML/Caption>> {{$:/core/images/save-button}}</$button>
! <<lingo Encryption/Heading>> ! <<lingo Encryption/Heading>>

View File

@ -1,12 +1,12 @@
title: $:/core/ui/EditTemplate title: $:/core/ui/EditTemplate
\define frame-classes() \define frame-classes()
tw-tiddler-frame tw-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$
\end \end
<div class=<<frame-classes>>> <div class=<<frame-classes>>>
<$set name="storyTiddler" value=<<currentTiddler>>> <$set name="storyTiddler" value=<<currentTiddler>>>
<$keyboard key="escape" message="tw-cancel-tiddler"> <$keyboard key="escape" message="tm-cancel-tiddler">
<$keyboard key="ctrl+enter" message="tw-save-tiddler"> <$keyboard key="ctrl+enter" message="tm-save-tiddler">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem">
<$transclude tiddler=<<listItem>>/> <$transclude tiddler=<<listItem>>/>
</$list> </$list>

View File

@ -4,13 +4,13 @@ tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Body/ \define lingo-base() $:/language/EditTemplate/Body/
<$list filter="[is[current]has[_canonical_uri]]"> <$list filter="[is[current]has[_canonical_uri]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo External/Hint>> <<lingo External/Hint>>
<a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a> <a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a>
<$edit-text field="_canonical_uri" class="tw-edit-fields"></$edit-text> <$edit-text field="_canonical_uri" class="tc-edit-fields"></$edit-text>
</div> </div>
@ -20,17 +20,17 @@ tags: $:/tags/EditTemplate
<$reveal state="$:/state/showeditpreview" type="match" text="yes"> <$reveal state="$:/state/showeditpreview" type="match" text="yes">
<em class="tw-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="no"><<lingo Preview/Button/Hide>></$button> <em class="tc-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="no"><<lingo Preview/Button/Hide>></$button>
<div class="tw-tiddler-preview"> <div class="tc-tiddler-preview">
<div class="tw-tiddler-preview-preview"> <div class="tc-tiddler-preview-preview">
<$transclude /> <$transclude />
</div> </div>
<div class="tw-tiddler-preview-edit"> <div class="tc-tiddler-preview-edit">
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/> <$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
</div> </div>
@ -40,8 +40,8 @@ tags: $:/tags/EditTemplate
<$reveal state="$:/state/showeditpreview" type="nomatch" text="yes"> <$reveal state="$:/state/showeditpreview" type="nomatch" text="yes">
<em class="tw-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><<lingo Preview/Button/Show>></$button> <em class="tc-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><<lingo Preview/Button/Show>></$button>
<$edit field="text" class="tw-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/> <$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
</$reveal> </$reveal>

View File

@ -4,8 +4,8 @@ tags: $:/tags/EditTemplate
\define config-title() \define config-title()
$:/config/EditToolbarButtons/Visibility/$(listItem)$ $:/config/EditToolbarButtons/Visibility/$(listItem)$
\end \end
<div class="tw-tiddler-title"> <div class="tc-tiddler-title">
<$view field="title"/> <$view field="title"/>
<span class="tw-tiddler-controls tc-titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list></span> <span class="tc-tiddler-controls tc-titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list></span>
<div style="clear: both;"></div> <div style="clear: both;"></div>
</div> </div>

View File

@ -9,19 +9,19 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$
[[hide]] -[title{$(config-title)$}] [[hide]] -[title{$(config-title)$}]
\end \end
<$fieldmangler> <$fieldmangler>
<div class="tw-edit-fields"> <div class="tc-edit-fields">
<table class="tw-edit-fields"> <table class="tc-edit-fields">
<tbody> <tbody>
<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField"> <$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField">
<$list filter=<<config-filter>> variable="temp"> <$list filter=<<config-filter>> variable="temp">
<tr class="tw-edit-field"> <tr class="tc-edit-field">
<td class="tw-edit-field-name"> <td class="tc-edit-field-name">
<$text text=<<currentField>>/>:</td> <$text text=<<currentField>>/>:</td>
<td class="tw-edit-field-value"> <td class="tc-edit-field-value">
<$edit-text tiddler=<<currentTiddler>> field=<<currentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}}/> <$edit-text tiddler=<<currentTiddler>> field=<<currentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}}/>
</td> </td>
<td class="tw-edit-field-remove"> <td class="tc-edit-field-remove">
<$button message="tw-remove-field" param=<<currentField>> class="tc-btn-invisible">{{$:/core/images/delete-button}}</$button> <$button message="tm-remove-field" param=<<currentField>> class="tc-btn-invisible">{{$:/core/images/delete-button}}</$button>
</td> </td>
</tr> </tr>
</$list> </$list>
@ -30,13 +30,13 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$
</table> </table>
</div> </div>
<div class="tw-edit-field-add"> <div class="tc-edit-field-add">
<em class="tw-edit"> <em class="tc-edit">
<<lingo Fields/Add/Prompt>> <<lingo Fields/Add/Prompt>>
</em> <span class="tw-edit-field-add-name"> </em> <span class="tc-edit-field-add-name">
<$edit-text tiddler="$:/temp/newfieldname" tag="input" default="" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} class="tw-edit-texteditor"/> <$edit-text tiddler="$:/temp/newfieldname" tag="input" default="" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} class="tc-edit-texteditor"/>
</span> <span class="tw-edit-field-add-button"> </span> <span class="tc-edit-field-add-button">
<$button message="tw-add-field" param={{$:/temp/newfieldname}} set="$:/temp/newfieldname" setTo="" class=""> <$button message="tm-add-field" param={{$:/temp/newfieldname}} set="$:/temp/newfieldname" setTo="" class="">
<<lingo Fields/Add/Button>> <<lingo Fields/Add/Button>>
</$button> </$button>
</span> </span>

View File

@ -3,7 +3,7 @@ tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Shadow/ \define lingo-base() $:/language/EditTemplate/Shadow/
<$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]"> <$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo Warning>> <<lingo Warning>>
@ -11,7 +11,7 @@ tags: $:/tags/EditTemplate
</$list> </$list>
<$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]"> <$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo OverriddenWarning>> <<lingo OverriddenWarning>>

View File

@ -5,35 +5,35 @@ tags: $:/tags/EditTemplate
\define tag-styles() \define tag-styles()
background-color:$(backgroundColor)$; background-color:$(backgroundColor)$;
\end \end
<div class="tw-edit-tags"> <div class="tc-edit-tags">
<$fieldmangler> <$fieldmangler>
<$list filter="[all[current]tags[]sort[title]]" storyview="pop"><$set name="backgroundColor" value={{!!color}}><span style=<<tag-styles>> class="tw-tag-label"> <$list filter="[all[current]tags[]sort[title]]" storyview="pop"><$set name="backgroundColor" value={{!!color}}><span style=<<tag-styles>> class="tc-tag-label">
<$view field="title" format="text" /> <$view field="title" format="text" />
<$button message="tw-remove-tag" param={{!!title}} class="tc-btn-invisible tw-remove-tag-button">&times;</$button></span> <$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">&times;</$button></span>
</$set> </$set>
</$list> </$list>
<div class="tw-edit-add-tag"> <div class="tc-edit-add-tag">
<span class="tw-add-tag-name"> <span class="tc-add-tag-name">
<$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<<qualify "$:/state/popup/tags-auto-complete">> class="tw-edit-texteditor"/> <$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<<qualify "$:/state/popup/tags-auto-complete">> class="tc-edit-texteditor"/>
</span> <$button popup=<<qualify "$:/state/popup/tags-auto-complete">> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <span class="tw-add-tag-button"> </span> <$button popup=<<qualify "$:/state/popup/tags-auto-complete">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button> <span class="tc-add-tag-button">
<$button message="tw-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class=""> <$button message="tm-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class="">
<<lingo Tags/Add/Button>> <<lingo Tags/Add/Button>>
</$button> </$button>
</span> </span>
</div> </div>
<div class="tw-block-dropdown-wrapper"> <div class="tc-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default=""> <$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default="">
<div class="tw-block-dropdown"> <div class="tc-block-dropdown">
<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tw-add-tag"> <$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag">
<$list filter="[!is[shadow]tags[]search{$:/temp/NewTagName}sort[title]]"> <$list filter="[!is[shadow]tags[]search{$:/temp/NewTagName}sort[title]]">
<$link> <$link>
<$set name="backgroundColor" value={{!!color}}> <$set name="backgroundColor" value={{!!color}}>
<span style=<<tag-styles>> class="tw-tag-label"> <span style=<<tag-styles>> class="tc-tag-label">
<$view field="title" format="text"/> <$view field="title" format="text"/>
</span> </span>
</$set> </$set>

View File

@ -1,4 +1,4 @@
title: $:/core/ui/EditTemplate/title title: $:/core/ui/EditTemplate/title
tags: $:/tags/EditTemplate tags: $:/tags/EditTemplate
<$edit-text field="draft.title" class="tc-titlebar tw-edit-texteditor"/> <$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor"/>

View File

@ -2,14 +2,14 @@ title: $:/core/ui/EditTemplate/type
tags: $:/tags/EditTemplate tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/ \define lingo-base() $:/language/EditTemplate/
<p><$fieldmangler><em class="tw-edit"><<lingo Type/Prompt>></em> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify "$:/state/popup/type-dropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/popup/type-dropdown">> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tw-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p> <p><$fieldmangler><em class="tc-edit"><<lingo Type/Prompt>></em> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify "$:/state/popup/type-dropdown">> class="tc-edit-typeeditor"/> <$button popup=<<qualify "$:/state/popup/type-dropdown">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p>
<div class="tw-block-dropdown-wrapper"> <div class="tc-block-dropdown-wrapper">
<$reveal state=<<qualify "$:/state/popup/type-dropdown">> type="nomatch" text="" default=""> <$reveal state=<<qualify "$:/state/popup/type-dropdown">> type="nomatch" text="" default="">
<div class="tw-block-dropdown tw-edit-type-dropdown"> <div class="tc-block-dropdown tc-edit-type-dropdown">
<$linkcatcher to="!!type"> <$linkcatcher to="!!type">
<$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group]]'> <$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group]]'>
<div class="tw-dropdown-item"> <div class="tc-dropdown-item">
<$text text={{!!group}}/> <$text text={{!!group}}/>
</div> </div>
<$list filter="[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] +[sort[description]]"><$link to={{!!name}}><$view field="description"/> (<$view field="name"/>)</$link> <$list filter="[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] +[sort[description]]"><$link to={{!!name}}><$view field="description"/> (<$view field="name"/>)</$link>

View File

@ -3,11 +3,11 @@ tags: $:/tags/EditToolbar
caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}} caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}
description: {{$:/language/Buttons/Cancel/Hint}} description: {{$:/language/Buttons/Cancel/Hint}}
<$button message="tw-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/cancel-button}} {{$:/core/images/cancel-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Cancel/Caption}}/> <$text text={{$:/language/Buttons/Cancel/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/EditToolbar
caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}} caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}
description: {{$:/language/Buttons/Delete/Hint}} description: {{$:/language/Buttons/Delete/Hint}}
<$button message="tw-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/delete-button}} {{$:/core/images/delete-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Delete/Caption}}/> <$text text={{$:/language/Buttons/Delete/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/EditToolbar
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}} caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
description: {{$:/language/Buttons/Save/Hint}} description: {{$:/language/Buttons/Save/Hint}}
<$button message="tw-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/done-button}} {{$:/core/images/done-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Save/Caption}}/> <$text text={{$:/language/Buttons/Save/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -30,12 +30,12 @@ selection-$(payloadTiddler)$
</td> </td>
<td> <td>
<$reveal type="nomatch" state=<<previewPopupState>> text="yes"> <$reveal type="nomatch" state=<<previewPopupState>> text="yes">
<$button class="tc-btn-invisible btn-dropdown" set=<<previewPopupState>> setTo="yes"> <$button class="tc-btn-invisible tc-btn-dropdown" set=<<previewPopupState>> setTo="yes">
{{$:/core/images/right-arrow}}&nbsp;<$text text=<<payloadTiddler>>/> {{$:/core/images/right-arrow}}&nbsp;<$text text=<<payloadTiddler>>/>
</$button> </$button>
</$reveal> </$reveal>
<$reveal type="match" state=<<previewPopupState>> text="yes"> <$reveal type="match" state=<<previewPopupState>> text="yes">
<$button class="tc-btn-invisible btn-dropdown" set=<<previewPopupState>> setTo="no"> <$button class="tc-btn-invisible tc-btn-dropdown" set=<<previewPopupState>> setTo="no">
{{$:/core/images/down-arrow}}&nbsp;<$text text=<<payloadTiddler>>/> {{$:/core/images/down-arrow}}&nbsp;<$text text=<<payloadTiddler>>/>
</$button> </$button>
</$reveal> </$reveal>

View File

@ -1,6 +1,6 @@
title: $:/core/ui/ListItemTemplate title: $:/core/ui/ListItemTemplate
<div class="tw-menu-list-item"> <div class="tc-menu-list-item">
<$link to={{!!title}}> <$link to={{!!title}}>
<$view field="title"/> <$view field="title"/>
</$link> </$link>

View File

@ -1,11 +1,11 @@
title: $:/core/ui/MissingTemplate title: $:/core/ui/MissingTemplate
<div class="tw-tiddler-missing"> <div class="tc-tiddler-missing">
<$button popup=<<qualify "$:/state/popup/missing">> class="tc-btn-invisible tw-missing-tiddler-label"> <$button popup=<<qualify "$:/state/popup/missing">> class="tc-btn-invisible tc-missing-tiddler-label">
<$view field="title" format="text" /> <$view field="title" format="text" />
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/missing">> type="popup" position="below" animate="yes"> <$reveal state=<<qualify "$:/state/popup/missing">> type="popup" position="below" animate="yes">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$transclude tiddler="$:/core/ui/ListItemTemplate"/> <$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<hr> <hr>
<$list filter="[all[current]backlinks[]sort[title]]" template="$:/core/ui/ListItemTemplate"/> <$list filter="[all[current]backlinks[]sort[title]]" template="$:/core/ui/ListItemTemplate"/>

View File

@ -2,11 +2,11 @@ title: $:/core/ui/MoreSideBar/Tags
tags: $:/tags/MoreSideBar tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Tags/Caption}} caption: {{$:/language/SideBar/Tags/Caption}}
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$set name="tw-config-toolbar-class" value=""> <$set name="tv-config-toolbar-class" value="">
{{$:/core/ui/Buttons/tag-manager}} {{$:/core/ui/Buttons/tag-manager}}
@ -18,10 +18,10 @@ caption: {{$:/language/SideBar/Tags/Caption}}
<$list filter="[tags[]!is[system]sort[title]]"> <$list filter="[tags[]!is[system]sort[title]]">
<$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tw-menu-list-count"><$count filter="[all[current]tagging[]]"/></small> <$transclude tiddler="$:/core/ui/TagTemplate"/> <small class="tc-menu-list-count"><$count filter="[all[current]tagging[]]"/></small>
</$list> </$list>
---- ----
{{$:/core/ui/UntaggedTemplate}} <small class="tw-menu-list-count"><$count filter="[untagged[]!is[system]] -[tags[]]"/></small> {{$:/core/ui/UntaggedTemplate}} <small class="tc-menu-list-count"><$count filter="[untagged[]!is[system]] -[tags[]]"/></small>

View File

@ -3,10 +3,10 @@ tags: $:/tags/MoreSideBar
caption: {{$:/language/SideBar/Types/Caption}} caption: {{$:/language/SideBar/Types/Caption}}
<$list filter="[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]"> <$list filter="[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]">
<div class="tw-menu-list-item"> <div class="tc-menu-list-item">
<$view field="type"/> <$view field="type"/>
<$list filter="[type{!!type}!is[system]sort[title]]"> <$list filter="[type{!!type}!is[system]sort[title]]">
<div class="tw-menu-list-subitem"> <div class="tc-menu-list-subitem">
<$link to={{!!title}}><$view field="title"/></$link> <$link to={{!!title}}><$view field="title"/></$link>
</div> </div>
</$list> </$list>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}} caption: {{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}
description: {{$:/language/Buttons/CloseAll/Hint}} description: {{$:/language/Buttons/CloseAll/Hint}}
<$button message="tw-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/close-all-button}} {{$:/core/images/close-all-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/CloseAll/Caption}}/> <$text text={{$:/language/Buttons/CloseAll/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}} caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}
description: {{$:/language/Buttons/ControlPanel/Hint}} description: {{$:/language/Buttons/ControlPanel/Hint}}
<$button to="$:/ControlPanel" title={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=<<tw-config-toolbar-class>>> <$button to="$:/ControlPanel" title={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/options-button}} {{$:/core/images/options-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/ControlPanel/Caption}}/> <$text text={{$:/language/Buttons/ControlPanel/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -4,21 +4,21 @@ caption: {{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Capt
description: {{$:/language/Buttons/Encryption/Hint}} description: {{$:/language/Buttons/Encryption/Hint}}
<$reveal type="match" state="$:/isEncrypted" text="yes"> <$reveal type="match" state="$:/isEncrypted" text="yes">
<$button message="tw-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/locked-padlock}} {{$:/core/images/locked-padlock}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/> <$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
</$list> </$list>
</$button> </$button>
</$reveal> </$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes"> <$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<$button message="tw-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/unlocked-padlock}} {{$:/core/images/unlocked-padlock}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/> <$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}} caption: {{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}
description: {{$:/language/Buttons/FullScreen/Hint}} description: {{$:/language/Buttons/FullScreen/Hint}}
<$button message="tw-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/full-screen-button}} {{$:/core/images/full-screen-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/FullScreen/Caption}}/> <$text text={{$:/language/Buttons/FullScreen/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}} caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}
description: {{$:/language/Buttons/Home/Hint}} description: {{$:/language/Buttons/Home/Hint}}
<$button message="tw-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/home-button}} {{$:/core/images/home-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Home/Caption}}/> <$text text={{$:/language/Buttons/Home/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,12 +3,12 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}} caption: {{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}
description: {{$:/language/Buttons/Import/Hint}} description: {{$:/language/Buttons/Import/Hint}}
<div class="tw-file-input-wrapper"> <div class="tc-file-input-wrapper">
<$button title={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tw-config-toolbar-class>>> <$button title={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/import-button}} {{$:/core/images/import-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Import/Caption}}/> <$text text={{$:/language/Buttons/Import/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -6,24 +6,24 @@ description: {{$:/language/Buttons/Language/Hint}}
\define flag-title() \define flag-title()
$(languagePluginTitle)$/icon $(languagePluginTitle)$/icon
\end \end
<$button popup=<<qualify "$:/state/popup/language">> title={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected"> <$button popup=<<qualify "$:/state/popup/language">> title={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
<span class="tc-image-button"> <span class="tc-image-button">
<$set name="languagePluginTitle" value={{$:/language}}> <$set name="languagePluginTitle" value={{$:/language}}>
<$image source=<<flag-title>>/> <$image source=<<flag-title>>/>
</$set> </$set>
</span> </span>
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Language/Caption}}/> <$text text={{$:/language/Buttons/Language/Caption}}/>
</$list> </$list>
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes"> <$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$linkcatcher to="$:/language"> <$linkcatcher to="$:/language">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]"> <$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]">
<$link> <$link>
<span class="tw-drop-down-bullet"> <span class="tc-drop-down-bullet">
<$reveal type="match" state="$:/language" text=<<currentTiddler>>> <$reveal type="match" state="$:/language" text=<<currentTiddler>>>
&bull; &bull;
</$reveal> </$reveal>

View File

@ -6,23 +6,23 @@ description: {{$:/language/Buttons/More/Hint}}
\define config-title() \define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$ $:/config/PageControlButtons/Visibility/$(listItem)$
\end \end
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected"> <$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/down-arrow}} {{$:/core/images/down-arrow}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/More/Caption}}/> <$text text={{$:/language/Buttons/More/Caption}}/>
</$list> </$list>
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes"> <$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$set name="tw-config-toolbar-class" value="tc-btn-invisible"> <$set name="tv-config-toolbar-class" value="tc-btn-invisible">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]" variable="listItem">

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}} caption: {{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}
description: {{$:/language/Buttons/NewTiddler/Hint}} description: {{$:/language/Buttons/NewTiddler/Hint}}
<$button message="tw-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/new-button}} {{$:/core/images/new-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/NewTiddler/Caption}}/> <$text text={{$:/language/Buttons/NewTiddler/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}} caption: {{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}}
description: {{$:/language/Buttons/Refresh/Hint}} description: {{$:/language/Buttons/Refresh/Hint}}
<$button message="tw-browser-refresh" title={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-browser-refresh" title={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/refresh-button}} {{$:/core/images/refresh-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Refresh/Caption}}/> <$text text={{$:/language/Buttons/Refresh/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,12 +3,12 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}} caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}
description: {{$:/language/Buttons/SaveWiki/Hint}} description: {{$:/language/Buttons/SaveWiki/Hint}}
<$button message="tw-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tw-config-toolbar-class>>> <$button message="tm-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tv-config-toolbar-class>>>
<span class="tw-dirty-indicator"> <span class="tc-dirty-indicator">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/save-button}} {{$:/core/images/save-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/> <$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
</$list> </$list>
</span> </span>

View File

@ -6,22 +6,22 @@ description: {{$:/language/Buttons/StoryView/Hint}}
\define icon() \define icon()
$:/core/images/storyview-$(storyview)$ $:/core/images/storyview-$(storyview)$
\end \end
<$button popup=<<qualify "$:/state/popup/storyview">> title={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected"> <$button popup=<<qualify "$:/state/popup/storyview">> title={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
<$set name="storyview" value={{$:/view}}> <$set name="storyview" value={{$:/view}}>
<$transclude tiddler=<<icon>>/> <$transclude tiddler=<<icon>>/>
</$set> </$set>
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/StoryView/Caption}}/> <$text text={{$:/language/Buttons/StoryView/Caption}}/>
</$list> </$list>
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes"> <$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$linkcatcher to="$:/view"> <$linkcatcher to="$:/view">
<$list filter="[storyviews[]]" variable="storyview"> <$list filter="[storyviews[]]" variable="storyview">
<$link to=<<storyview>>> <$link to=<<storyview>>>
<span class="tw-drop-down-bullet"> <span class="tc-drop-down-bullet">
<$reveal type="match" state="$:/view" text=<<storyview>>> <$reveal type="match" state="$:/view" text=<<storyview>>>
&bull; &bull;
</$reveal> </$reveal>

View File

@ -3,11 +3,11 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}} caption: {{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}
description: {{$:/language/Buttons/TagManager/Hint}} description: {{$:/language/Buttons/TagManager/Hint}}
<$button to="$:/TagManager" title={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=<<tw-config-toolbar-class>>> <$button to="$:/TagManager" title={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=<<tv-config-toolbar-class>>>
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/tag-button}} {{$:/core/images/tag-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/TagManager/Caption}}/> <$text text={{$:/language/Buttons/TagManager/Caption}}/>
</$list> </$list>
</$button> </$button>

View File

@ -3,20 +3,20 @@ tags: $:/tags/PageControls
caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}} caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}
description: {{$:/language/Buttons/Theme/Hint}} description: {{$:/language/Buttons/Theme/Hint}}
<$button popup=<<qualify "$:/state/popup/theme">> title={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected"> <$button popup=<<qualify "$:/state/popup/theme">> title={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/theme-button}} {{$:/core/images/theme-button}}
</$list> </$list>
<$list filter="[<tw-config-toolbar-text>prefix[yes]]"> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<$text text={{$:/language/Buttons/Theme/Caption}}/> <$text text={{$:/language/Buttons/Theme/Caption}}/>
</$list> </$list>
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes"> <$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$linkcatcher to="$:/theme"> <$linkcatcher to="$:/theme">
<$list filter="[plugin-type[theme]sort[title]]" variable="themeTitle"> <$list filter="[plugin-type[theme]sort[title]]" variable="themeTitle">
<$link to=<<themeTitle>>> <$link to=<<themeTitle>>>
<span class="tw-drop-down-bullet"> <span class="tc-drop-down-bullet">
<$reveal type="match" state="$:/theme" text=<<themeTitle>>> <$reveal type="match" state="$:/theme" text=<<themeTitle>>>
&bull; &bull;
</$reveal> </$reveal>

View File

@ -1,16 +1,16 @@
title: $:/core/ui/PageTemplate title: $:/core/ui/PageTemplate
\define containerClasses() \define containerClasses()
tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$ tc-page-container tc-page-view-$(themeTitle)$ tc-language-$(languageTitle)$
\end \end
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]"> <$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
<$set name="tw-config-toolbar-icons" value={{$:/config/Toolbar/Icons}}> <$set name="tv-config-toolbar-icons" value={{$:/config/Toolbar/Icons}}>
<$set name="tw-config-toolbar-text" value={{$:/config/Toolbar/Text}}> <$set name="tv-config-toolbar-text" value={{$:/config/Toolbar/Text}}>
<$set name="tw-config-toolbar-class" value="tc-btn-invisible"> <$set name="tv-config-toolbar-class" value="tc-btn-invisible">
<$set name="themeTitle" value={{$:/view}}> <$set name="themeTitle" value={{$:/view}}>

View File

@ -1,7 +1,7 @@
title: $:/core/ui/PageTemplate/alerts title: $:/core/ui/PageTemplate/alerts
tags: $:/tags/PageTemplate tags: $:/tags/PageTemplate
<div class="tw-alerts"> <div class="tc-alerts">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]" template="$:/core/ui/AlertTemplate" storyview="pop"/> <$list filter="[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]" template="$:/core/ui/AlertTemplate" storyview="pop"/>

View File

@ -4,25 +4,25 @@ tags: $:/tags/PageTemplate
\define config-title() \define config-title()
$:/config/PageControlButtons/Visibility/$(listItem)$ $:/config/PageControlButtons/Visibility/$(listItem)$
\end \end
<$scrollable fallthrough="no" class="tw-sidebar-scrollable"> <$scrollable fallthrough="no" class="tc-sidebar-scrollable">
<div class="tc-sidebar-header"> <div class="tc-sidebar-header">
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes"> <$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes">
<h1 class="tw-site-title"> <h1 class="tc-site-title">
<$transclude tiddler="$:/SiteTitle" mode="inline"/> <$transclude tiddler="$:/SiteTitle" mode="inline"/>
</h1> </h1>
<div class="tw-site-subtitle"> <div class="tc-site-subtitle">
<$transclude tiddler="$:/SiteSubtitle" mode="inline"/> <$transclude tiddler="$:/SiteSubtitle" mode="inline"/>
</div> </div>
<div class="tw-page-controls"> <div class="tc-page-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$reveal type="nomatch" state=<<config-title>> text="hide"> <$reveal type="nomatch" state=<<config-title>> text="hide">
<$transclude tiddler=<<listItem>> mode="inline"/> <$transclude tiddler=<<listItem>> mode="inline"/>

View File

@ -1,7 +1,7 @@
title: $:/core/ui/PageTemplate/topleftbar title: $:/core/ui/PageTemplate/topleftbar
tags: $:/tags/PageTemplate tags: $:/tags/PageTemplate
<span class="tw-topbar tw-topbar-left"> <span class="tc-topbar tc-topbar-left">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem">

View File

@ -1,7 +1,7 @@
title: $:/core/ui/PageTemplate/toprightbar title: $:/core/ui/PageTemplate/toprightbar
tags: $:/tags/PageTemplate tags: $:/tags/PageTemplate
<span class="tw-topbar tw-topbar-right"> <span class="tc-topbar tc-topbar-right">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]" variable="listItem">

View File

@ -2,6 +2,6 @@ title: $:/core/ui/SideBar/More
tags: $:/tags/SideBar tags: $:/tags/SideBar
caption: {{$:/language/SideBar/More/Caption}} caption: {{$:/language/SideBar/More/Caption}}
<div class="tw-more-sidebar"> <div class="tc-more-sidebar">
<<tabs "[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]" "$:/core/ui/MoreSideBar/Tags" "$:/state/tab/moresidebar" "tw-vertical">> <<tabs "[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]" "$:/core/ui/MoreSideBar/Tags" "$:/state/tab/moresidebar" "tc-vertical">>
</div> </div>

View File

@ -5,8 +5,8 @@ caption: {{$:/language/SideBar/Open/Caption}}
\define lingo-base() $:/language/CloseAll/ \define lingo-base() $:/language/CloseAll/
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop"> <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
<$button message="tw-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link> <$button message="tm-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link>
</$list> </$list>
<$button message="tw-close-all-tiddlers" class="tc-btn-invisible btn-mini"><<lingo Button>></$button> <$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>

View File

@ -9,15 +9,15 @@ $:/config/PageControlButtons/Visibility/$(listItem)$
<<lingo Basics/Version/Prompt>> <<version>> <<lingo Basics/Version/Prompt>> <<version>>
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$set name="tw-config-toolbar-class" value=""> <$set name="tv-config-toolbar-class" value="">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tw-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox> <$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list> </$list>

View File

@ -1,8 +1,8 @@
title: $:/core/ui/SideBarLists title: $:/core/ui/SideBarLists
<div class="tw-sidebar-lists"> <div class="tc-sidebar-lists">
<div class="tw-search"> <div class="tc-search">
<$edit-text tiddler="$:/temp/search" type="search" tag="input"/> <$edit-text tiddler="$:/temp/search" type="search" tag="input"/>
<$reveal state="$:/temp/search" type="nomatch" text=""> <$reveal state="$:/temp/search" type="nomatch" text="">
<$linkcatcher to="$:/temp/search"> <$linkcatcher to="$:/temp/search">
@ -15,7 +15,7 @@ title: $:/core/ui/SideBarLists
<$reveal state="$:/temp/search" type="nomatch" text=""> <$reveal state="$:/temp/search" type="nomatch" text="">
<div class="tw-search-results"> <div class="tc-search-results">
{{$:/language/Search/Matches}} {{$:/language/Search/Matches}}

View File

@ -9,10 +9,10 @@ title: $:/TagManager
</$list> </$list>
\end \end
\define iconEditor(title) \define iconEditor(title)
<div class="tw-drop-down-wrapper"> <div class="tc-drop-down-wrapper">
<$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$edit-text field="icon" tag="input" size="20"/> <$button popup=<<qualify "$:/state/popup/icon/$title$">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button>
<$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="popup" position="belowleft" text="" default=""> <$reveal state=<<qualify "$:/state/popup/icon/$title$">> type="popup" position="belowleft" text="" default="">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$linkcatcher to="$title$!!icon"> <$linkcatcher to="$title$!!icon">
<<iconEditorTab type:"!">> <<iconEditorTab type:"!">>
<hr/> <hr/>

View File

@ -3,13 +3,13 @@ title: $:/core/ui/TagTemplate
\define tag-styles() \define tag-styles()
background-color:$(backgroundColor)$; background-color:$(backgroundColor)$;
\end \end
<span class="tw-tag-list-item"> <span class="tc-tag-list-item">
<$set name="backgroundColor" value={{!!color}}> <$set name="backgroundColor" value={{!!color}}>
<$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible tw-tag-label" style=<<tag-styles>>> <$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible tc-tag-label" style=<<tag-styles>>>
<$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /> <$transclude tiddler={{!!icon}}/> <$view field="title" format="text" />
</$button> </$button>
</$set> </$set>
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below" animate="yes"><div class="tw-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/> <$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below" animate="yes"><div class="tc-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<hr> <hr>
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/> <$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
</div> </div>

View File

@ -1,10 +1,10 @@
title: $:/core/ui/TiddlerFieldTemplate title: $:/core/ui/TiddlerFieldTemplate
<tr class="tw-view-field"> <tr class="tc-view-field">
<td class="tw-view-field-name"> <td class="tc-view-field-name">
<$text text=<<listItem>>/> <$text text=<<listItem>>/>
</td> </td>
<td class="tw-view-field-value"> <td class="tc-view-field-value">
<$view field=<<listItem>>/> <$view field=<<listItem>>/>
</td> </td>
</tr> </tr>

View File

@ -1,6 +1,6 @@
title: $:/core/ui/TiddlerFields title: $:/core/ui/TiddlerFields
<table class="tw-view-field-table"> <table class="tc-view-field-table">
<tbody> <tbody>
<$list filter="[all[current]fields[]sort[title]] -text" template="$:/core/ui/TiddlerFieldTemplate" variable="listItem"/> <$list filter="[all[current]fields[]sort[title]] -text" template="$:/core/ui/TiddlerFieldTemplate" variable="listItem"/>
</tbody> </tbody>

View File

@ -6,15 +6,15 @@ caption: {{$:/language/TiddlerInfo/Tools/Caption}}
\define config-title() \define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end \end
<$set name="tw-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-icons" value="yes">
<$set name="tw-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-text" value="yes">
<$set name="tw-config-toolbar-class" value=""> <$set name="tv-config-toolbar-class" value="">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem">
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tw-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox> <$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i></$checkbox>
</$list> </$list>

View File

@ -1,11 +1,11 @@
title: $:/core/ui/UntaggedTemplate title: $:/core/ui/UntaggedTemplate
\define lingo-base() $:/language/SideBar/ \define lingo-base() $:/language/SideBar/
<$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible tw-untagged-label tw-tag-label"> <$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible tc-untagged-label tc-tag-label">
<<lingo Tags/Untagged/Caption>> <<lingo Tags/Untagged/Caption>>
</$button> </$button>
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below"> <$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below">
<div class="tw-drop-down"> <div class="tc-drop-down">
<$list filter="[untagged[]!is[system]] -[tags[]] +[sort[title]]" template="$:/core/ui/ListItemTemplate"/> <$list filter="[untagged[]!is[system]] -[tags[]] +[sort[title]]" template="$:/core/ui/ListItemTemplate"/>
</div> </div>
</$reveal> </$reveal>

View File

@ -1,7 +1,7 @@
title: $:/core/ui/ViewTemplate title: $:/core/ui/ViewTemplate
\define frame-classes() \define frame-classes()
tw-tiddler-frame tw-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$ tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end \end
<$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><div class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list> <$set name="storyTiddler" value=<<currentTiddler>>><$set name="tiddlerInfoState" value=<<qualify "$:/state/popup/tiddler-info">>><$tiddler tiddler=<<currentTiddler>>><div class=<<frame-classes>>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div> </div>

View File

@ -3,7 +3,7 @@ tags: $:/tags/ViewTemplate $:/tags/EditTemplate
\define lingo-base() $:/language/ClassicWarning/ \define lingo-base() $:/language/ClassicWarning/
<$list filter="[all[current]type[text/x-tiddlywiki]]"> <$list filter="[all[current]type[text/x-tiddlywiki]]">
<div class="tw-message-box"> <div class="tc-message-box">
<<lingo Hint>> <<lingo Hint>>

View File

@ -5,14 +5,14 @@ tags: $:/tags/ViewTemplate
<$list filter="[all[current]field:plugin-type[import]]"> <$list filter="[all[current]field:plugin-type[import]]">
<div class="tw-import"> <div class="tc-import">
<<lingo Listing/Hint>> <<lingo Listing/Hint>>
{{||$:/core/ui/ImportListing}} {{||$:/core/ui/ImportListing}}
<$button message="tw-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button> <$button message="tm-delete-tiddler" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>
<$button message="tw-perform-import" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button> <$button message="tm-perform-import" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>
</div> </div>

Some files were not shown because too many files have changed in this diff Show More