Changes for page 学校一覧

Last modified by Super Admin on 2026/03/23 10:15

From version Icon 33.1 Icon
edited by XWikiGuest
on 2026/03/22 00:26
Change comment: There is no comment for this version
To version Icon 30.1 Icon
edited by Super Admin
on 2026/03/21 17:40
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +XWiki.superadmin
Content
... ... @@ -38,7 +38,14 @@
38 38  #set($results = $query.execute())
39 39  
40 40  {{html clean="false"}}
41 -<h1 class="home-section-title">登録されている学校</h1>
41 +<div style="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--sp-3); margin-bottom:var(--sp-2);">
42 + <h1 class="home-section-title" style="margin-bottom:0;">登録されている学校</h1>
43 + #if($listViewerUser != 'XWiki.XWikiGuest')
44 + <a href="/bin/view/SeitokaiCode/CreateSchool" class="btn-primary" style="white-space:nowrap; text-decoration:none;">
45 + <svg class="ico" viewBox="0 0 24 24" style="vertical-align:middle; margin-right:4px;"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>新しく学校を追加する
46 + </a>
47 + #end
48 +</div>
42 42  <div class="sort-header">
43 43   <div class="school-count">
44 44   $results.size() 校が登録されています
... ... @@ -52,11 +52,6 @@
52 52   class="sort-toggle #if($sortParam == 'pref')active#end">
53 53   <svg class="ico ico-fixed-14" viewBox="0 0 24 24"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"/><circle cx="12" cy="10" r="3"/></svg> 都道府県順
54 54   </a>
55 - #if($listViewerUser != 'XWiki.XWikiGuest')
56 - <a href="/bin/SeitokaiCode/CreateSchool" class="sort-toggle" style="margin-left:var(--sp-2); color:var(--primary); border-color:var(--primary);">
57 - <svg class="ico ico-fixed-14" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg> 学校を追加
58 - </a>
59 - #end
60 60   </div>
61 61  </div>
62 62  {{/html}}