Changes for page Home
Last modified by Angela Warkentin on 2025/07/23 11:35
From version 99.2
edited by Benjamin Fischer
on 2025/01/14 14:21
on 2025/01/14 14:21
Change comment:
There is no comment for this version
To version 24.10
edited by Benjamin Fischer
on 2024/07/26 16:53
on 2024/07/26 16:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 2 removed)
-
Objects (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,54 +1,51 @@ 1 - ======1 + [[image:Design ohne Titel-2.png||height="71" width="312"]] 2 2 3 - {{boxcssClass="floatinginfobox"image="https://wiki.erumdatahub.de/bin/download/Main/WebHome/logo_horizontal_23_neu.png?width=200"}}4 - {{displayIcon name="application_view_tile"/}} [[Events(Indico)>>https://indico.desy.de/category/984/]]5 - {{displayIcon name="email"/}}[[MailingLists>>doc:DIG-UM.MailingLists.WebHome]]6 - {{displayIcon name="world"/}} [[Website>>https://erumdatahub.de/]]3 +(% class="box infomessage" %) 4 +((( 5 +**Welcome to the new ErUM-Data-Hub and DIG-UM wiki ** 6 +))) 7 7 8 -//{{icon name="info-circle"/}}//ErUM =** Er**forschung von** U**niversum & **M**aterie 9 -(Research on Universe and Matter) 10 -{{/box}} 11 11 12 -== ** Welcome** ==9 +== **Getting Started** == 13 13 14 - ========11 +For any questions, access and editing rights, please contact {{displayIcon name="email"/}}[[ webmaster@erumdatahub.de>>mailto:webmaster@erumdatahub.de]] 15 15 16 - ==== **Welcome to the new ErUM-Data-Hub Wiki-a place for all ErUM-Data communities, to interact and share information with one another.** ====13 +---- 17 17 18 -** Weinviteyou tocreate an accountand contribute improvementsand contents yourself.For help, see this[[video>>attach:registration.mp4]].**15 +=== **{{displayIcon name="email"/}} Mailing Lists** === 19 19 17 +Subscribe to our Mailing-Lists: [[https:~~/~~/wiki.erumdatahub.de/de/mailing-lists>>url:https://wiki.erumdatahub.de/de/mailing-lists]] 20 20 21 - This wiki will be launched and released for use in January 2025. Please note that further development is an ongoing effort. Further functions, content and interaction options are planned. **This wiki is for you, the ErUM-Data community**, and is intended to meet your needs. For optimal functionality, we are dependent on your input. We are always happy to receive feedback, suggestions and requests, which you are welcome to send to angela.warkentin@erumdatahub.de.19 +---- 22 22 23 -=== =====21 +=== **{{displayIcon name="application_view_tile"/}} Events** === 24 24 25 - {{icon name="question-circle"}}{{/icon}}Furtherinformation,answers to all questions youmay have regardingtheErUM-Data-Hub and more about ouraims and work can befound on our [[website>>https://erumdatahub.de/]].23 +Have a look at our events: 26 26 25 +upcoming next: [[https:~~/~~/indico.desy.de/event/40133/ >>https://indico.desy.de/event/40133/]] 27 27 28 - == What is new? ==27 +all events: [[https:~~/~~/indico.desy.de/category/984/ >>https://indico.desy.de/category/984/]] 29 29 30 - Have a look at our new comprehensive material collection and People in ErUM-Data list:29 +---- 31 31 32 -* [[Material collection]] of learning and teaching materials, and 33 -* [[People in ErUM-Data]] list of research groups and contact information of people who work in ErUM-Data. 31 +=== **{{displayIcon name="world"/}} Further Information** === 34 34 35 - ==33 +For more information have a look at our website: [[https:~~/~~/wiki.erumdatahub.de>>url:https://wiki.erumdatahub.de/de/mailing-lists]] 36 36 37 - == ErUM-Data Calendar ==35 +---- 38 38 39 -{{velocity output="false"}} 40 -$xwiki.ssx.use("Calendar.FullCalendar") 41 -$xwiki.jsx.use("Calendar.FullCalendar", {'defer': false}) 42 -$xwiki.jsx.use("Main.WebHome", {'defer': false, 'minify': false}) 43 -{{/velocity}} 44 44 45 -(% id="calendarCustom" %) 46 -((( 47 - 48 -))) 49 49 50 -= = 51 51 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 52 52 {{velocity}} 53 53 #set ($showcomments = false) 54 54 #set ($showannotations = false) ... ... @@ -55,5 +55,4 @@ 55 55 #set ($showattachments = $hasAdmin) 56 56 #set ($showhistory = $hasAdmin) 57 57 #set ($showinformation = $hasAdmin) 58 -#set ($displayContentFooter = false) 59 59 {{/velocity}}
- Logos Wiki.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.JudithSteinfeld - Size
-
... ... @@ -1,1 +1,0 @@ 1 -3.7 KB - Content
- registration.mp4
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.JanBurger - Size
-
... ... @@ -1,1 +1,0 @@ 1 -1.1 MB - Content
- Design ohne Titel-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.JudithSteinfeld - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.8 KB - Content
- Logo DIG-UM.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.JudithSteinfeld - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.8 KB - Content
- Logo DIG-UM_small.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.JudithSteinfeld - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.8 KB - Content
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,1 +1,0 @@ 1 -default - Code
-
... ... @@ -1,178 +1,0 @@ 1 -require(["jquery", "fullcalendar"], function (jq) { 2 - const FC = jq.fullCalendar; 3 - const E = (tag, ...childs) => { 4 - const attrs = childs[0]?.constructor === Object ? childs.shift() : {}; 5 - const ret = Element(tag, attrs); 6 - ret.append(...childs.flat().filter(e => e)); 7 - return ret; 8 - }; 9 - const range = num => Array(num).fill().map((_, i) => i); 10 - FC.defineView('monthCols', { 11 - class: FC.View.extend({ 12 - renderEvents(events) { 13 - console.debug("renderEvents", events); 14 - debugger; 15 - try { 16 - this._renderFun(events); 17 - } catch (e) { 18 - console.exception(e); 19 - } 20 - }, 21 - _renderFun(events) { 22 - const cf = this.opt("columnFormat") ?? "MMM"; 23 - const rf = this.opt("rowFormat") ?? "D"; 24 - const df = this.opt("cellFormat") ?? "dd"; 25 - const wf = this.opt("weekFormat") ?? "w"; 26 - const colspan = (df || wf) ? (1 + !!df + !!wf) : null; 27 - 28 - const ys = this.start; 29 - const ye = this.end; 30 - const yv = events.slice().sort((a,b) => a.start.diff(b.start) || a.end.diff(b.end)); 31 - 32 - const cols = []; 33 - const head = []; 34 - const days = Array(31).fill().map(_ => []); 35 - 36 - if (rf) { 37 - cols.push(E("col", {class: "fc-fitCol"})); 38 - head.push(E("th")); 39 - days.forEach((arr, day) => arr.push(E("th", {class: "fc-axis"}, ys.clone().add({day}).format(rf)))); 40 - } 41 - 42 - for (const month of range(12)) { 43 - const ms = ys.clone().add({month}) 44 - const me = ms.clone().add({month: 1}); 45 - const md = me.diff(ms, "days"); 46 - const mv = yv.filter(t => ms.isBefore(t.end) && t.start.isBefore(me)); 47 - 48 - if (df) cols.push(E("col", {class: "fc-fitCol"})); 49 - cols.push(E("col")); 50 - if (wf) cols.push(E("col", {class: "fc-fitCol"})); 51 - head.push(E("th", {colspan}, ms.format(cf))); 52 - 53 - const bgc = new Array(md); 54 - const bgt = new Array(md); 55 - let scc = []; 56 - let scu = []; 57 - const scs = col => el => { 58 - const step = 100 / scc.length; 59 - el.style.left = `${col * step}%`; 60 - el.style.width = `${step}%`; 61 - }; 62 - 63 - for (const day of range(31)) { 64 - if (day < md) { 65 - const ds = ms.clone().add({day}); 66 - const de = ds.clone().add({day: 1}); 67 - 68 - const oc = []; 69 - while(mv[0]?.start.isBefore(de)) { 70 - const v = mv.shift(); 71 - const d = Math.ceil(v.end.max(me).diff(ds, "days", true)); 72 - if (v.rendering == "background") { 73 - if (v.color) 74 - for (const i of range(d)) { 75 - bgc[day + i] = v.color; 76 - bgt[day + i] = v.title; 77 - } 78 - } else { 79 - const e = E("div", E("a", {href: v.url}, v.title)); 80 - e.style.height = `${100 * d}%`; 81 - if (v.color) e.style.borderColor = e.style.backgroundColor = v.color; 82 - if (v.textColor) e.style.color = v.textColor; 83 - if (v.start.isBefore(ms)) e.classList.add("fc-cut-start"); 84 - if (me.isBefore(v.end)) e.classList.add("fc-cut-end"); 85 - oc.push(e); 86 - const i = scu.indexOf(0); 87 - if (i < 0) { 88 - scc.push([e]); 89 - scu.push(d); 90 - scc.forEach((els, col) => els.forEach(scs(col))); 91 - } else { 92 - scc[i].push(e); 93 - scu[i] = d; 94 - scs(i)(e); 95 - } 96 - } 97 - } 98 - 99 - scu = scu.map(u => Math.max(0, u - 1)); 100 - if (!scu.some()) {scc = []; scu = [];} 101 - 102 - const style = bgc[day] && `background-color: ${bgc[day]};`; 103 - const dc = this.getDayClasses(ds); 104 - const da = (sub, title = bgt[day] ?? null) => ({class: dc.concat(sub).join(" "), style, title}); 105 - if (df) days[day].push(E("td", da("fc-dayVal", ds.format("D")), ds.format(df))); 106 - days[day].push(E("td", da("fc-mainVal"), oc)); 107 - if (wf) days[day].push(E("td", da("fc-weekVal"), ds.weekday() ? "" : ds.format(wf))); 108 - } else 109 - days[day].push(E("td", {colspan})); 110 - } 111 - } 112 - 113 - 114 - this.el.addClass("fc-month-cols-view").html( 115 - E( 116 - "table", 117 - E("colgroup", cols), 118 - E("thead", {class: "fc-head"}, E("tr", head)), 119 - E("tbody", {class: "fc-body"}, days.map(d => E("tr", d))), 120 - ) 121 - ); 122 - } 123 - }), 124 - duration: { year: 1 }, 125 - }); 126 - 127 - const init = () => { 128 - jq("#calendarCustom").fullCalendar({ 129 - views: { 130 - month: { 131 - columnFormat: "ddd", 132 - titleFormat: "MMMM YYYY", 133 - buttonText: "month", 134 - }, 135 - monthCols: { 136 - columnFormat: "MMM", 137 - weekFormat: "W", 138 - titleFormat: "YYYY", 139 - buttonText: "year", 140 - }, 141 - }, 142 - timeFormat: "h(:mm)t", 143 - axisFormat: "h(:mm)t", 144 - allDayText: "All day", 145 - eventSources: [ 146 - "/bin/get/MoccaCalendar/Code/JSONService?xpage=plain&outputSyntax=plain&calendarDoc=Main.WebHome&filter=wiki&classname=MoccaCalendar.MoccaCalendarEventClass&startfield=startDate&endfield=endDate&durationfield=&xpage=plain&outputSyntax=plain&classname=&startfield=datetime&endfield=&durationfield=&extraFields=", 147 - ], 148 - header: { 149 - left: "prev,next today", 150 - center: "title", 151 - right: "month,monthCols", 152 - }, 153 - timeFormat: "H:mm", 154 - defaultView: "monthCols", 155 - firstDay: "1", 156 - minTime: "8:00", 157 - maxTime: "23:00", 158 - validRange: { 159 - start: '2022-01-01', 160 - end: '2027-01-01', 161 - }, 162 - editable: false, 163 - eventDataTransform: event => { 164 - const cal = event.url.split("/")[4]; 165 - if (cal === "Holidays" || cal == "Blocked" || cal.includes("Conference")) event.rendering = "background"; 166 - event.viewUrl = event.url; 167 - event.url = event.html.match(/<span class="wikiexternallink"><a href="([^"]+)">\1</)?.[1] ?? event.url; 168 - return event; 169 - }, 170 - eventRender: function (event, element) { 171 - // Render augmentation hook, use: event.html 172 - }, 173 - }); 174 - }; 175 - 176 - jq(document).ready(init); 177 -}); 178 - - Name
-
... ... @@ -1,1 +1,0 @@ 1 -Customized Calendar View - Parse content
-
... ... @@ -1,1 +1,0 @@ 1 -No - Use this extension
-
... ... @@ -1,1 +1,0 @@ 1 -onDemand
- XWiki.StyleSheetExtension[0]
-
- Caching policy
-
... ... @@ -1,1 +1,0 @@ 1 -default - Code
-
... ... @@ -1,74 +1,0 @@ 1 -@weekend-color: #f5f5f5; 2 -#calendarCustom.fc { 3 - td.fc-sat, td.fc-sun { 4 - background-color: @weekend-color; 5 - } 6 - .fc-month-cols-view > table { 7 - table-layout: auto; 8 - td, th { 9 - border-width: 0px; 10 - } 11 - col.fc-fitCol { 12 - width: 1px; 13 - } 14 - tbody.fc-body { 15 - td { 16 - &.fc-sat, &.fc-sun { 17 - background-color: @weekend-color; 18 - &.fc-dayVal { 19 - background-color: @weekend-color !important; 20 - } 21 - } 22 - } 23 - tr:nth-child(4n+3) > * { 24 - border-top: 1px solid #ddd; 25 - } 26 - tr:nth-child(4n+5) > * { 27 - border-top: 1px solid #bbb; 28 - } 29 - tr:hover > th { 30 - background-color: #ccc; 31 - } 32 - td.fc-mainVal { 33 - position: relative; 34 - & > div { 35 - z-index: 5; 36 - position: absolute; 37 - width: 100%; 38 - overflow: hidden; 39 - border-radius: 4px; 40 - &.fc-cut-start { 41 - border-top-left-radius: 0px; 42 - border-top-right-radius: 0px; 43 - } 44 - &.fc-cut-end { 45 - border-bottom-left-radius: 0px; 46 - border-bottom-right-radius: 0px; 47 - } 48 - &:hover { 49 - width: auto !important; 50 - max-width: 10vw; 51 - height: auto !important; 52 - z-index: 10; 53 - } 54 - & > a { 55 - display: block; 56 - color: inherit; 57 - background-color: inherit; 58 - } 59 - } 60 - } 61 - td.fc-dayVal, td.fc-weekVal { 62 - color: #7f95aa; 63 - cursor: default; 64 - } 65 - td.fc-dayVal { 66 - font-size: small; 67 - } 68 - td.fc-weekVal { 69 - font-size: smaller; 70 - text-align: right; 71 - } 72 - } 73 - } 74 -} - Content Type
-
... ... @@ -1,1 +1,0 @@ 1 -LESS - Parse content
-
... ... @@ -1,1 +1,0 @@ 1 -No - Use this extension
-
... ... @@ -1,1 +1,0 @@ 1 -currentPage