-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsg.html
159 lines (106 loc) · 2.81 KB
/
msg.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
158
159
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/bootswatch/2.3.2/cerulean/bootstrap.min.css" rel="stylesheet" media="screen">
<script src="bootstrap/js/libs/jquery.js"></script>
<style>
/*
#container {
margin-top:60px;
height:300px;
width:560px;
}*/
.centered {
margin-top:30px;
}
.hero-unit {
border:3px solid;
border-color:#8fadff;
margin-top:60px;
width:560px;
padding: 20px 20px;
}
#msg1p {
}
#linktoForm{
visibility:hidden;
margin-left:10px;
}
#buttons{
margin-top:12%;
float:right;
}
hr{
color: #8fadff;
background-color: #8fadff;
height: 5px;
}
#logo{
margin-top:50px;
}
</style>
<script>
function GetURLParameter(sParam)
{
var pageURL = window.location.search.substring(1);
var params = pageURL.split('&');
for (var i=0; i<params.length;i++)
{
var paramnames = params[i].split('=');
if (paramnames[0] == sParam)
{
return paramnames[1];
}
}
}
function topPage(){
$('body').scrollTop(0);
}
$(document).ready(function () {
var success1 = GetURLParameter('success1');
var success2 = GetURLParameter('success2');
var msg1 = GetURLParameter('msg1');
var msg2 = GetURLParameter('msg2');
var msg;
msg1 = decodeURIComponent(msg1);
msg2 = decodeURIComponent(msg2);
if (success1==='true' && success2==='true'){
msg = 'The Form Was Sent Successfully';
}else{
msg = 'There was a Problem Sending the Form ';
}
$('#msglabel').text(msg);
if (msg1!='undefined') $('#msg1p').text(msg1);
if (success1=='true') {
$('#linktoForm').css("visibility","visible");
}
if (msg2 !='undefined') $('#msg2').text(msg2);
});
</script>
</head>
<body onload="topPage()">
<title>Deploy form - Project Implicit</title>
<div id="container" class="container hero-unit" >
<h3 id="msglabel" ></h3>
<hr>
</br>
<div id="msg1div">
<<<<<<< HEAD
<h4 id="msg1p" style="display:inline;"></h4> <a id="linktoForm" class="btn btn-mini btn-primary " target="_blank" href="/implicit/forms/checklistold.html">View Forms</a>
=======
<h4 id="msg1p" style="display:inline;"></h4> <a id="linktoForm" class="btn btn-mini btn-primary " target="_blank" href="/implicit/forms/checklist.html">View Forms</a>
>>>>>>> a32b1107a54a996ad8f8f1892ca0c590d574b191
</div></br>
<h4 id="msg2"> </h4>
<div id="buttons">
<a class="btn btn-primary" style="" href="javascript:history.back()">Return to Deploy Form</a>
</div>
</div>
</body>
</html>