mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
70a120d4a6
Now we get decent visual indication of sync errors, for instance. Still work to do to coalesce alerts so that the screen doesn’t fill up with them after an interval. And probably we should add a button to clear all alerts.
18 lines
550 B
Plaintext
18 lines
550 B
Plaintext
title: $:/core/ui/PageTemplate/story
|
|
tags: $:/tags/PageTemplate
|
|
|
|
<section class="story-river">
|
|
|
|
<!-- Alerts -->
|
|
<div class="tw-alerts">
|
|
|
|
<$list filter="[is[shadow]!has[draft.of]tag[$:/tags/Alert]] [!is[shadow]!has[draft.of]tag[$:/tags/Alert]] +[sort[modified]]" template="$:/core/ui/AlertTemplate" storyview="pop"/>
|
|
|
|
</div>
|
|
|
|
<!-- The main story -->
|
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" storyview={{$:/view}} />
|
|
|
|
<!-- End of story river -->
|
|
</section>
|