-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmConfig.aspx
229 lines (176 loc) · 8.67 KB
/
frmConfig.aspx
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="frmConfig.aspx.vb" Inherits="frmConfig" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<link href="Content/tablanocolor.css" rel="stylesheet" />
<style>
/*.navbar-top-links > li > a:hover { background:#9f9 no-repeat 0 -20px; color:#9f9 } .navbar-top-links > li > a:hover > .fa { color:#000 }*/
.fileUpload {
position: relative;
overflow: hidden;
margin: 10px;
}
.fileUpload input.upload {
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 0;
font-size: 20px;
cursor: pointer;
opacity: 0;
filter: alpha(opacity=0);
}
</style>
<style runat="server" id="estilo"></style>
<div id="page-wrapper">
<div class="row">
<div class="titulolink">
<br />
<a href="frmMensajesAdm.aspx"><i class="fa fa-home fa-fw"></i></a>>
<a href="#">Configuracion</a>
<br />
<br />
</div>
<br />
<div class="row row-centered ">
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div>Articulos a mostrar:</div>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Text="Con stock" Value="stock"></asp:ListItem>
<asp:ListItem Text="Todos los articulos" Value="all"></asp:ListItem>
</asp:DropDownList>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div>Cantidad por busqueda:</div>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem Text="5 Articulos" Value="5"></asp:ListItem>
<asp:ListItem Text="10 Articulos" Value="10"></asp:ListItem>
<asp:ListItem Text="20 Articulos" Value="10"></asp:ListItem>
<asp:ListItem Text="50 Articulos" Value="50"></asp:ListItem>
<asp:ListItem Text="100 Articulos" Value="100"></asp:ListItem>
<asp:ListItem Text="200 Articulos" Value="200"></asp:ListItem>
</asp:DropDownList>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
<div>Documento de venta:</div>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem Text="Oferta de ventas" Value="oferta"></asp:ListItem>
<asp:ListItem Text="Pedido de cliente" Value="pedido"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="row row-centered ">
<h3>Apariencia <small> Color y logo</small></h3>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Barra Top:</div>
<input id="Color0" runat="server" type="color" name="favcolor" value="#ff0000" />
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Info Usuario:</div>
<input id="Color1" runat="server" type="color" name="favcolor" value="#ff0000" />
</div>
</div>
<div class="row row-centered ">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Menu lateral:</div>
<input id="Color2" runat="server" type="color" name="favcolor" value="#ff0000" />
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Contenido:</div>
<input id="Color3" runat="server" type="color" name="favcolor" value="#ff0000" />
</div>
</div>
<br />
<div class="row row-centered ">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
Logo pagina:<br />
<input type="hidden" name="MAX_FILE_SIZE" value="4194304" style="display: block;" />
<div class="fileUpload btn btn-primary">
<span>Examinar</span>
<input id="File1" runat="server" type="file" class="upload" accept="image/*" />
</div>
<br />
<br />
</div>
</div>
</div>
<div class="row row-centered ">
<h3> Descarga Documento electronico<small> PDF y XML</small></h3>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div>Ruta XML:</div>
<input runat="server" id="inputxml" type="text" />
</div>
</div>
<div class="row row-centered ">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div>Ruta PDF:</div>
<input runat="server" id="inputpdf" type="text" />
</div>
</div>
<%--EMAIL CONFIG--%>
<div class="row row-centered ">
<h3> Configuracion EMAIL <small> SMTP</small></h3><br />
<asp:Button Class="btn btn-info btn-md" ID="PruebaEnvioMail" runat="server" Text="Prueba Envio" />
<br />
<div id="Errormail" runat="server" ></div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>SMTP</div>
<input runat="server" id="inputSMTP" type="text" />
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>PUERTO</div>
<input runat="server" id="inputPUERTO" type="text" />
</div>
</div>
<div class="row row-centered ">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Email Username</div>
<input runat="server" id="inputUsername" type="text" />
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Email Acount</div>
<input runat="server" id="inputAcount" type="text" />
</div>
</div>
<div class="row row-centered ">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>Email Password</div>
<input runat="server" id="inputPassword" type="text" />
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>SSL</div>
<asp:DropDownList ID="DropDownList4" runat="server">
<asp:ListItem Text="SI" Value="SI"></asp:ListItem>
<asp:ListItem Text="NO" Value="NO"></asp:ListItem>
</asp:DropDownList>
</div>
</div>
<br />
<div class="row row-centered ">
<div class="col-xs-12 ">
<asp:Button type="button" runat="server" ID="confirmar" Text="Guardar configuracion" class="btn btn-success btn-md" OnClientClick="Confirm()" />
</div>
</div>
<br />
<br />
<br />
<input type="text" runat="server" id="actuacan" clientidmode="Static" style="display: none" />
<input type="text" runat="server" id="actuaid" clientidmode="Static" style="display: none" />
<button id="secretbutton" runat="server" class="btn btn-default" type="button" style="display: none">dois</button>
<script>
function confirpedido(id) {
document.getElementById("actuacan").value = 'confir';
document.getElementById("actuaid").value = id.substring(3, id.length);
document.getElementById('<%= secretbutton.ClientID%>').click();
//reload();
}
function discre(id) {
document.getElementById("actuacan").value = 'dis';
document.getElementById("actuaid").value = id.substring(3, id.length);
document.getElementById('<%= secretbutton.ClientID%>').click();
//reload();
}
</script>
</div>
</asp:Content>