-
Notifications
You must be signed in to change notification settings - Fork 0
/
deal.html
137 lines (137 loc) · 7.03 KB
/
deal.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<div class="navbar">
<!-- Navbar inner for Task page-->
<div data-page="deal.html" class="navbar-inner">
<div class="left sliding">
<a href="deals.html" class="back link">
<i class="icon icon-back"></i>
<span>Назад</span>
</a>
</div>
<div class="center sliding">Сделка</div>
<div class="right">
<a href="javascript:void(0);" id='savedeal' class="link icon-only">
Сохранить</a>
</div>
</div>
</div>
<div class="pages">
<!-- Page, data-page contains page name-->
<div data-page="deal" class="page">
<!-- Scrollable page content-->
<div class="page-content">
<div class="content-block">
<form class="list-block" id="maininfo">
<div class="list-group">
<ul>
<li class="list-group-title">Основная информация по сделке</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Наименование</div>
<div class="item-input">
<input type="text" name="name" placeholder="Наименование"
value="<%- name%>">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Сумма</div>
<div class="item-input">
<input type="text" name="amount" placeholder="Сумма" value="<%= amount%>">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Контрагент</div>
<div class="item-input">
<input type="text" name="partner" placeholder="Контрагент"
value="<%= partner%>">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Стадия продаж</div>
<div class="item-input">
<input type="text" name="salestage" placeholder="Стадия продаж"
value="<%= salestage%>">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Дата закрытия</div>
<div class="item-input">
<input type="text" name="dateclose" placeholder="Дата закрытия"
value="<%= dateclose%>">
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Описание</div>
<div class="item-input">
<textarea name="description"><%= description%></textarea>
</div>
</div>
</div>
</li>
<li>
<div class="item-content">
<div class="item-inner">
<div class="item-title label">Менеджер</div>
<div class="item-input">
<input type="text" name="manager" placeholder="Менеджер"
value="<%= manager%>">
</div>
</div>
</div>
</li>
</div>
</ul>
</form>
<div class="list-block" id="contacts">
<div class="list-group">
<ul>
<li class="list-group-title">Контакты по сделке</li>
<% contacts.forEach(function(contact) { %>
<a href="contact.html?id=<%- contact.id%>" class="item-link item-content">
<div class="item-inner">
<div class="item-title"><%- contact.name%></div>
<div class="item-after"><%- contact.phone_mobile%></div>
</div>
</a>
<% }); %>
</ul>
</div>
</div>
<div class="list-block" id="tasks">
<div class="list-group">
<ul>
<li class="list-group-title">Задачи по сделке</li>
<% tasks.forEach(function(task) { %>
<a href="task.html?id=<%- task.id%>" class="item-link item-content">
<div class="item-inner">
<div class="item-title"><%- task.name%></div>
</div>
</a>
<% }); %>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>