mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
parent
df8758e38f
commit
d8c3691bd1
11
boot/boot.js
11
boot/boot.js
@ -480,18 +480,15 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
|
||||
children = [dm("h1",{text: options.serviceName})];
|
||||
if(!options.noUserName) {
|
||||
children.push(dm("input",{
|
||||
attributes: {type: "text", name: "username", placeholder: "Username"},
|
||||
"class": "input-small"
|
||||
attributes: {type: "text", name: "username", placeholder: "Username"}
|
||||
}));
|
||||
}
|
||||
children.push(dm("input",{
|
||||
attributes: {type: "password", name: "password", placeholder: "Password"},
|
||||
"class": "input-small"
|
||||
attributes: {type: "password", name: "password", placeholder: "Password"}
|
||||
}));
|
||||
if(options.canCancel) {
|
||||
children.push(dm("button",{
|
||||
text: "Cancel",
|
||||
"class": "btn",
|
||||
eventListeners: [{
|
||||
name: "click",
|
||||
handlerFunction: function(event) {
|
||||
@ -503,11 +500,9 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
|
||||
}
|
||||
children.push(dm("button",{
|
||||
attributes: {type: "submit"},
|
||||
text: submitText,
|
||||
"class": "btn"
|
||||
text: submitText
|
||||
}));
|
||||
var form = dm("form",{
|
||||
"class": "form-inline",
|
||||
attributes: {autocomplete: "off"},
|
||||
children: children
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Download changes
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
|
||||
footer: <$button message="tw-close-tiddler">Close</$button>
|
||||
help: http://tiddlywiki.com/static/DownloadingChanges.html
|
||||
|
||||
Your browser only supports manual saving.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Save your work
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
|
||||
footer: <$button message="tw-close-tiddler">Close</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file.
|
||||
|
@ -55,7 +55,6 @@ Modal.prototype.display = function(title,options) {
|
||||
$tw.utils.addClass(modalWrapper,"modal");
|
||||
$tw.utils.addClass(modalHeader,"modal-header");
|
||||
$tw.utils.addClass(modalBody,"modal-body");
|
||||
$tw.utils.addClass(modalLink,"btn btn-large btn-block btn-success");
|
||||
$tw.utils.addClass(modalFooter,"modal-footer");
|
||||
// Join them together
|
||||
wrapper.appendChild(modalBackdrop);
|
||||
@ -115,10 +114,6 @@ Modal.prototype.display = function(title,options) {
|
||||
message: {
|
||||
type: "string",
|
||||
value: "tw-close-tiddler"
|
||||
},
|
||||
"class": {
|
||||
type: "string",
|
||||
value: "btn btn-primary"
|
||||
}
|
||||
},
|
||||
children: [{
|
||||
|
@ -3,10 +3,10 @@ title: $:/snippets/encryptionstatus
|
||||
\define lingo-base() $:/language/ControlPanel/Tools/Encryption/
|
||||
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
||||
<<lingo Enabled/Prompt>>
|
||||
<$button message="tw-clear-password" class="btn btn-danger"><<lingo ClearPassword/Button>></$button>
|
||||
<$button message="tw-set-password" class="btn btn-warning"><<lingo ChangePassword/Button>></$button>
|
||||
<$button message="tw-clear-password"><<lingo ClearPassword/Button>></$button>
|
||||
<$button message="tw-set-password"><<lingo ChangePassword/Button>></$button>
|
||||
</$reveal>
|
||||
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
||||
<<lingo Disabled/Prompt>>
|
||||
<$button message="tw-set-password" class="btn btn-warning"><<lingo SetPassword/Button>></$button>
|
||||
<$button message="tw-set-password"><<lingo SetPassword/Button>></$button>
|
||||
</$reveal>
|
@ -2,5 +2,5 @@ title: HelloThere
|
||||
|
||||
This is an experimental edition of TiddlyWiki5 for use with [[Tahoe-LAFS|https://tahoe-lafs.org/]]. At this point it is largely for experimentation by @zooko. Click the ''save changes'' button to PUT the updated TiddlyWiki HTML file back to the server.
|
||||
|
||||
<$button message="tw-new-tiddler" class="btn btn-success">New Tiddler</$button>
|
||||
<$button message="tw-save-wiki" class="btn btn-primary">Save Changes</$button>
|
||||
<$button message="tw-new-tiddler">New Tiddler</$button>
|
||||
<$button message="tw-save-wiki">Save Changes</$button>
|
||||
|
@ -5,7 +5,7 @@ title: Features
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
\define alert-demo()
|
||||
<$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert" class="btn btn-inverse">alerts</$button></$set></$fieldmangler>
|
||||
<$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert">alerts</$button></$set></$fieldmangler>
|
||||
\end
|
||||
* The ability to save changes on almost any desktop HTML5 compatible-browser, with custom apps to enable [[Saving on iPad/iPhone]] and [[Android|Saving on Android]], and a cross-platform [[Firefox extension|Saving with TiddlyFox]] that even runs on Android
|
||||
* Support for pluggable themes and colour palettes (see the [[control panel|$:/ControlPanel]])
|
||||
@ -15,7 +15,7 @@ type: text/vnd.tiddlywiki
|
||||
* Integrated [[AES encryption|Saving with Encryption]]
|
||||
* TiddlyWiki isn't just a wiki - you can build custom applications with it like this TaskManagementExample
|
||||
* Full internationalization support, with TiddlyWiki itself available in several languages (see the [[control panel|$:/ControlPanel]])
|
||||
* Familiar user interface elements like <<alert-demo>>, <$button message="tw-modal" param="SampleWizard" class="btn btn-inverse">wizards</$button> and <$button message="tw-notify" param="SampleNotification" class="btn btn-inverse">notifications</$button>
|
||||
* Familiar user interface elements like <<alert-demo>>, <$button message="tw-modal" param="SampleWizard">wizards</$button> and <$button message="tw-notify" param="SampleNotification">notifications</$button>
|
||||
* Easily [[import|ImportTiddlers]] content via drag and drop, copy and paste, or browsing for local files
|
||||
* Clone existing tiddlers (for example, <$button message="tw-new-tiddler" param=<<currentTiddler>>>clone this tiddler</$button>)
|
||||
* TiddlyWiki is [[surprisingly scalable|Scalability]] to many thousands of tiddlers and megabytes of content
|
||||
|
@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki
|
||||
|
||||
Alerts are displayed as yellow boxes overlaying the main TiddlyWiki window. Each one corresponds to a tiddler with the tag [[$:/tags/Alert]]. Clicking the delete icon on an alert deletes the corresponding tiddler.
|
||||
|
||||
Here's a demo <$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert" class="btn btn-inverse">alert</$button></$set></$fieldmangler>.
|
||||
Here's a demo <$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert">alert</$button></$set></$fieldmangler>.
|
||||
|
||||
Alert tiddlers should have the following fields:
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
title: SampleWizard
|
||||
tags: demo
|
||||
subtitle: I'm a modal wizard
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
|
||||
footer: <$button message="tw-close-tiddler">Close</$button>
|
||||
|
||||
This is a modal wizard dialogue, stored in the tiddler SampleWizard.
|
||||
|
||||
{{Motovun Jack.jpg}}
|
||||
|
||||
You can <$button message="tw-modal" param="SampleWizard2" class="btn btn-inverse">nest wizards</$button>.
|
||||
You can <$button message="tw-modal" param="SampleWizard2">nest wizards</$button>.
|
||||
|
@ -1,8 +1,8 @@
|
||||
title: SampleWizard2
|
||||
tags: demo
|
||||
subtitle: I'm another modal wizard
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
|
||||
footer: <$button message="tw-close-tiddler">Close</$button>
|
||||
|
||||
This is another modal wizard dialogue, stored in the tiddler SampleWizard2.
|
||||
|
||||
You can <$button message="tw-modal" param="SampleWizard" class="btn btn-inverse">nest wizards</$button>.
|
||||
You can <$button message="tw-modal" param="SampleWizard">nest wizards</$button>.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Änderungen Speichern
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Schließen</$button>
|
||||
footer: <$button message="tw-close-tiddler">Schließen</$button>
|
||||
help: http://tiddlywiki.com/static/DownloadingChanges.html
|
||||
|
||||
Ihr Browser unterstützt nur manuelles Speichern.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Aktuellen Stand speichern
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Schließen</$button>
|
||||
footer: <$button message="tw-close-tiddler">Schließen</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
Ihre Änderungen sollen als ~TiddlyWiki HTML Datei gespeichert werden.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Télécharger vos modifications
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Fermer</$button>
|
||||
footer: <$button message="tw-close-tiddler">Fermer</$button>
|
||||
help: http://tiddlywiki.com/static/DownloadingChanges.html
|
||||
|
||||
Votre navigateur ne supporte que l'enregistrement manuel.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Enregistrez votre travail
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Fermer</$button>
|
||||
footer: <$button message="tw-close-tiddler">Fermer</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
Les modifications effectuées dans ce wiki doivent être sauvegardées sous forme de fichier ~TiddlyWiki HTML.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Download changes
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Chiudi</$button>
|
||||
footer: <$button message="tw-close-tiddler">Chiudi</$button>
|
||||
help: http://tiddlywiki.com/static/DownloadingChanges.html
|
||||
|
||||
Il tuo browser supporta solo il salvataggio manuale.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Save your work
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Chiudi</$button>
|
||||
footer: <$button message="tw-close-tiddler">Chiudi</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
Le modifiche a questo wiki devono essere salvate come un file ~TiddlyWiki HTML.
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: 変更のダウンロード
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">閉じる</$button>
|
||||
footer: <$button message="tw-close-tiddler">閉じる</$button>
|
||||
help: http://tiddlywiki.com/static/DownloadingChanges.html
|
||||
|
||||
このブラウザは手動での保存しかできません。
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: 作業内容を保存する
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">閉じる</$button>
|
||||
footer: <$button message="tw-close-tiddler">閉じる</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
この wiki への変更内容を ~TiddlyWiki HTML ファイルとして保存する必要があります。
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/Download
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Download changes
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">关闭</$button>
|
||||
footer: <$button message="tw-close-tiddler">关闭</$button>
|
||||
help: http://tiddlywiki.com/
|
||||
|
||||
您的浏览器只支援手动保存。
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Save your work
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">关闭</$button>
|
||||
footer: <$button message="tw-close-tiddler">关闭</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
您对此 wiki 的变更需被保存为 ~TiddlyWiki HTML 文件。
|
||||
|
@ -1,7 +1,7 @@
|
||||
title: $:/language/Modals/SaveInstructions
|
||||
type: text/vnd.tiddlywiki
|
||||
subtitle: Save your work
|
||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">關閉</$button>
|
||||
footer: <$button message="tw-close-tiddler">關閉</$button>
|
||||
help: http://tiddlywiki.com/static/SavingChanges.html
|
||||
|
||||
您對此 wiki 的變更需被儲存為 ~TiddlyWiki HTML 檔案。
|
||||
|
@ -3,10 +3,10 @@ caption: Server
|
||||
tags: $:/tags/ControlPanel
|
||||
|
||||
<$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes">
|
||||
Log in to ~TiddlyWeb: <$button message="tw-login" class="btn btn-info">Login</$button>
|
||||
Log in to ~TiddlyWeb: <$button message="tw-login">Login</$button>
|
||||
</$reveal>
|
||||
<$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
|
||||
Logged in as {{$:/status/UserName}} <$button message="tw-logout" class="btn btn-warning">Logout</$button>
|
||||
Logged in as {{$:/status/UserName}} <$button message="tw-logout">Logout</$button>
|
||||
</$reveal>
|
||||
|
||||
----
|
||||
@ -17,4 +17,4 @@ Host configuration: <$edit-text tiddler="$:/config/tiddlyweb/host" tag="input" d
|
||||
|
||||
----
|
||||
|
||||
<$button message="tw-server-refresh" class="btn btn-warning">Refresh</$button> to fetch changes from the server immediately
|
||||
<$button message="tw-server-refresh">Refresh</$button> to fetch changes from the server immediately
|
||||
|
Loading…
Reference in New Issue
Block a user