/
blueprint.html
141 lines (126 loc) · 4.77 KB
/
blueprint.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
138
139
140
141
<html>
<head>
<link rel="stylesheet" href="/content/css/blueprint/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="/content/css/blueprint/print.css" type="text/css" media="print" />
<!--[if IE]>
<link rel="stylesheet" href="/css/blueprint/ie.css" type="text/css" media="screen, projection" />
<![endif]-->
<link rel="stylesheet" href="/content/css/recess.css" />
<link type="text/css" rel="stylesheet" href="/content/css/SyntaxHighlighter.css" />
<script language="javascript" src="/content/js/shCore.js"></script>
<script language="javascript" src="/content/js/shBrushPhp.js"></script>
<script language="javascript">
window.onload = function() {
dp.SyntaxHighlighter.ClipboardSwf = '/content/flash/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
function addField() {
$("#modelForm .removeField:last").unbind('blur');
$("#rowTemplate").children().clone().appendTo("#modelForm");
$("#modelForm .removeField:last").click(function() { $(this).parent().parent().remove(); });
setFocus();
}
function setFocus() {
$("#modelForm .removeField:last").blur( addField );
$("#modelForm .fieldName:last").focus();
}
$(".addField").click( addField );
setFocus();
$("#modelForm .removeField:last").click(function() { $(this).parent().parent().remove(); });
$("#modelForm").children().clone().appendTo("#rowTemplate");
}
</script>
<script type="text/javascript" src="/content/js/jquery/jquery-1.2.6.js"></script>
</head>
<body>
<div class="container">
<div class="span-24 header">
<h1>Recess! Tools</h1>
</div>
<div class="span-19">
<div class="span-19 navigation last">
<ul>
<li><a href="">Apps</a></li>
<li class="highlight"><a href="">Code</a></li>
<li><a href="">Database</a></li>
<li><a href="">Tests</a></li>
<li><a href="">Routes</a></li>
</ul>
</div>
<div class="span-3 border left-sidebar">
<h3>Quick Links</h3>
<ul>
<li class="loud">Model Info</li>
<ul>
<li><a href="">Table</a></li>
<li><a href="">Source</a></li>
<li><a href="">Relationships</a></li>
<li><a href="">Columns</a></li>
</ul>
<li class="loud">Class Info</li>
<ul>
<li><a href="">Properties</a></li>
<li><a href="">Methods</a></li>
</ul>
</ul>
</div>
<div class="span-16 last">
<h3>Package: <a href="">recess.lang</a></h3>
<form class="modelForm">
<table>
<thead>
<tr>
<td>Property Name</td>
<td>Type</td>
<td>Nullable?</td>
<td>Default Value</td>
<td>Remove</td>
</tr>
</thead>
<tbody id="modelForm">
<tr>
<td><input type="text" name="field[]" class="fieldName" /></td>
<td><select name="type[]">
<option value="string">String</option>
<option value="text">Text</option>
<option value="integer">Integer</option>
<option value="decimal">Decimal</option>
<option value="float">Float</option>
<option value="time">Time</option>
<option value="timestamp">Timestamp</option>
<option value="date">Date</option>
<option value="datetime">Date/Time</option>
<option value="blob">Blob</option>
<option value="boolean">Boolean</option>
</select></td>
<td><input type="checkbox" name="nullable[]" value="1" /></td>
<td><input type="text" name="defaultValue[]" /></td>
<td><input class="removeField" type="button" value="X"></input></td>
</tr>
</tbody>
</table>
<input type="button" class="addField" value="Add Field" />
</form>
<table style="visibility:hidden;">
<tbody id="rowTemplate">
</tbody>
</table>
</div>
</div>
<div class="span-5 last infobar">
<h3><span>Recess! Resources</span></h3>
<ul>
<li><a href="http://www.recessframework.com/">RecessFramework.com</a></li>
<li><a href="http://www.recessframework.com/">Documentation</a></li>
<li><a href="http://www.recessframework.com/">Recess! Blog</a></li>
<li><a href="http://www.recessframework.com/">Kris' Blog</a></li>
<li><a href="http://www.recessframework.com/">Mailing Group</a></li>
<li><a href="http://www.recessframework.com/">Report Bugs</a></li>
<li><a href="http://www.recessframework.com/">Recess! Source</a></li>
</ul>
</div>
<div class="span-24 footer">
<p class="quiet bottom"><a href="http://www.recessframework.com/">Recess! Framework</a> is © 2008 <a href="http://www.krisjordan.com/">Kris Jordan</a>. All rights reserved. Recess! is open source under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>.</p>
</div>
</div>
</body>
</html>