Git Repository Public Repository

CPE_learningsite

URLs

Copy to Clipboard

This repository has no backups
This repository's network speed is throttled to 100KB/sec

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
@model CPE.App.Web.Models.AdobeMeetingView
@{
	Layout = null;
}

<!DOCTYPE html>

<html>
<head>
	<title>@Model.Name</title>
	<script type="text/javascript">
	    var leaving = false;
	    window.onbeforeunload = function() {

	        if (!leaving) {
	            leaving = true;
	            setTimeout(function() {
	                loadSurvey();
	            }, 100);
	            var browser = navigator.userAgent.toLowerCase();
	            var response = "";
	            if (browser.indexOf("firefox") > -1)
	                response = "Please click \"Stay on Page\" at the next prompt to take a brief moment to complete our Survey.";
	            else if (browser.indexOf("msie") > -1)
	                response = "Please click \"Cancel\" to stay on the current page to take a brief moment to complete our Survey.";
	            else if (browser.indexOf("webkit") > -1)
	                response = "Please click \"Stay on this Page\" to take a brief moment to complete our Survey.";
	            else if (browser.indexOf("opera") > -1)
	                response = "Please click \"Cancel\" to stay on the current page to take a brief moment to complete our Survey.";
	            else
	                response = "Please click \"Cancel\" to stay on the current page to take a brief moment to complete our Survey.";
	            if (/Firefox[\/\s](\d+)/.test(navigator.userAgent) && new Number(RegExp.$1) >= 4)
	                alert(response);
	            return response;
	        }
	    };

	    function loadSurvey() {
	        window.location = "/index/wufoo/@Model.PrincipalId";
	    }

	</script>
	<style>
		html, body, iframe {
			width: 100%;
			height: 100%;
			border: 0px;
			margin: 0px;
		}
	</style>
</head>
<body>
    <div id="container" class="hidden">
        <input id="meeting_sco" type="hidden" value="@Model.ScoId" />
        <input id="principal_id" type="hidden" value="@Model.PrincipalId" />
        <input id="certificate_id" type="hidden" value="@Model.CertificateId"/>
    </div>
        <iframe src="@Model.Url" />
</body>
</html>

Commits for CPE_learningsiteCPE/CPE.App/CPE.App.Web/Views/Index/meeting.cshtml

Diff revisions: vs.
Revision Author Commited Message
4cd176 ... v.shishlov Fri 27 Aug, 2021 14:33:17 +0000

initial commit