Skip to content

Commit

Permalink
added button to download events list and buttons for news to mail #1242
Browse files Browse the repository at this point in the history
  • Loading branch information
angeldasangel committed Jul 31, 2023
1 parent 41bdf2b commit db04f00
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions _includes/events-search.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ <h2 class="module-title line-bottom">Veranstaltungen</h2>

<div class="form-group">
<button type="submit" class="btn btn-dark btn-theme-colored btn-xl" data-height="45px"><i class="fa fa-search"></i> Suchen</button>
<a href="#" class="pull-right btn btn-dark btn-theme-colored btn-xl" data-toggle="tooltip" data-placement="top" title="Alle Termine als CSV Datei herunterladen" data-height="45px"><i class="fa fa-download"></i> Liste herunterladen</a>
</div>
</form>

Expand Down
28 changes: 26 additions & 2 deletions _includes/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,30 @@ <h1>{{ item.hero_title }}</h1>
{% if page.hero_video %}

<section id="hero" class="inner-header divider">
<div class="bg-video">
<div id="home-video" class="video divider" data-bg-img="https://www.unibw.de/syslabtest/test-1/@@@@cropped-hero?timestamp=2023-04-26T15:23:38+02:00" style="background-image: url(&quot;https://www.unibw.de/syslabtest/test-1/@@@@cropped-hero?timestamp=2023-04-26T15:23:38+02:00&quot;);"><span id="controlBar_video_1682515437892" class="mb_YTPBar inlinePlayer" style="white-space: nowrap; position: absolute; z-index: 1000;"><div class="buttonBar"><span class="mb_YTPPlaypause ytpicon">P</span><span class="mb_YTPMuteUnmute ytpicon">A</span><span class="mb_YTPTime">00 : 01 / 45 : 48</span><span class="mb_YTPUrl ytpicon" title="view on YouTube">Y</span><span class="mb_OnlyYT ytpicon">O</span></div><div class="mb_YTPProgress" style="position: absolute;"><div class="mb_YTPLoaded" style="position: absolute; left: 0px; width: 0.473991%;"></div><div class="mb_YTPseekbar" style="position: absolute; left: 0px; width: 0.0363901px;"></div></div></span><div class="mbYTP_wrapper" id="wrapper_mbYTP_video_1682515437892" style="position: absolute; z-index: 0; min-width: 100%; min-height: 100%; left: 0px; top: 0px; overflow: hidden; opacity: 0;"><iframe id="mbYTP_video_1682515437892" class="playerBox" style="position: absolute; z-index: 0; width: 100px; height: 100px; top: 0px; left: 0px; overflow: hidden; opacity: 1; margin-top: -50px; margin-left: -50px;" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="Welt der Werkstoffe - talk, Folge 26, Michael Dietrich: Kunststoffschweißen" width="640" height="360" src="https://www.youtube.com/embed/0CkgTHs_oM8?autoplay=0&amp;modestbranding=1&amp;controls=0&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1&amp;version=3&amp;playerapiid=mbYTP_video_1682515437892&amp;origin=https%3A%2F%2Fwww.unibw.de&amp;allowfullscreen=true&amp;wmode=transparent&amp;iv_load_policy=3&amp;html5=1&amp;widgetid=1"></iframe><div class="YTPOverlay" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"></div></div>
<div class="player video-container mb_YTPlayer isMuted" data-property="{videoURL:'https://www.youtube.com/watch?v=0CkgTHs_oM8',containment:'#home-video',autoPlay:false, showControls:true, mute:true, startAt:0, opacity:1}" id="video_1682515437892" style="display: none; position: relative;"></div>


</div>
</div>
<div class="display-table">
<div class="display-table-cell">
<div class="container">
<!-- Section Content -->
<div class="section-content">
<div class="row">
<div class="col-md-12">
<h1 class="title">test</h1>
</div>
</div>
</div>
</div>
</div>
</div>
</section>

<!-- section id="hero" class="inner-header divider">
<div class="bg-video">
<div id="home-video" class="video" data-bg-img="{{page.hero_image}}">
<div class="player video-container"
Expand All @@ -152,7 +176,7 @@ <h1>{{ item.hero_title }}</h1>
<div class="display-table">
<div class="display-table-cell">
<div class="container">
<!-- Section Content -->
<div class="section-content">
<div class="row">
<div class="col-md-12">
Expand All @@ -164,7 +188,7 @@ <h1>{{ item.hero_title }}</h1>
</div>
</div>
</section>
</section -->

{% elsif page.hero_image %}
<section id="hero" class="inner-header divider gradient" data-bg-img="{{ site.baseurl }}{{ page.hero_image }}"
Expand Down
1 change: 1 addition & 0 deletions _includes/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="section-title">
<div class="row">
<div class="col-md-12">
<a href="#" class="pull-right mt-30 btn btn-theme-colored btn-lg"><i class="fa fa-plus-circle"></i> News hinzufügen</a>
<h2 class="module-title line-bottom">{{include.title | default:"Aktuelles"}}</h2>
<p class="description">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est </p>
</div>
Expand Down
1 change: 1 addition & 0 deletions _layouts/news-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

<h1 class="module-title line-bottom">{{ page.title }}</h1>

<a href="#" class="pull-right btn btn-theme-colored btn-lg"><i class="fa fa-envelope"></i> News versenden</a>
<p><em>{{ page.date | date: '%d. %B %Y' }}</em></p>

{{ content }}
Expand Down

0 comments on commit db04f00

Please sign in to comment.