-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprecryzer.html
More file actions
101 lines (98 loc) · 2.54 KB
/
Copy pathprecryzer.html
File metadata and controls
101 lines (98 loc) · 2.54 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
<html>
<head>
<style>
body {
background: grey;
}
textarea {
border-radius: 5px;
color: #ccc;
width: 100%;
height: 200px;
background: #555;
margin-top: 10px;
margin-bottom: 10px;
font-family: "Ubuntu", "Arial"
}
b {
color: #fff;
font-family: "Ubuntu", "Arial";
}
input[type="text"] {
border-radius: 5px;
background: #fff;
border: 1px #CCC;
height: 22px;
margin-left: 8px;
}
input[type="submit"] {
padding: 5px;
padding: 8px;
border-radius: 16px;
color: #fff;
background: #00aaff;
border: 1px white;
font-family: "Ubuntu", "Arial"
}
h2 {
color: #fff;
font-family: "Ubuntu", "Arial"
}
#formGenerateJqueryAjax {
padding-top: 20px;
}
</style>
<script src="js/jquery-1.7.2.min.js" language="javascript"></script>
<script src="js/precryzer.js"></script>
</head>
</body>
<h2>Pre<font color="#00aaff">cry</font>zer</h2>
<b>Easy Django code, HTML templates and JavaScript generator.</b>
<form id="formGenerateJqueryAjax">
<table>
<tr>
<td><b>Fields</b></td>
<td><input type="text" id="inputFields" placeholder="Fiels separated by comma (,)"></td>
</tr>
<!--
<tr>
<td><b>Service name</b></td>
<td>
<input type="text" id="serviceName" placeholder="/save_users/">
</td>
</tr>
-->
<tr>
<td><b>Form Id</b></td>
<td>
<input type="text" id="formId" placeholder="formUsersId">
</td>
</tr>
<tr>
<td><b>Object</b></td>
<td><input type="text" id="objectName" placeholder="Poll">
</td>
</tr>
<tr>
<td>
<input type="submit" value="Generate">
</td>
</tr>
</table>
</form>
<div id="generatedResult">
<b>JavaScript</b>
<textarea disabled="disabled" id="javascript">
</textarea>
<b>HTML</b>
<textarea disabled="disabled" id="html">
</textarea>
<b>Django view</b>
<textarea disabled="disabled" id="django">
</textarea>
<b>Django url</b>
<textarea disabled="disabled" id="urls">
</textarea>
</div>
</body>
</html>