Blame view

src/pages/notification.vue 2.01 KB
93a68cfa1   Jatinder Singh   first commit
1
2
  <template>
   <v-app id="login">
a259e694f   Jatinder Singh   minor change
3

04e3fbc56   Jatinder Singh   minor fix
4
      <v-toolbar color="white">
93a68cfa1   Jatinder Singh   first commit
5
6
7
8
9
10
11
12
13
        <h4 class="text-lg-left"><b>Push Notification</b></h4>
        <v-spacer></v-spacer>
       <v-flex xs6 sm4>
   <v-text-field justify-right
          prepend-icon="search"
          v-model="search"
          label="Find your users"
          single-line
          hide-details
04e3fbc56   Jatinder Singh   minor fix
14
          > 
93a68cfa1   Jatinder Singh   first commit
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
      </v-text-field>
       </v-flex>
   </v-toolbar>
      <v-card>
      <v-card-text>
      <v-flex xs12>
      <v-textarea
          solo
          name="input-7-4"
          label="Hello Users!">
      </v-textarea>
      </v-flex>
      </v-card-text>
      <v-flex text-xs-right>
      <div>
      <v-btn dark large class="text-lg-right" >send</v-btn>
      </div></v-flex>
      <v-container grid-list-xl>
      <v-data-table
        :headers="headers"
        :items="desserts"
        :search="search"
        v-model="selected"
        item-key="name"
        select-all
269061695   Jatinder Singh   changes
40
        class="text-xs-left"
93a68cfa1   Jatinder Singh   first commit
41
      >
93a68cfa1   Jatinder Singh   first commit
42
43
44
45
46
47
48
49
      <template slot="items" slot-scope="props">
        <td>
          <v-checkbox
            v-model="props.selected"
            primary
            hide-details
          ></v-checkbox>
        </td>
07095d4d8   Jatinder Singh   regex
50
        <td>{{ props.item.Name }}</td>
8fc85e8ec   Jatinder Singh   data table changes
51
52
53
54
        <!-- <td></td>
        <td></td>
        <td></td>
        <td></td> -->
93a68cfa1   Jatinder Singh   first commit
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
      </template>
      </v-data-table>
      </v-container>
      </v-card>
   </v-app>
  </template>
  <script>
  export default {
    data () {
      return {
        search: '',
        selected: [],
        headers: [
          {
            text: 'User List',
            align: 'left',
            sortable: false,
07095d4d8   Jatinder Singh   regex
72
            value: 'Name'
93a68cfa1   Jatinder Singh   first commit
73
          },
269061695   Jatinder Singh   changes
74
75
76
77
78
79
          // { text: '', value: '', sortable: false },
          // { text: '', value: '', sortable: false },
          // { text: '', value: '', sortable: false },
          // { text: '', value: '', sortable: false },
          // { text: '', value: '', sortable: false },
          // { text: '', value: '', sortable: false }
93a68cfa1   Jatinder Singh   first commit
80
81
82
83
        ],
        desserts: [
          {
            value: true,
07095d4d8   Jatinder Singh   regex
84
            Name: 'ajay',
93a68cfa1   Jatinder Singh   first commit
85
          }
93a68cfa1   Jatinder Singh   first commit
86
87
88
89
        ]
      };
    }
  };
8fc85e8ec   Jatinder Singh   data table changes
90
91
92
93
94
95
96
  </script>
  <style>
  /* #td {
      border: 1px solid #dddddd;
      text-align: left;
  } */
  </style>