|
9 | 9 | <title>Branch Testing</title> |
10 | 10 | </head> |
11 | 11 | <body> |
12 | | - <div> |
13 | | - <fieldset> |
14 | | - <legend>Branch Universal Object</legend> |
15 | | - <div> |
16 | | - <button onclick="BranchUniversalObject()">Create</button> |
17 | | - </div> |
18 | | - </fieldset> |
19 | | - </div> |
20 | | - <div> |
21 | | - <fieldset> |
22 | | - <legend>Branch Deep Link</legend> |
23 | | - <div> |
24 | | - <input id="alias" name="alias" type="text" placeholder="Enter an alias"> |
25 | | - </div> |
26 | | - <div> |
| 12 | + <fieldset> |
| 13 | + <legend>Branch Universal Object</legend> |
| 14 | + <button onclick="BranchUniversalObject()">Create</button> |
| 15 | + </fieldset> |
| 16 | + <fieldset> |
| 17 | + <legend>Branch Deep Link</legend> |
| 18 | + <input id="alias" name="alias" type="text" placeholder="Deep link alias (optional)"> |
| 19 | + <section> |
27 | 20 | <button onclick="BranchDeepLink()">Create</button> |
28 | 21 | <button onclick="BranchShareSheet()">Share</button> |
29 | | - </div> |
30 | | - <div> |
31 | | - <input type="text" id="generated-url" placeholder="Deep Link" readonly> |
32 | | - </div> |
33 | | - </fieldset> |
34 | | - </div> |
35 | | - <div> |
36 | | - <fieldset> |
37 | | - <legend>Branch Deep Link Data</legend> |
38 | | - <div> |
39 | | - <button onclick="BranchFirstData()">First</button> |
40 | | - <button onclick="BranchLatestData()">Latest</button> |
41 | | - </div> |
42 | | - </fieldset> |
43 | | - </div> |
44 | | - <div> |
45 | | - <fieldset> |
46 | | - <legend>Branch Content</legend> |
47 | | - <div> |
48 | | - <button onclick="BranchView()">Create</button> |
49 | | - <button onclick="BranchSpotlight()">Share</button> |
50 | | - </div> |
51 | | - </fieldset> |
52 | | - </div> |
53 | | - <div> |
54 | | - <fieldset> |
55 | | - <legend>Branch User</legend> |
56 | | - <div> |
57 | | - <input type="text" id="identity" name="identity" placeholder="User Id"> |
58 | | - </div> |
59 | | - <div> |
60 | | - <button onclick="BranchUser()">Login</button> |
61 | | - <button onclick="BranchLogout()">Logout</button> |
62 | | - </div> |
63 | | - </fieldset> |
64 | | - </div> |
65 | | - <div> |
66 | | - <fieldset> |
67 | | - <legend>Branch Event</legend> |
68 | | - <div> |
69 | | - <input type="text" id="custom-action" name="custom-action" placeholder="Event Name"> |
70 | | - </div> |
71 | | - <div> |
72 | | - <button onclick="BranchEvent()">Create</button> |
73 | | - <button onclick="BranchCommerce()">Commerce</button> |
74 | | - </div> |
75 | | - </fieldset> |
76 | | - </div> |
77 | | - <div> |
78 | | - <fieldset> |
79 | | - <legend>Branch Referral</legend> |
80 | | - <div> |
81 | | - <button onclick="BranchReferralsReward()">Reward</button> |
82 | | - <button onclick="BranchReferralsLoad()">Load</button> |
83 | | - </div> |
84 | | - <div> |
85 | | - <button onclick="BranchReferralsRedeem()">Redeem</button> |
86 | | - <button onclick="BranchReferralsHistory()">History</button> |
87 | | - </div> |
88 | | - </fieldset> |
89 | | - </div> |
| 22 | + </section> |
| 23 | + <input type="text" id="generated-url" placeholder="Deep link" readonly> |
| 24 | + </fieldset> |
| 25 | + <fieldset> |
| 26 | + <legend>Branch Deep Link Data</legend> |
| 27 | + <section> |
| 28 | + <button onclick="BranchFirstData()">First</button> |
| 29 | + <button onclick="BranchLatestData()">Latest</button> |
| 30 | + </section> |
| 31 | + </fieldset> |
| 32 | + <fieldset> |
| 33 | + <legend>Branch Content</legend> |
| 34 | + <section> |
| 35 | + <button onclick="BranchView()">Create</button> |
| 36 | + <button onclick="BranchSpotlight()">Share</button> |
| 37 | + </section> |
| 38 | + </fieldset> |
| 39 | + <fieldset> |
| 40 | + <legend>Branch User</legend> |
| 41 | + <input type="text" id="identity" name="identity" placeholder="User Id"> |
| 42 | + <section> |
| 43 | + <button onclick="BranchUser()">Login</button> |
| 44 | + <button onclick="BranchLogout()">Logout</button> |
| 45 | + </section> |
| 46 | + </fieldset> |
| 47 | + <fieldset> |
| 48 | + <legend>Branch Event</legend> |
| 49 | + <input type="text" id="custom-action" name="custom-action" placeholder="Event Name"> |
| 50 | + <section> |
| 51 | + <button onclick="BranchEvent()">Create</button> |
| 52 | + <button onclick="BranchCommerce()">Commerce</button> |
| 53 | + </section> |
| 54 | + </fieldset> |
| 55 | + <fieldset> |
| 56 | + <legend>Branch Referral</legend> |
| 57 | + <section> |
| 58 | + <button onclick="BranchReferralsReward()">Reward</button> |
| 59 | + <button onclick="BranchReferralsLoad()">Load</button> |
| 60 | + </section> |
| 61 | + <section> |
| 62 | + <button onclick="BranchReferralsRedeem()">Redeem</button> |
| 63 | + <button onclick="BranchReferralsHistory()">History</button> |
| 64 | + </section> |
| 65 | + </fieldset> |
90 | 66 | <script type="text/javascript" src="cordova.js"></script> |
91 | 67 | <script type="text/javascript" src="js/index.js"></script> |
92 | 68 | </body> |
|
0 commit comments