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 1.1 Icon
edited by Super Admin
on 2026/03/05 22:05
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -3,67 +3,43 @@
3 3  {{include reference="SeitokaiCode.MaintenanceBannerInclude" /}}
4 4  
5 5  {{html clean="false"}}
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>
8 - <p>全国の学校の生徒会活動を共有するプラットフォーム</p>
6 +<div style="text-align: center; padding: 40px 20px;">
7 + <h1 style="font-size: 2.2em; color: #2c3e50; margin-bottom: 8px;"><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>
8 + <p style="font-size: 1.2em; color: #7f8c8d; margin-bottom: 30px;">
9 + 全国の高校の生徒会活動を共有するプラットフォーム
10 + </p>
9 9  </div>
10 10  
11 -<div class="home-cards">
12 - <a href="$xwiki.getURL('Schools.WebHome', 'view')" class="home-card">
13 - <div class="home-card-icon"><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="M4 19.5A2.5 2.5 0 016.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z"/></svg></div>
14 - <div class="home-card-title">学校ページを見る</div>
15 - <div class="home-card-desc">登録されている学校の活動を閲覧</div>
13 +<div style="display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;">
14 + <a href="/xwiki/bin/view/Schools/" style="display: block; width: 280px; padding: 24px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; text-decoration: none; text-align: center; transition: box-shadow 0.2s;" onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,0.1)'" onmouseout="this.style.boxShadow='none'">
15 + <div style="font-size: 2em; margin-bottom: 8px;"><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="M4 19.5A2.5 2.5 0 016.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z"/></svg></div>
16 + <div style="font-size: 1.2em; font-weight: 600; color: #2c3e50;">学校ページを見る</div>
17 + <div style="color: #7f8c8d; margin-top: 6px; font-size: 0.9em;">登録されている学校の活動を閲覧</div>
16 16   </a>
17 17  
18 - <a href="$xwiki.getURL('SeitokaiCode.CreateSchool', 'view')" class="home-card">
19 - <div class="home-card-icon"><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="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg></div>
20 - <div class="home-card-title">学校ページを作成</div>
21 - <div class="home-card-desc">あなたの学校のページを新規作成</div>
20 + <a href="/xwiki/bin/view/SeitokaiCode/CreateSchool" style="display: block; width: 280px; padding: 24px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; text-decoration: none; text-align: center; transition: box-shadow 0.2s;" onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,0.1)'" onmouseout="this.style.boxShadow='none'">
21 + <div style="font-size: 2em; margin-bottom: 8px;"><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="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg></div>
22 + <div style="font-size: 1.2em; font-weight: 600; color: #2c3e50;">学校ページを作成</div>
23 + <div style="color: #7f8c8d; margin-top: 6px; font-size: 0.9em;">あなたの学校のページを新規作成</div>
22 22   </a>
23 23  
24 - <a href="$xwiki.getURL('SeitokaiCode.Guidelines', 'view')" class="home-card">
25 - <div class="home-card-icon"><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="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg></div>
26 - <div class="home-card-title">ガイドライン</div>
27 - <div class="home-card-desc">編集ルール・利用規約を確認</div>
26 + <a href="/xwiki/bin/view/SeitokaiCode/Guidelines" style="display: block; width: 280px; padding: 24px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; text-decoration: none; text-align: center; transition: box-shadow 0.2s;" onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,0.1)'" onmouseout="this.style.boxShadow='none'">
27 + <div style="font-size: 2em; margin-bottom: 8px;"><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="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg></div>
28 + <div style="font-size: 1.2em; font-weight: 600; color: #2c3e50;">ガイドライン</div>
29 + <div style="color: #7f8c8d; margin-top: 6px; font-size: 0.9em;">編集ルール・利用規約を確認</div>
28 28   </a>
29 29  
30 30   #if($xcontext.user != "XWiki.XWikiGuest")
31 - <a href="$xwiki.getURL('SeitokaiCode.MyPage', 'view')" class="home-card">
32 - <div class="home-card-icon"><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="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg></div>
33 - <div class="home-card-title">マイページ</div>
34 - <div class="home-card-desc">プロフィール・投稿履歴を確認</div>
33 + <a href="/xwiki/bin/view/SeitokaiCode/MyPage" style="display: block; width: 280px; padding: 24px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; text-decoration: none; text-align: center; transition: box-shadow 0.2s;" onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,0.1)'" onmouseout="this.style.boxShadow='none'">
34 + <div style="font-size: 2em; margin-bottom: 8px;"><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="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg></div>
35 + <div style="font-size: 1.2em; font-weight: 600; color: #2c3e50;">マイページ</div>
36 + <div style="color: #7f8c8d; margin-top: 6px; font-size: 0.9em;">プロフィール・投稿履歴を確認</div>
35 35   </a>
36 36   #end
37 37  </div>
38 -
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))
45 - #if($recentDocs.size() > 0)
46 - <ul class="recent-changes-list">
47 - #foreach($docName in $recentDocs)
48 - #set($rdoc = $xwiki.getDocument($docName))
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>
57 - </li>
58 - #end
59 - </ul>
60 - #else
61 - <div style="text-align:center;padding:40px 20px;color:var(--text-light);">
62 - <svg style="width:3em;height:3em;display:block;margin:0 auto 12px;opacity:0.4;fill:none;stroke:currentColor;stroke-width:1.5;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>
63 - <p>まだ更新はありません。</p>
64 - <p style="font-size:0.9em;">学校ページを作成して、活動を共有しましょう!</p>
65 - </div>
66 - #end
67 -</div>
68 68  {{/html}}
41 +
42 += <svg class="ico" style="width:1.1em;height:1.1em;vertical-align:-0.15em;" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 11l18-5v12L3 13v-2z"/><path d="M11.6 16.8a3 3 0 11-5.8-1.6"/></svg> 最近の更新 =
43 +
44 +{{activity /}}
69 69  {{/velocity}}