Changes for page 生徒会Wiki

Last modified by Super Admin on 2026/04/01 16:27

From version Icon 4.1 Icon
edited by Super Admin
on 2026/03/06 00:42
Change comment: There is no comment for this version
To version Icon 8.1 Icon
edited by Super Admin
on 2026/03/06 15:39
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -4,7 +4,8 @@
4 4  
5 5  {{html clean="false"}}
6 6  <div class="home-hero">
7 - <h1><svg class="ico" style="width:1em;height:1em;vertical-align:-0.125em;" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 20h20"/><path d="M5 20V10l7-5 7 5v10"/><path d="M9 20v-5h6v5"/></svg> 生徒会Wiki</h1>
7 + <span class="home-hero-icon"><svg style="width:56px;height:56px;stroke-width:1.5;" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M2 20h20"/><path d="M5 20V10l7-5 7 5v10"/><path d="M9 20v-5h6v5"/></svg></span>
8 + <h1>生徒会Wiki</h1>
8 8   <p>全国の学校の生徒会活動を共有するプラットフォーム</p>
9 9  </div>
10 10  
... ... @@ -37,23 +37,16 @@
37 37  </div>
38 38  
39 39  <div style="margin-top:32px;">
40 - <h2 style="display:flex;align-items:center;gap:8px;font-size:1.5em;color:var(--text-dark);margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid var(--primary-bg);">
41 - <svg style="width:1.1em;height:1.1em;display:inline-block;vertical-align:-0.15em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" viewBox="0 0 24 24"><path d="M3 11l18-5v12L3 13v-2z"/><path d="M11.6 16.8a3 3 0 11-5.8-1.6"/></svg>
42 - 最近の更新
43 - </h2>
44 - #set($recentDocs = $xwiki.searchDocuments("where doc.fullName not like 'SeitokaiCode.%' and doc.fullName not like 'SeitokaiAdmin.%' and doc.fullName not like 'XWiki.%' and doc.fullName not like '%.WebPreferences' order by doc.date desc", 10))
41 + <h2 class="home-section-title">最近の更新</h2>
42 + #set($recentDocs = $xwiki.searchDocuments("where (doc.fullName like 'Main.%' or doc.fullName like 'Schools.%') and doc.fullName not like '%.WebPreferences' order by doc.date desc", 10))
45 45   #if($recentDocs.size() > 0)
46 46   <ul class="recent-changes-list">
47 47   #foreach($docName in $recentDocs)
48 48   #set($rdoc = $xwiki.getDocument($docName))
49 49   <li class="recent-changes-item">
50 - <span class="recent-changes-icon">
51 - <svg style="width:1em;height:1em;display:inline-block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
52 - </span>
53 - <div>
54 - <div class="recent-changes-title"><a href="$rdoc.getURL('view')">$escapetool.xml($rdoc.displayTitle)</a></div>
55 - <div class="recent-changes-meta">$xwiki.formatDate($rdoc.date, 'yyyy/MM/dd HH:mm')</div>
56 - </div>
48 + <span class="recent-changes-icon"></span>
49 + <span class="recent-changes-title"><a href="$rdoc.getURL('view')">$!escapetool.xml($rdoc.displayTitle)</a> が更新されました</span>
50 + <span class="recent-changes-meta">$xwiki.formatDate($rdoc.date, 'yyyy/MM/dd HH:mm')</span>
57 57   </li>
58 58   #end
59 59   </ul>