-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-training.html
157 lines (148 loc) · 10.4 KB
/
index-training.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html style="padding: 0; margin: 0" lang="en">
<head>
<title>UQ Library - Reusable Web Components</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" type="text/css" href="https://static.uq.net.au/v15/fonts/Roboto/roboto.css" />
<link
rel="stylesheet"
type="text/css"
href="https://static.uq.net.au/v15/fonts/Merriweather/merriweather.css"
/>
<link rel="stylesheet" type="text/css" href="https://static.uq.net.au/v15/fonts/Montserrat/montserrat.css" />
<style>
body {
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}
article {
min-height: 300px;
background-image: url(https://web.library.uq.edu.au/files/75078/background-blur-bright-684314.jpg);
background-size: cover;
}
article > div {
margin-left: auto;
margin-right: auto;
max-width: 710px;
padding: 1rem;
}
article h1 {
padding: 1rem;
color: #f0f0f0;
font-weight: 400;
font-size: 2.438rem;
text-shadow: 0 0 4px black;
}
article h2,
article p {
padding: 0 1rem;
color: #f0f0f0;
}
</style>
</head>
<body>
<uq-header hidelibrarymenuitem skipnavid="skiptohere"></uq-header>
<uq-site-header sitetitle="Library Test" siteurl="http://www.library.uq.edu.au">
<span slot="site-utilities">
<auth-button />
</span>
</uq-site-header>
<article>
<div>
<h1 data-testid="random-page-element">Training widget demo <a href="#" id="skiptohere">#</a></h1>
<div>
<h2>Default parameters</h2>
</div>
<library-training id="test-with-filter"></library-training>
</div>
<div>
<h2>With optional parameters</h2>
<library-training hide-category-title hide-filter></library-training>
</div>
<div>
<h2>Detail test output</h2>
<!-- places-remaining="Booking is not required" bookingSettings = null -->
<p>Logged in EM user looking at a course that doesnt require booking, with St Lucia UQ Maps link</p>
<training-detail data-testid="training-event-detail-content-2824657"></training-detail>
<script>
window.addEventListener('DOMContentLoaded', () => {
const trainingDetail2824657 = document.querySelector(
'[data-testid="training-event-detail-content-2824657"]',
);
trainingDetail2824657.data = {
id: '2824657',
name: 'Excel: Introduction to Spreadsheets',
details:
"<p>At the end of this session, class participants will be able to:</p><ul><li>Design and create a simple spreadsheet</li><li>Enter data, labels, formulas and simple functions</li><li>Format and sort data</li><li>Present data in charts</li></ul><p><em>This session will use Microsoft Excel. </em>Please install the software <em>before </em>joining this session: <a href='https://my.uq.edu.au/information-and-services/information-technology/software-and-web-apps/software-uq/microsoft-software/office-365-personal-use'>https://my.uq.edu.au/information-and-services/info...<br></a></p><p><img style='background-color: initial; width: 25px;' src='https://studenthub.uq.edu.au/Uploads/Images/Library/e-learning-laptop-1.png'> Attend online: Zoom link to be sent before session</p><p><em><em>As part of <a href='https://ppl.app.uq.edu.au/content/10.10.01-sustainability-0'>UQ Sustainability</a> this class has no paper handouts. You may download manuals and exercises for this class on the </em><a href='https://web.library.uq.edu.au/library-services/training/training-resources'><em>training resources</em></a><em> page.</em></em></p>",
summary: "A beginner's guide to essential spreadsheet concepts and skills",
placesRemaining: 'Booking is not required',
start: '2020-11-24T10:00:00+10:00',
end: '2020-11-24T11:30:00+10:00',
venue: 'St Lucia, Duhig Tower (2), 02-D501',
userId: 'ema1111',
userName: 'Lea de Groot',
userEmail: 'uqldegro@uq.edu.au',
};
});
</script>
<hr />
<!-- places-remaining="Places still available" bookingSettings.placeRemaining > 0 -->
<!-- window target is purely for testing, no user requirement exists -->
<p>Staff user for Toowoomba course (Google maps link) for course with places available</p>
<training-detail data-testid="training-event-detail-content-3455330"></training-detail>
<script>
window.addEventListener('DOMContentLoaded', () => {
const trainingDetail3455330 = document.querySelector(
'[data-testid="training-event-detail-content-3455330"]',
);
trainingDetail3455330.data = {
id: '3455330',
name: 'Excel1: Introduction to Spreadsheets',
details:
"<p>At the end of this session, class participants will be able to:</p><ul><li>Design and create a simple spreadsheet</li><li>Enter data, labels, formulas and simple functions</li><li>Format and sort data</li><li>Present data in charts</li></ul><p><em>This session will use Microsoft Excel. </em>Please install the software <em>before </em>joining this session: <a href='https://my.uq.edu.au/information-and-services/information-technology/software-and-web-apps/software-uq/microsoft-software/office-365-personal-use'>https://my.uq.edu.au/information-and-services/info...<br></a></p><p><img style='background-color: initial; width: 25px;' src='https://studenthub.uq.edu.au/Uploads/Images/Library/e-learning-laptop-1.png'> Attend online: Zoom link to be sent before session</p><p><em><em>As part of <a href='https://ppl.app.uq.edu.au/content/10.10.01-sustainability-0'>UQ Sustainability</a> this class has no paper handouts. You may download manuals and exercises for this class on the </em><a href='https://web.library.uq.edu.au/library-services/training/training-resources'><em>training resources</em></a><em> page.</em></em></p>",
summary: "A beginner's guide to essential spreadsheet concepts and skills",
placesRemaining: 'Places still available',
start: '2020-11-24T10:00:00+10:00',
end: '2020-11-24T11:30:00+10:00',
venue: 'Toowoomba Rural Clinic',
userId: 'uqldegro',
userName: 'Lea de Groot',
userEmail: 'uqldegro@uq.edu.au',
};
});
</script>
<hr />
<!-- places-remaining="Class is full. Register for waitlist." bookingSettings.placeRemaining === 0 -->
<!-- user not logged in, dont send user fields -->
<p>
Non logged in user with a course that is full and a location with no entry in the lookup table (no
map link)
</p>
<training-detail data-testid="training-event-detail-content-3455331"></training-detail>
<script>
window.addEventListener('DOMContentLoaded', () => {
const trainingDetail3455331 = document.querySelector(
'[data-testid="training-event-detail-content-3455331"]',
);
trainingDetail3455331.data = {
id: '3455331',
name: 'Excel2: Introduction to Spreadsheets',
details:
"<p>At the end of this session, class participants will be able to:</p><ul><li>Design and create a simple spreadsheet</li><li>Enter data, labels, formulas and simple functions</li><li>Format and sort data</li><li>Present data in charts</li></ul><p><em>This session will use Microsoft Excel. </em>Please install the software <em>before </em>joining this session: <a href='https://my.uq.edu.au/information-and-services/information-technology/software-and-web-apps/software-uq/microsoft-software/office-365-personal-use'>https://my.uq.edu.au/information-and-services/info...<br></a></p><p><img style='background-color: initial; width: 25px;' src='https://studenthub.uq.edu.au/Uploads/Images/Library/e-learning-laptop-1.png'> Attend online: Zoom link to be sent before session</p><p><em><em>As part of <a href='https://ppl.app.uq.edu.au/content/10.10.01-sustainability-0'>UQ Sustainability</a> this class has no paper handouts. You may download manuals and exercises for this class on the </em><a href='https://web.library.uq.edu.au/library-services/training/training-resources'><em>training resources</em></a><em> page.</em></em></p>",
summary: "A beginner's guide to essential spreadsheet concepts and skills",
placesRemaining: 'Class is full. Register for waitlist.',
start: '2020-11-24T10:00:00+10:00',
end: '2020-11-24T11:30:00+10:00',
venue: 'Townsville',
};
});
</script>
</div>
</article>
<connect-footer></connect-footer>
<uq-footer></uq-footer>
<script type="text/javascript" src="uq-lib-reusable.min.js"></script>
<script type="text/javascript" src="drupal-lib-reusable.min.js"></script>
</body>
</html>