-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
149 lines (126 loc) · 5.61 KB
/
index.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
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>GroumL</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/styles.css" />
<script>
(function(_,e,rr,s){_errs=[s];var c=_.onerror;_.onerror=function(){var a=arguments;_errs.push(a);
c&&c.apply(this,a)};var b=function(){var c=e.createElement(rr),b=e.getElementsByTagName(rr)[0];
c.src="//beacon.errorception.com/"+s+".js";c.async=!0;b.parentNode.insertBefore(c,b)};
_.addEventListener?_.addEventListener("load",b,!1):_.attachEvent("onload",b)})
(window,document,"script","519f6f375fc6563903000098");
</script>
<script src="//code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script>
<script src="http://static.stackmob.com/js/stackmob-js-0.9.1-bundled-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/spin.js/1.2.7/spin.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shCore.js"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/styles/shCore.min.css" rel="stylesheet" type="text/css" />
<link href="http://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/styles/shThemeDefault.min.css" rel="stylesheet" type="text/css" />
<script src="js/libs/jquery.infinitedrag.js"></script>
<script src="js/libs/jquery.selecttext.js"></script>
<script>
StackMob.init({
publicKey: '658ce1da-6317-4182-9f92-056c493226ea',
apiVersion : 0
});
</script>
<script src="js/tracking.js"></script>
<script src="js/events.js"></script>
<script src="js/syntax.js"></script>
<script src="js/util.js"></script>
<script src="js/models.js"></script>
<script src="js/collections.js"></script>
<script src="js/queries.js"></script>
<script src="js/views.js"></script>
<script src="js/routers.js"></script>
<script src="js/generators/django.js"></script>
<script src="js/init.js"></script>
<style type='text/css'>@import url('http://getbarometer.s3.amazonaws.com/assets/barometer/css/barometer.css');</style>
<script src='http://getbarometer.s3.amazonaws.com/assets/barometer/javascripts/barometer.js' type='text/javascript'></script>
<script type="text/javascript" charset="utf-8">
BAROMETER.load('RrArrAKSednx5AztrsbrR');
</script>
<script>
GROUML.Tracking.init('UA-41209205-1', 'grouml.com')
</script>
</head>
<body>
<a href="/"><h1 id="logo">Grouml</h1></a>
<div id="tabs" class="tabs-bottom">
<ul>
<li><a href="#board-tab">Diagrams</a></li>
<li><a href="#code-tab">Code Generator</a></li>
</ul>
<div class="tabs-spacer"></div>
<div id="board-tab">
<div id="viewport">
<div id="board"></div>
</div>
<div id="field-options"></div>
</div>
<div id="code-tab">
</div>
</div>
</body>
<script type="text/template" id="type_options_template">
<% _.each(types, function(t) { %>
<option value="<%= t %>" <% if(current == t) { %> selected="selected" <% } %>><%= t %></option>
<% }); %>
</script>
<script type="text/template" id="field_options_title_template">
<p><%= objectName %>.<%= fieldName %> options</p>
</script>
<script type="text/template" id="tpl-toolbar-view">
<div id="toolbar" class="ui-widget-header ui-corner-all">
<button id="add-object">Add Object</button>
</div>
</script>
<script type="text/template" id="tpl-object-view">
<input class="object-name" value="<%=name%>" /><input class="delete-object" type="image" src="img/glyphicons/glyphicons_192_circle_remove.png" title="Delete Object" />
<div class="field-wrapper"></div>
<div tabindex="-1" class="add-field-wrapper">
<input type="image" tabindex="-1" src="img/glyphicons/glyphicons_190_circle_plus.png">
</div>
</script>
<script type="text/template" id="tpl-field-view">
<input class="delete-field" type="image" src="img/glyphicons/glyphicons_191_circle_minus.png" title="Delete Field" />
<input class="name" value="<%=name%>" />
<select dir="rtl" class="type">
<option value="int">int</option>
<option value="float">float</option>
<option value="boolean">boolean</option>
<option value="char">char</option>
<option value="text">text</option>
</select>
</script>
<script type="text/template" id="tpl-options-view">
<p class="field-options-title">
<%=name%> options
</p><ul></ul>
<div tabindex="-1" class="add-field-option-wrapper">
<input type="image" tabindex="-1" src="img/glyphicons/glyphicons_190_circle_plus.png"></div>
</script>
<script type="text/template" id="tpl-option-view">
<input value="<%=name%>" class="key"><input value="<%=value%>" class="value">
</script>
<script type="text/template" id="tpl-code-view">
<div id="code-options">
<label for-"generator">Select Output Language: </label>
<select id="generator">
<option value="">--- select ---</option>
<% _.each(generators, function(g){ %>
<option <% if(currentGeneratorName == g) { %>selected="selected" <% } %>value="<%=g%>"><%=g%></option>
<% }); %>
</select>
</div>
<div id="code-output">
</div>
</script>
</html>