2022-07-25 15:39:05 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
<title>City University Portfolio</title>
|
|
|
|
<link rel="stylesheet" href="{{ .Data.CSSBaseURL }}"/>
|
|
|
|
{{ if .Light }}
|
|
|
|
<link rel="stylesheet" href="{{ .Data.CSSLightURL }}"/>
|
|
|
|
{{ else }}
|
|
|
|
<link rel="stylesheet" href="{{ .Data.CSSDarkURL }}"/>
|
|
|
|
{{ end }}
|
|
|
|
<script src="{{ .Data.JScriptURL }}"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="header">
|
2022-07-27 00:34:40 +01:00
|
|
|
{{ if .Light }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<a href="?light" class="home-button no-dec"><div><img src="{{ .Data.LogoImageLocation }}" width="64px" alt="⌂"></div></a>
|
|
|
|
<a href="?{{ .Parameters }}" class="home-button no-dec"><div><img src="{{ .Data.MoonImageLocation }}" width="64px" alt='{{ "{" }}'></div></a>
|
2022-07-27 00:34:40 +01:00
|
|
|
{{ else }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<a href="?" class="home-button no-dec"><div><img src="{{ .Data.LogoImageLocation }}" width="64px" alt="⌂"></div></a>
|
2022-07-27 00:34:40 +01:00
|
|
|
{{ if eq .Parameters "" }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<a href="?light" class="home-button no-dec"><div><img src="{{ .Data.SunImageLocation }}" width="64px" alt='()'></div></a>
|
2022-07-27 00:34:40 +01:00
|
|
|
{{ else }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<a href="?light&{{ .Parameters }}" class="home-button no-dec"><div><img src="{{ .Data.SunImageLocation }}" width="64px" alt='()'></div></a>
|
2022-07-27 00:34:40 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2022-07-27 11:53:55 +01:00
|
|
|
<input class="sort-menu" type="checkbox" id="sort-menu"/>
|
|
|
|
<label class="sort-button no-dec" for="sort-menu"><div><b>↓</b></div></label>
|
2022-07-25 15:39:05 +01:00
|
|
|
<input class="nav-menu" type="checkbox" id="nav-menu"/>
|
|
|
|
<label class="hmb" for="nav-menu"><span class="hmb-line"></span></label>
|
|
|
|
<nav class="nav">
|
|
|
|
<ul class="menu no-lst-style">
|
|
|
|
{{ range .Data.GetHeaderLabels }}
|
|
|
|
<li><b><a href="{{ $.Data.GetHeaderLink . }}" class="no-dec">{{ . }}</a></b></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
2022-07-26 22:13:09 +01:00
|
|
|
<main class="main-box">
|
2022-07-26 13:39:26 +01:00
|
|
|
<div>
|
2022-07-26 22:13:09 +01:00
|
|
|
<div class="item-table">
|
2022-07-26 16:41:11 +01:00
|
|
|
<div>
|
2022-07-26 22:13:09 +01:00
|
|
|
<div class="item-table-full">
|
|
|
|
<div class="centered"><h1>{{ .Data.About.Title }}</h1></div>
|
|
|
|
</div>
|
|
|
|
<div class="item-table-360">
|
|
|
|
<div class="centered"><h4>Email: <a href="mailto:{{ .Data.About.ContactEmail }}">{{ .Data.About.ContactEmail }}</a></h4></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-07-27 12:14:33 +01:00
|
|
|
<div class="item-table-full">
|
|
|
|
<div class="content">{{ .Data.About.GetContent }}</div>
|
2022-07-26 22:13:09 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-table-360">
|
2022-07-26 23:51:27 +01:00
|
|
|
<div><a href="{{ .Data.About.ImageLocation }}"><img src="{{ .Data.About.ThumbnailLocation }}" alt="{{ .Data.About.ImageAltText }}" width="360px"></a></div>
|
2022-07-26 13:39:26 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-26 22:50:55 +01:00
|
|
|
{{ range .GetEntries }}
|
2022-07-26 17:29:22 +01:00
|
|
|
<div>
|
2022-07-26 22:13:09 +01:00
|
|
|
<div class="item-table">
|
|
|
|
<div>
|
|
|
|
<div class="item-table-full">
|
|
|
|
<div class="centered"><h1>{{ .Name }}</h1></div>
|
|
|
|
</div>
|
|
|
|
<div class="item-table-360">
|
|
|
|
{{ if eq .GetStartDate .GetEndDate }}
|
|
|
|
<div class="centered"><h4>{{ .GetStartDate }}</h4></div>
|
|
|
|
{{ else }}
|
|
|
|
<div class="centered"><h4>{{ .GetStartDate }} - {{ .GetEndDate }}</h4></div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-26 17:29:22 +01:00
|
|
|
<div>
|
2022-07-27 12:14:33 +01:00
|
|
|
<div class="item-table-full">
|
|
|
|
<div class="content">{{ .GetContent }}</div>
|
2022-07-26 22:13:09 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-table-360">
|
2022-07-27 13:45:44 +01:00
|
|
|
<div>
|
|
|
|
{{ if eq .VideoLocation "" }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<img src="{{ $.Data.NoVideoImageLocation }}" alt="No Video" width="360px">
|
2022-07-27 13:45:44 +01:00
|
|
|
{{ else }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<video controls width="360px">
|
2022-07-27 13:45:44 +01:00
|
|
|
<source src="{{ .VideoLocation }}" type="{{ .VideoContentType }}">
|
|
|
|
<a href="{{ .VideoLocation }}">The Video</a>
|
|
|
|
</video>
|
2022-07-27 13:47:10 +01:00
|
|
|
{{ end }}
|
2022-07-27 13:45:44 +01:00
|
|
|
</div>
|
2022-07-26 22:13:09 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ if not (eq .GetImageCount 0) }}
|
|
|
|
<div class="item-table-caption">
|
|
|
|
<div class="image-box">
|
|
|
|
{{ range .GetImages }}
|
2022-07-27 17:34:49 +01:00
|
|
|
<a href="{{ .ImageLocation }}"><img src="{{ .ThumbnailLocation }}" alt="{{ .ImageAltText }}" width="240px"></a>
|
2022-07-26 21:11:53 +01:00
|
|
|
{{ end }}
|
2022-07-26 17:29:22 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-07-26 22:13:09 +01:00
|
|
|
{{ end }}
|
2022-07-26 17:29:22 +01:00
|
|
|
</div>
|
2022-07-27 11:53:55 +01:00
|
|
|
<div class="duration-hold">{{ .GetInt64Duration }}</div>
|
2022-07-26 17:29:22 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-07-25 15:39:05 +01:00
|
|
|
</main>
|
2022-07-27 00:18:34 +01:00
|
|
|
<footer>
|
|
|
|
<p>
|
|
|
|
Looking for the old static HTML page, here's the <a href="index.html">link</a>.
|
|
|
|
</p>
|
|
|
|
</footer>
|
2022-07-25 15:39:05 +01:00
|
|
|
</body>
|
|
|
|
</html>
|