Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions smw
Submodule smw added at 870614
4 changes: 2 additions & 2 deletions templates/form.temple
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<main>
<h1>{- (if (args :message) (args :message) "Vytvořte svojí prezentaci, prosím!") -}</h1>
<h1>{- (if (args :message) (args :message) "Təqdimatınızı yaradın, zəhmət olmasa!") -}</h1>
<form action="/" method="POST">
<textarea name="presentation">{- (args :content) -}</textarea>
<button>Ulož!</button>
<button>yadda saxla!</button>
</form>
</main>
4 changes: 2 additions & 2 deletions templates/navigation.temple
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<button class="iconbutton" hx-get="/next-slide" hx-swap="none" {- (if (args :disabled-next-slide) "disabled") -}>→</button>
<button class="iconbutton" hx-get="/previous-chapter" hx-swap="none" {- (if (args :disabled-previous-chapter) "disabled") -}>↞</button>
<button class="iconbutton" hx-get="/next-chapter" hx-swap="none" {- (if (args :disabled-next-chapter) "disabled") -}>↠</button>
<span>kapitola: {{ (get-in args [:presentation :chapters (args :chapter) :title]) }}</span>
<span>slajd: {{ (inc (args :slide)) }}</span>
<span>fəsil: {{ (get-in args [:presentation :chapters (args :chapter) :title]) }}</span>
<span>slayd: {{ (inc (args :slide)) }}</span>
</nav>
4 changes: 2 additions & 2 deletions templates/presentation.temple
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</head>
<body>
<header class="f-row align-items:center">
<a href="/">domů</a>
<a href="/start">restartovat</a>
<a href="/">ev</a>
<a href="/start">yenidən başlamaq</a>
<h1>{{ (get-in args [:presentation :title]) }}</h1>
{- (http/page navigation args) -}
</header>
Expand Down