-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassets.html
More file actions
112 lines (102 loc) · 7.03 KB
/
assets.html
File metadata and controls
112 lines (102 loc) · 7.03 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<templates>
<descriptor type="bind.DObject" name="test">
<template name="PersonInfoTemplate">
<section db-job="stop">
<div class="container" db-job="stop">
<script>;</script>
<div class="row">
<div class="col-md-4 pull-right" style="background: #00aff2; padding: 15px; background-color: #337ab7;">
<div class="media block block-primary-head no-pad">
<h3>
<i class="fa fa-pencil h3i glyphicon glyphicon-pencil"></i>
Personal Info
</h3>
<div class="block-content media-body" >
<x db-job="show" ofType="model" target="1/" />
<form role="form">
<div class="form-group ">
<label>First Name</label>
<input type="text" required class="form-control fc" placeholder="FirstName required" db-check='username' db-bind="FirstName" db-job='input' db-twoway="3" />
</div>
<div class="form-group ">
<label>Last Name</label>
<input type="text" required class="form-control fc" placeholder="LastName required" db-check='username' db-bind="LastName" db-job='input' db-twoway="3" />
</div>
<div class="form-group ">
<label>Full Name</label>
<label class="form-control fc" db-bind="FullName" db-job='label' />
</div>
<div class="form-group">
<label>Gender</label>
<input class="kicnt kitext" db-bind="Gender" db-job="enumoption" enum="Gender" db-twoway="true">
</div>
<button type="button" on-click='this.[:view].backup' class="btn b btn-danger pull-left">SAVE STATE</button>
<button type="button" on-click='this.[:view].restore' class="btn b btn-default pull-left">RESTORE</button>
</form>
</div>
<div class="badge " style="color:black;margin:auto;padding:22px 0;background-color: transparent;">
</div>
</div>
</div>
<div class="col-md-8 pull-right" style="background: #00aff2; padding: 15px; background-color: #337ab7;">
<div class="media block block-primary-head no-pad">
<h3>
<i class="fa fa-pencil h3i glyphicon glyphicon-pencil"></i>
List Des Person
</h3>
<button type="button" on-click='this.[:view].newrecord' style="margin-left:0px;margin-right:5px" class="btn b btn-default pull-left ">New</button>
<button type="button" on-click='this.[:view].deleteRecord' style="margin-left:5px;margin-right:15px" class="btn b btn-default pull-left ">Delete</button>
<div class="block-content media-body" db-bind="this.[:view]">
<div db-foreach="Records" class="panel panel-success" id="test" style="min-width:900px" db-name="listView">
<div class="panel-body">
<table class="table">
<thead>
<tr>
<th>
First Name
</th>
<th>
Last Name
</th>
<th>
Gender
</th>
<th>
Age
</th>
</tr>
</thead>
<tbody db-content>
<template>
<tr>
<td>
<label db-job="label" db-bind="FirstName"></label>
</td>
<td>
<label db-job="label" db-bind="LastName"></label>
</td>
<td>
<label db-job="enum2string" type="Gender" db-bind="Gender"></label>
</td>
<!--<td>
<label db-job="enum2string" db-bind="Gender"></label>
</td>-->
<td><button on-click="this.[:view].deleteRecord">DELETE</button></td>
</tr>
</template>
</tbody>
</table>
</div>
</div>
</div>
<div class="badge " style="color:black;margin:auto" db-bind="CheckLogging" db-job="loggedjob" db-twoway="false">
YOU ARE NOT LOGGED .
</div>
</div>
</div>
</div>
</div>
</section>
</template>
</descriptor>
</templates>