-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
69 lines (53 loc) · 2.59 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Vue.js Send Firebase Cloud Messaging</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="./app.css" rel="stylesheet">
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script> -->
<!-- development version, includes helpful console warnings -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<!-- production version, optimized for size and speed -->
<!-- <script src="https://cdn.jsdelivr.net/npm/vue"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
</head>
<body>
<div id="app">
<div class="container">
<div class="row">
<div class="col-md-12" style="margin-top: 50px">
<form>
<div class="form-group">
<label for="fcmTitle">Fcm To</label>
<input type="text" v-model="fcmJson.to" class="form-control" id="fcmTitle" aria-describedby="fcmTitleHelp">
<small id="fcmTitleHelp" class="form-text text-muted">{{fcmJson.to}}</small>
</div>
<div class="form-group">
<label for="fcmTitle">Fcm Titel</label>
<input type="text" v-model="fcmJson.notification.title" class="form-control" id="fcmTitle" aria-describedby="fcmTitleHelp">
<small id="fcmTitleHelp" class="form-text text-muted">{{fcmJson.notification.title}}</small>
</div>
<div class="form-group">
<label for="fcmBody">Fcm Body</label>
<input type="text" v-model="fcmJson.notification.body" class="form-control" id="fcmBody" aria-describedby="fcmBodyHelp">
<small id="fcmBodyHelp" class="form-text text-muted">{{fcmJson.notification.body}}</small>
</div>
<button type="button" v-on:click="submitAction" class="btn btn-primary">Submit</button>
<span v-if="alertMsg" v-html="alertMsg"></span>
</form>
</div>
</div>
</div>
</div>
<!-- End #app -->
</body>
</html>
<script src="./app.js"></script>