Des tonnes de modifications notamment VIM / Couleurs / typos
This commit is contained in:
22
templates/daily-recent.html
Normal file
22
templates/daily-recent.html
Normal file
@ -0,0 +1,22 @@
|
||||
<div class="daily-recent" id="daily-recent">
|
||||
{{if .Notes}}
|
||||
{{range .Notes}}
|
||||
<a href="#"
|
||||
class="daily-recent-item"
|
||||
hx-get="/api/daily/{{.Date.Format "2006-01-02"}}"
|
||||
hx-target="#editor-container"
|
||||
hx-swap="innerHTML"
|
||||
title="Note du {{.Date.Format "02/01/2006"}}">
|
||||
<span class="daily-recent-icon">📄</span>
|
||||
<div class="daily-recent-content">
|
||||
<span class="daily-recent-weekday">{{.DayOfWeek}}</span>
|
||||
<span class="daily-recent-title">{{.Title}}</span>
|
||||
</div>
|
||||
</a>
|
||||
{{end}}
|
||||
{{else}}
|
||||
<p style="color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 1rem;">
|
||||
Aucune note récente
|
||||
</p>
|
||||
{{end}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user