Skip to content

Commit 2e28e94

Browse files
RajeshGogosoheilv
andauthored
Forms and picker samples (#299)
* Updated to ES6, and added exception handling * Update code.gs * Added copyright headers to html files Co-authored-by: soheilv <soheilv@google.com> Co-authored-by: soheilv <97913459+soheilv@users.noreply.github.com>
1 parent cbbfde3 commit 2e28e94

File tree

7 files changed

+288
-151
lines changed

7 files changed

+288
-151
lines changed

forms/notifications/about.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<!--Copyright Google LLC
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
https://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License. -->
14+
115
<!-- [START apps_script_forms_notifications_quickstart] -->
216
<!DOCTYPE html>
317
<html>
@@ -23,4 +37,4 @@
2337
</div>
2438
</body>
2539
</html>
26-
<!-- [END apps_script_forms_notifications_quickstart] -->
40+
<!-- [END apps_script_forms_notifications_quickstart] -->

forms/notifications/authorizationEmail.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<!--Copyright Google LLC
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
https://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License. -->
14+
115
<!-- [START apps_script_forms_notifications_quickstart] -->
216
<p>The Google Forms add-on <i>Form Notifications</i> is set to run automatically
317
whenever a form is submitted. The add-on was recently updated and it needs you
@@ -18,4 +32,4 @@
1832
<p style="font-size:80%">This automatic message was sent to you via the <i>Form
1933
Notifications</i> add-on for Google Forms.
2034
<?= notice ?></p>
21-
<!-- [END apps_script_forms_notifications_quickstart] -->
35+
<!-- [END apps_script_forms_notifications_quickstart] -->

forms/notifications/creatorNotification.html

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

0 commit comments

Comments
 (0)