-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
99 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!-- BEGIN_MODULE Calendar_Month --> | ||
<div class="text-gray-900"> | ||
@include("/admin/module/setting.html") | ||
<h3 class="text-lg font-bold">{year}年{month}月</h3> | ||
<div class="grid grid-cols-7 mt-4" aria-hidden="true"> | ||
<!-- BEGIN weekLabel:loop --> | ||
<div class="text-xs font-medium text-center [&:nth-child(n+6)]:text-red-600">{label}</div> | ||
<!-- END weekLabel:loop --> | ||
</div> | ||
<div class="mt-4"> | ||
<!-- BEGIN week:loop --> | ||
<div class="grid grid-cols-7"> | ||
<!-- BEGIN day:loop --> | ||
<!-- BEGIN spacer --> | ||
<div class="px-0.5 mb-1 aspect-square [&:nth-child(n+6)]:text-red-600" aria-hidden="true"></div> | ||
<!-- END spacer --> | ||
<!-- BEGIN none --> | ||
<div class="flex items-center justify-center px-0.5 aspect-square text-sm text-center [&:nth-child(n+6)]:text-red-600"> | ||
<span <!-- BEGIN_IF [{day}/eq/%{d}] --> class="text-indigo-600 font-bold"<!-- END_IF -->>{day}</span> | ||
</div> | ||
<!-- END none --> | ||
<!-- BEGIN link --> | ||
<div class="flex items-center justify-center px-0.5 aspect-square text-sm text-center [&:nth-child(n+6)]:text-red-600"> | ||
<a href="{url}" class="flex items-center justify-center w-7 h-7 rounded-full cursor-pointer bg-gray-100 hover:bg-gray-200" aria-label="{day}日の記事一覧を表示する"> | ||
<span<!-- BEGIN_IF [{day}/eq/%{d}] --> class="text-indigo-600 font-bold"<!-- END_IF -->>{day}</span> | ||
</a> | ||
</div> | ||
<!-- END link --> | ||
<!-- END day:loop --> | ||
</div> | ||
<!-- END week:loop --> | ||
<p class="text-right text-sm hover:underline"> | ||
<a href="%{BASE_URL}calendar.html" class="text-indigo-600">年間カレンダーで見る</a> | ||
</p> | ||
</div> | ||
<!-- END_MODULE Calendar_Month --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters