Files
qt5-legatus-legacy/Lts/Plugins/PresentationManagement/Gui/Script/Common/thp/index.html
T
2026-08-13 18:33:10 +02:00

148 lines
2.3 KiB
HTML
Executable File

<!DOCTYPE html>
<html ng-app="main">
<head>
<meta charset="utf-8">
<title>"Take Home Package"</title>
<link href="style.css" rel="stylesheet" />
<script src="angular.min.js"></script>
<script src="main.js"></script>
</head>
<body ng-controller="ctrl">
<img src="logo.svg" id="logo" />
<h1>
<a href="index.html">
{{ strCheck(data.title) }}
</a>
</h1>
<div ng-hide="showTable">
<img
src="wappen.png"
id="emblem"
onerror="this.style.display='none'"
/>
<table class="rowTable">
<tr>
<td>
Exercise Area
</td>
<td>
{{ strCheck(data.exerciseArea) }}
</td>
</tr>
<tr>
<td>
Cycle Time
</td>
<td>
{{ strCheck(data.cycleTime) }}
</td>
</tr>
<tr>
<td>
Exercising Forces
</td>
<td>
{{ strCheck(data.exercisingForces) }}
</td>
</tr>
<tr>
<td>
Exercising Purpose
</td>
<td>
{{ strCheck(data.exercisingPurpose )}}
</td>
</tr>
</table>
<hr />
<table class="columnTable">
<tr>
<th>
Presentations
</th>
</tr>
<tr>
<td>
<ul ng-show="data.presentations.length > 0">
<li ng-repeat="presentation in data.presentations">
<a href ng-click="displayTable(presentation.path)">
{{ strCheck(presentation.displayName) }}
</a>
</li>
</ul>
<span ng-hide="data.presentations.length > 0">N/A</span>
</td>
</tr>
</table>
</div>
<div id="tableContainer" ng-show="showTable">
<table class="rowTable">
<tr>
<th colspan="5">
<u>
{{ strCheck(sPresentation.title) }}
</u>
</th>
</tr>
<tr>
<th>
Topic ID
</th>
<th>
Topic Start
</th>
<th>
Duration
</th>
<th>
Type
</th>
<th>
Description
</th>
</tr>
<tr ng-repeat="entry in sPresentation.content">
<td>
{{ strCheck(entry.topicId) }}
</td>
<td>
{{ strCheck(entry.topicStart) }}
</td>
<td>
{{ strCheck(entry.duration) }}
</td>
<td>
{{ strCheck(entry.type) }}
</td>
<td>
<a ng-href="{{ entry.description.href }}">
{{ strCheck(entry.description.displayName) }}
</a>
</td>
</tr>
</table>
</div>
</body>
</html>