... |
... |
@@ -1,1 +1,94 @@ |
1 |
|
-a |
|
1 |
+<!-- Global Dashboard for XWiki --> |
|
2 |
+{{html clean="false"}} |
|
3 |
+<style> |
|
4 |
+ .dashboard { |
|
5 |
+ padding: 1rem; |
|
6 |
+ max-width: 100%; |
|
7 |
+ margin: auto; |
|
8 |
+ } |
|
9 |
+ .dashboard-header { |
|
10 |
+ font-size: 2rem; |
|
11 |
+ font-weight: bold; |
|
12 |
+ margin-bottom: 1.5rem; |
|
13 |
+ text-align: center; |
|
14 |
+ } |
|
15 |
+ .category-columns { |
|
16 |
+ display: grid; |
|
17 |
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
|
18 |
+ gap: 1rem; |
|
19 |
+ } |
|
20 |
+ .category-box { |
|
21 |
+ background-color: #1c1c1c; |
|
22 |
+ border: 1px solid #444; |
|
23 |
+ border-radius: 8px; |
|
24 |
+ padding: 1rem; |
|
25 |
+ box-shadow: 0 0 5px #000; |
|
26 |
+ } |
|
27 |
+ .category-box h3 { |
|
28 |
+ font-size: 1.2rem; |
|
29 |
+ margin-bottom: 0.5rem; |
|
30 |
+ border-bottom: 1px solid #333; |
|
31 |
+ padding-bottom: 0.2rem; |
|
32 |
+ } |
|
33 |
+ .category-box ul { |
|
34 |
+ list-style: none; |
|
35 |
+ padding: 0; |
|
36 |
+ margin: 0; |
|
37 |
+ } |
|
38 |
+ .category-box ul li { |
|
39 |
+ margin-bottom: 0.4rem; |
|
40 |
+ } |
|
41 |
+ .section { |
|
42 |
+ margin-top: 2.5rem; |
|
43 |
+ } |
|
44 |
+</style> |
|
45 |
+ |
|
46 |
+<div class="dashboard"> |
|
47 |
+ <div class="dashboard-header">📚 Knowledge Domains</div> |
|
48 |
+ <div class="category-columns"> |
|
49 |
+ <div class="category-box"> |
|
50 |
+ <h3>Race</h3> |
|
51 |
+ <ul> |
|
52 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Race">Overview</a></li> |
|
53 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Race/Hatred">Hatred</a></li> |
|
54 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Race/Demographics">Demographics</a></li> |
|
55 |
+ </ul> |
|
56 |
+ </div> |
|
57 |
+ <div class="category-box"> |
|
58 |
+ <h3>Discrimination</h3> |
|
59 |
+ <ul> |
|
60 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Discrimination/Employment%20Disparities">Employment Disparities</a></li> |
|
61 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Discrimination/Privilege">Privilege</a></li> |
|
62 |
+ </ul> |
|
63 |
+ </div> |
|
64 |
+ <div class="category-box"> |
|
65 |
+ <h3>Immigration</h3> |
|
66 |
+ <ul> |
|
67 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Immigration">Overview</a></li> |
|
68 |
+ <li><a href="/xwiki/bin/view/Main%20Categories/Immigration/Border%20Policy">Border Policy</a></li> |
|
69 |
+ </ul> |
|
70 |
+ </div> |
|
71 |
+ <!-- Add more categories here as needed --> |
|
72 |
+ </div> |
|
73 |
+ |
|
74 |
+ <div class="section"> |
|
75 |
+ <h2>🧠 Research & Stats</h2> |
|
76 |
+ {{include reference="Main%20Categories.Research%20and%20stats.ResearchStatsWidget"/}} |
|
77 |
+ </div> |
|
78 |
+ |
|
79 |
+ <div class="section"> |
|
80 |
+ <h2>🎯 Arguments & Counterarguments</h2> |
|
81 |
+ {{include reference="Main%20Categories.Arguments%20and%20Counterarguments.ArgumentsWidget"/}} |
|
82 |
+ </div> |
|
83 |
+ |
|
84 |
+ <div class="section"> |
|
85 |
+ <h2>🕓 Recent Activity</h2> |
|
86 |
+ {{activity/}} |
|
87 |
+ </div> |
|
88 |
+ |
|
89 |
+ <div class="section"> |
|
90 |
+ <h2>🏷️ Tags</h2> |
|
91 |
+ {{tagcloud/}} |
|
92 |
+ </div> |
|
93 |
+</div> |
|
94 |
+{{/html}} |