time-and-date-event => fixedtime, collapse-event => xing-collapse-iframe with more features

pull/62/head
Anders Einar Hilden 2022-08-03 13:05:13 +02:00
parent 7e411eb5c2
commit d809dbe0db
4 changed files with 26 additions and 32 deletions

View File

@ -39,7 +39,7 @@ Conferences featuring MISP core members talking about MISP and/or threat intelli
- #### MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals - #### MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals
*When:* {{< time-and-date-event `13th September 2022 14:00-17:00 UTC` `MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals` `20220913T14` `3` >}}</a> *When:* {{< fixedtime `13th September 2022 14:00-17:00 UTC` `MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals` `20220913T14` `3` >}}</a>
*Where:* Remote (Zoom and online MISP traning instance) *Where:* Remote (Zoom and online MISP traning instance)
@ -50,13 +50,10 @@ Conferences featuring MISP core members talking about MISP and/or threat intelli
- Encoding a report - Encoding a report
- Making use of the various tools in MISP from an analyst perspective - Making use of the various tools in MISP from an analyst perspective
*Event link:* {{< collapse-event `MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals` >}} *Event link:* {{< xing-collapse-iframe `IMKNUTR` `MISP Training - Threat Intelligence Introduction for Analysts and Security Professionals` >}}
<iframe title="Ticket shop" src="https://IMKNUTR.xing-events.com/IMKNUTR.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&resizeIFrame=true" frameborder="1" width="650px" id="_amiandoIFrame5078466">
<p>This page requires frame support. Please use a frame compatible browser to see the ticket sales module.</p></iframe>
{{< /collapse-event >}}
- #### MISP Training - Administration and Deployment of MISP software - #### MISP Training - Administration and Deployment of MISP software
*When:* {{< time-and-date-event `14th September 2022 14:00-17:00 UTC` `MISP Training - Administration and Deployment of MISP software` `20220914T14` `3` >}}</a> *When:* {{< fixedtime `14th September 2022 14:00-17:00 UTC` `MISP Training - Administration and Deployment of MISP software` `20220914T14` `3` >}}</a>
*Where:* Remote (Zoom and online MISP traning instance) *Where:* Remote (Zoom and online MISP traning instance)
@ -68,12 +65,10 @@ Conferences featuring MISP core members talking about MISP and/or threat intelli
- Installation - Installation
- <span class="border border-success">Community management</span> - <span class="border border-success">Community management</span>
*Event link:* {{< collapse-event `MISP Training - Administration and Deployment of MISP software` >}} *Event link:* {{< xing-collapse-iframe `BVJBEEU` `MISP Training - Administration and Deployment of MISP software` >}}
<iframe title="Ticket shop" src="https://BVJBEEU.xing-events.com/BVJBEEU.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&resizeIFrame=true" width="650px" id="_amiandoIFrame5078473"><p>This page requires frame support. Please use a frame compatible browser to see the ticket sales module.</p></iframe>
{{< /collapse-event >}}
- #### MISP Training - Advanced Developer session from API to MISP internals - #### MISP Training - Advanced Developer session from API to MISP internals
*When:* {{< time-and-date-event `15th September 2022 14:00-17:00 UTC` `MISP Training - Advanced Developer session from API to MISP internals` `20220915T14` `3` >}} *When:* {{< fixedtime `15th September 2022 14:00-17:00 UTC` `MISP Training - Advanced Developer session from API to MISP internals` `20220915T14` `3` >}}
*Where:* Remote (Zoom and online MISP traning instance) *Where:* Remote (Zoom and online MISP traning instance)
@ -84,9 +79,7 @@ Conferences featuring MISP core members talking about MISP and/or threat intelli
- Supporting dev libraries - Supporting dev libraries
- Session on development of MISP internals - Session on development of MISP internals
*Event link:* {{< collapse-event `MISP Training - Advanced Developer session from API to MISP internals` >}} *Event link:* {{< xing-collapse-iframe `IMGQRQQ` `MISP Training - Advanced Developer session from API to MISP internals` >}}
<iframe title="Ticket shop" src="https://IMGQRQQ.xing-events.com/IMGQRQQ.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&resizeIFrame=true" width="650px" id="_amiandoIFrame5078480"><p>This page requires frame support. Please use a frame compatible browser to see the ticket sales module.</p></iframe>
{{< /collapse-event >}}
### Past events ### Past events

View File

@ -1,18 +0,0 @@
{{/*
Parameters:
Parameter 0: Will be used to render "Register for <0>"
Parameter 1: Will replace the link text "Register for this event"
Parameter 2: Will replace the whole "Register for " header. Parameter 0 is thus void.
Example usage:
{{< collapse-event `MISP Training - Advanced Developer session from API to MISP internals` >}}
< insert xing iframe code here >
{{< /collapse-event >}}
*/}}{{ $collapse_id := md5 .Inner }}<a data-toggle="collapse" href="#collapse{{ $collapse_id }}" role="button" aria-expanded="false" aria-controls="collapse{{ $collapse_id }}">{{ if (len (.Get 1)) }}{{ .Get 1 }}{{ else }}Register for this event{{ end }}</a>
<div class="collapse border" id="collapse{{ $collapse_id }}">
<div class="card card-body border">
<b>{{ if (len (.Get 2)) }}{{ .Get 2 }}{{ else }}Register for {{ .Get 0 }}{{ end }}</b>
{{ .Inner }}
</div>
</div>

View File

@ -10,4 +10,4 @@
{{< time-and-date-event `15th September 2022 14:00-17:00 UTC` `MISP Training - Advanced Developer session from API to MISP internals` `20220915T14` `3` >}} {{< time-and-date-event `15th September 2022 14:00-17:00 UTC` `MISP Training - Advanced Developer session from API to MISP internals` `20220915T14` `3` >}}
*/}} */}}
<a href="https://www.timeanddate.com/worldclock/fixedtime.html?{{ (querify "msg" (.Get 1)) | safeURL }}&iso={{ .Get 2 }}&p1=1440{{ if .Get 3 }}&{{ (querify "ah" (.Get 3)) | safeURL }}{{ end }}">{{ .Get 0 }}</a> <a href="https://www.timeanddate.com/worldclock/fixedtime.html?{{ (querify "msg" (.Get 1)) | safeURL }}&iso={{ .Get 2 }}&p1=1440{{ if .Get 3 }}&{{ (querify "ah" (.Get 3)) | safeURL }}{{ end }}" target="_blank">{{ .Get 0 }} *</a>

View File

@ -0,0 +1,19 @@
{{/*
Parameters:
Parameter 0: XING Event code
Parameter 1: Event title
Parameter 2: (optional) Will replace the link text "Register for this event"
Parameter 3: (Optional) Will replace the whole "Register for <param 1>" header. Parameter 1 is thus void.
Example usage:
{{< collapse-event `IMKNUTR` `MISP Training - Advanced Developer session from API to MISP internals` >}}
*/}}{{ $collapse_id := .Get 0 }}<a data-toggle="collapse" href="#collapse{{ $collapse_id }}" role="button" aria-expanded="false" aria-controls="collapse{{ $collapse_id }}">{{ if (len (.Get 2)) }}{{ .Get 2 }}{{ else }}Register for this event{{ end }}</a>
<div class="collapse border" id="collapse{{ $collapse_id }}">
<div class="card card-body border">
<b>{{ if (len (.Get 3)) }}{{ .Get 3 }}{{ else }}Register for {{ .Get 1 }}{{ end }}</b>
<iframe title="Ticket shop" src="https://{{ .Get 0 }}.xing-events.com/{{ .Get 0 }}.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&resizeIFrame=true" frameborder="1" width="650px" id="_amiandoIFrame{{ $collapse_id }}">
<p>Please use <a href="https://{{ .Get 0 }}.xing-events.com/{{ .Get 0 }}.html?viewType=iframe&distributionChannel=CHANNEL_IFRAME&language=en&resizeIFrame=true" target="_blank">this link</a> to register.</p>
</iframe>
</div>
</div>