-
Notifications
You must be signed in to change notification settings - Fork 3
/
tangy-photo-capture.html
80 lines (72 loc) · 3.14 KB
/
tangy-photo-capture.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>tangy-photo-capture demo</title>
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="../node_modules/devtools-detect/index.js"></script>
<script src="../node_modules/redux/dist/redux.min.js"></script>
<script type="module">
import '@polymer/iron-demo-helpers/demo-pages-shared-styles';
import '@polymer/iron-demo-helpers/demo-snippet';
</script>
<custom-style>
<style>
html {
--document-background-color: #FAFAFA;
--primary-color-dark: #3c5b8d;
--primary-text-color: var(--light-theme-text-color);
--primary-color: #3c5b8d;
--accent-color: #f26f10;
--accent-text-color: #FFF;
--error-color: var(--paper-red-500);
--disabled-color: #BBB;
}
h1,
h2,
h3,
h4,
h5 {
@apply --paper-font-common-base;
color: var(--primary-text-color);
margin: 25px 0px 5px 15px;
}
</style>
</custom-style>
<script type="module" src="../tangy-form.js"></script>
<script type="module" src="../input/tangy-acasi.js"></script>
<script type="module" src="../input/tangy-box.js"></script>
<script type="module" src="../input/tangy-checkbox.js"></script>
<script type="module" src="../input/tangy-checkboxes.js"></script>
<script type="module" src="../input/tangy-checkboxes-dynamic.js"></script>
<script type="module" src="../input/tangy-eftouch.js"></script>
<script type="module" src="../input/tangy-gps.js"></script>
<script type="module" src="../input/tangy-input.js"></script>
<script type="module" src="../input/tangy-location.js"></script>
<script type="module" src="../input/tangy-radio-button.js"></script>
<script type="module" src="../input/tangy-radio-buttons.js"></script>
<script type="module" src="../input/tangy-select.js"></script>
<script type="module" src="../input/tangy-timed.js"></script>
<script type="module" src="../input/tangy-untimed-grid.js"></script>
<script type="module" src="../input/tangy-toggle-button.js"></script>
<script type="module" src="../input/tangy-photo-capture.js"></script>
<script type="module" src="../input/tangy-qr.js"></script>
<script type="module" src="../input/tangy-consent.js"></script>
<script type="module" src="../input/tangy-signature.js"></script>
<custom-style>
<style is="custom-style" include="demo-pages-shared-styles">
</style>
</custom-style>
</head>
<body>
<div class="vertical-section-container centered">
<h3>tangy-photo-capture demo</h3>
<demo-snippet>
<template>
<tangy-photo-capture name="test-photo" max-size-in-kb='512' label="Take a Photo" ></tangy-photo-capture>
</template>
</demo-snippet>
</div>
</body>
</html>