Skip to content

Commit 5972d06

Browse files
committed
Added top-level html tags, licence info
Change-Id: Ia977d4b4a9bf70f13ad7a72e9e3a0b939827c6f6
1 parent a43baa0 commit 5972d06

6 files changed

+376
-264
lines changed

About.html

+40-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,40 @@
1-
<link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
2-
<div>
3-
<p>
4-
<i>Form Notifications</i> was created as an sample add-on, and is meant
5-
for demonstration purposes only. It should not be used for complex or
6-
important workflows.
7-
</p>
8-
<p>
9-
The number of notifications this add-on produces are limited by the owner's
10-
available email quota; it will not send email notifications if the owner's
11-
daily email quota has been exceeded. Collaborators using this add-on on the
12-
same form will be able to adjust the notification settings, but will not be
13-
able to disable the notification triggers set by other collaborators.
14-
</p>
15-
</div>
1+
<!--
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
-->
16+
17+
<!DOCTYPE html>
18+
<html>
19+
<head>
20+
<base target="_top">
21+
<link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
22+
<!-- The CSS package above applies Google styling to buttons and other elements. -->
23+
</head>
24+
<body>
25+
<div>
26+
<p>
27+
<i>Form Notifications</i> was created as an sample add-on, and is meant
28+
for demonstration purposes only. It should not be used for complex or
29+
important workflows.
30+
</p>
31+
<p>
32+
The number of notifications this add-on produces are limited by the owner's
33+
available email quota; it will not send email notifications if the owner's
34+
daily email quota has been exceeded. Collaborators using this add-on on the
35+
same form will be able to adjust the notification settings, but will not be
36+
able to disable the notification triggers set by other collaborators.
37+
</p>
38+
</div>
39+
</body>
40+
</html>

AuthorizationEmail.html

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
-->
16+
117
<p>The Google Forms add-on <i>Form Notifications</i> is set to run automatically
218
whenever a form is submitted. The add-on was recently updated and it needs you
319
to re-authorize it to run on your behalf.</p>

Code.gs

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
/**
218
* @OnlyCurrentDoc
319
*

CreatorNotification.html

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
-->
16+
117
<p><i>Form Notifications</i> (a Google Forms add-on) has detected that the form
218
titled <a href="<?= formUrl?>"><b><?= title ?></b></a> has received
319
<?= responses ?> responses so far.</p>

RespondentNotification.html

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
-->
16+
117
<? for (var i = 0; i < paragraphs.length; i++) { ?>
218
<p><?= paragraphs[i] ?></p>
319
<? } ?>

0 commit comments

Comments
 (0)