lurker 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/Gemfile +1 -0
- data/README.md +4 -1
- data/Rakefile +5 -3
- data/lib/lurker/cli.rb +33 -5
- data/lib/lurker/form_builder.rb +2 -1
- data/lib/lurker/presenters/endpoint_presenter.rb +15 -3
- data/lib/lurker/presenters/schema_presenter.rb +5 -4
- data/lib/lurker/templates/javascripts/application.js +1 -6
- data/lib/lurker/templates/javascripts/highlight.pack.js +1 -0
- data/lib/lurker/templates/javascripts/lurker.js +15 -32
- data/lib/lurker/templates/layouts/_sidemenu.html.erb +4 -4
- data/lib/lurker/templates/layouts/application.html.erb +22 -34
- data/lib/lurker/templates/lurker/rendering/_submit_form.html.erb +25 -21
- data/lib/lurker/templates/lurker/rendering/show.html.erb +29 -59
- data/lib/lurker/templates/public/application.css +1329 -1422
- data/lib/lurker/templates/public/application.js +16 -129
- data/lib/lurker/templates/stylesheets/application.css +25 -14
- data/lib/lurker/templates/stylesheets/docs.css +1454 -0
- data/lib/lurker/templates/stylesheets/github.css +124 -0
- data/lib/lurker/version.rb +1 -1
- data/lurker.gemspec +4 -0
- data/spec/spec_helper.rb +8 -1
- data/templates/generate_stuff.rb +3 -1
- data/templates/lurker_app.rb +3 -7
- metadata +47 -16
- metadata.gz.asc +7 -7
- data/lib/lurker/templates/javascripts/plugins/metisMenu/jquery.metisMenu.js +0 -45
- data/lib/lurker/templates/javascripts/prettify.js +0 -28
- data/lib/lurker/templates/javascripts/sb-admin.js +0 -18
- data/lib/lurker/templates/layouts/_navbar_right.html.erb +0 -13
- data/lib/lurker/templates/layouts/_sidesearch.html.erb +0 -12
- data/lib/lurker/templates/lurker/rendering/_breadcrumb.html.erb +0 -9
- data/lib/lurker/templates/lurker/rendering/_information_warning_li.html.erb +0 -8
- data/lib/lurker/templates/lurker/rendering/_left_menu.html.erb +0 -38
- data/lib/lurker/templates/lurker/rendering/_route_definitions.html.erb +0 -7
- data/lib/lurker/templates/lurker/rendering/_undefined_route.html.erb +0 -6
- data/lib/lurker/templates/stylesheets/font-awesome/css/font-awesome.css +0 -1331
- data/lib/lurker/templates/stylesheets/prettify-desert.css +0 -34
- data/lib/lurker/templates/stylesheets/prettify.css +0 -1
- data/lib/lurker/templates/stylesheets/sb-admin.css +0 -315
@@ -1,34 +0,0 @@
|
|
1
|
-
/* desert scheme ported from vim to google prettify */
|
2
|
-
pre.prettyprint { display: block; background-color: #333 }
|
3
|
-
pre .nocode { background-color: none; color: #000 }
|
4
|
-
pre .str { color: #ffa0a0 } /* string - pink */
|
5
|
-
pre .kwd { color: #f0e68c; font-weight: bold }
|
6
|
-
pre .com { color: #87ceeb } /* comment - skyblue */
|
7
|
-
pre .typ { color: #98fb98 } /* type - lightgreen */
|
8
|
-
pre .lit { color: #cd5c5c } /* literal - darkred */
|
9
|
-
pre .pun { color: #fff } /* punctuation */
|
10
|
-
pre .pln { color: #fff } /* plaintext */
|
11
|
-
pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
|
12
|
-
pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
|
13
|
-
pre .atv { color: #ffa0a0 } /* attribute value - pink */
|
14
|
-
pre .dec { color: #98fb98 } /* decimal - lightgreen */
|
15
|
-
|
16
|
-
/* Specify class=linenums on a pre to get line numbering */
|
17
|
-
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
|
18
|
-
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
|
19
|
-
/* Alternate shading for lines */
|
20
|
-
li.L1,li.L3,li.L5,li.L7,li.L9 { }
|
21
|
-
|
22
|
-
@media print {
|
23
|
-
pre.prettyprint { background-color: none }
|
24
|
-
pre .str, code .str { color: #060 }
|
25
|
-
pre .kwd, code .kwd { color: #006; font-weight: bold }
|
26
|
-
pre .com, code .com { color: #600; font-style: italic }
|
27
|
-
pre .typ, code .typ { color: #404; font-weight: bold }
|
28
|
-
pre .lit, code .lit { color: #044 }
|
29
|
-
pre .pun, code .pun { color: #440 }
|
30
|
-
pre .pln, code .pln { color: #000 }
|
31
|
-
pre .tag, code .tag { color: #006; font-weight: bold }
|
32
|
-
pre .atn, code .atn { color: #404 }
|
33
|
-
pre .atv, code .atv { color: #060 }
|
34
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|
@@ -1,315 +0,0 @@
|
|
1
|
-
/* Global Styles */
|
2
|
-
|
3
|
-
/* ------------------------------- */
|
4
|
-
|
5
|
-
body {
|
6
|
-
background-color: #f8f8f8;
|
7
|
-
padding-top: 100px;
|
8
|
-
}
|
9
|
-
|
10
|
-
@media(min-width:768px) {
|
11
|
-
body {
|
12
|
-
padding-top: 50px;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
/* Wrappers */
|
17
|
-
|
18
|
-
/* ------------------------------- */
|
19
|
-
|
20
|
-
#wrapper {
|
21
|
-
width: 100%;
|
22
|
-
}
|
23
|
-
|
24
|
-
#page-wrapper {
|
25
|
-
padding: 0 15px;
|
26
|
-
min-height: 568px;
|
27
|
-
background-color: #fff;
|
28
|
-
}
|
29
|
-
|
30
|
-
@media(min-width:768px) {
|
31
|
-
#page-wrapper {
|
32
|
-
position: inherit;
|
33
|
-
margin: 0 0 0 250px;
|
34
|
-
padding: 0 30px;
|
35
|
-
min-height: 1300px;
|
36
|
-
border-left: 1px solid #e7e7e7;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
.navbar-static-side ul li {
|
41
|
-
border-bottom: 1px solid #e7e7e7;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Navigation */
|
45
|
-
|
46
|
-
/* ------------------------------- */
|
47
|
-
|
48
|
-
/* Top Right Navigation Dropdown Styles */
|
49
|
-
|
50
|
-
.navbar-top-links li {
|
51
|
-
display: inline-block;
|
52
|
-
}
|
53
|
-
|
54
|
-
.navbar-top-links li:last-child {
|
55
|
-
margin-right: 15px;
|
56
|
-
}
|
57
|
-
|
58
|
-
.navbar-top-links li a {
|
59
|
-
padding: 15px;
|
60
|
-
min-height: 50px;
|
61
|
-
}
|
62
|
-
|
63
|
-
.navbar-top-links .dropdown-menu li {
|
64
|
-
display: block;
|
65
|
-
}
|
66
|
-
|
67
|
-
.navbar-top-links .dropdown-menu li:last-child {
|
68
|
-
margin-right: 0;
|
69
|
-
}
|
70
|
-
|
71
|
-
.navbar-top-links .dropdown-menu li a {
|
72
|
-
padding: 3px 20px;
|
73
|
-
min-height: 0;
|
74
|
-
}
|
75
|
-
|
76
|
-
.navbar-top-links .dropdown-menu li a div {
|
77
|
-
white-space: normal;
|
78
|
-
}
|
79
|
-
|
80
|
-
.navbar-top-links .dropdown-messages,
|
81
|
-
.navbar-top-links .dropdown-tasks,
|
82
|
-
.navbar-top-links .dropdown-alerts {
|
83
|
-
width: 310px;
|
84
|
-
min-width: 0;
|
85
|
-
}
|
86
|
-
|
87
|
-
.navbar-top-links .dropdown-messages {
|
88
|
-
margin-left: 5px;
|
89
|
-
}
|
90
|
-
|
91
|
-
.navbar-top-links .dropdown-tasks {
|
92
|
-
margin-left: -59px;
|
93
|
-
}
|
94
|
-
|
95
|
-
.navbar-top-links .dropdown-alerts {
|
96
|
-
margin-left: -123px;
|
97
|
-
}
|
98
|
-
|
99
|
-
.navbar-top-links .dropdown-user {
|
100
|
-
right: 0;
|
101
|
-
left: auto;
|
102
|
-
}
|
103
|
-
|
104
|
-
/* Sidebar Menu Styles */
|
105
|
-
|
106
|
-
.sidebar-search {
|
107
|
-
padding: 15px;
|
108
|
-
}
|
109
|
-
|
110
|
-
.arrow {
|
111
|
-
float: right;
|
112
|
-
}
|
113
|
-
|
114
|
-
.fa.arrow:before {
|
115
|
-
content: "\f104";
|
116
|
-
}
|
117
|
-
|
118
|
-
.active > a > .fa.arrow:before {
|
119
|
-
content: "\f107";
|
120
|
-
}
|
121
|
-
|
122
|
-
.nav-second-level li,
|
123
|
-
.nav-third-level li {
|
124
|
-
border-bottom: none !important;
|
125
|
-
}
|
126
|
-
|
127
|
-
.nav-second-level li a {
|
128
|
-
padding-left: 15px;
|
129
|
-
}
|
130
|
-
|
131
|
-
.nav-third-level li a {
|
132
|
-
padding-left: 52px;
|
133
|
-
}
|
134
|
-
|
135
|
-
@media(min-width:768px) {
|
136
|
-
.navbar-static-side {
|
137
|
-
z-index: 1;
|
138
|
-
position: absolute;
|
139
|
-
width: 250px;
|
140
|
-
margin-top: 51px;
|
141
|
-
}
|
142
|
-
|
143
|
-
.navbar-top-links .dropdown-messages,
|
144
|
-
.navbar-top-links .dropdown-tasks,
|
145
|
-
.navbar-top-links .dropdown-alerts {
|
146
|
-
margin-left: auto;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
/* Buttons */
|
151
|
-
|
152
|
-
/* ------------------------------- */
|
153
|
-
|
154
|
-
.btn-outline {
|
155
|
-
color: inherit;
|
156
|
-
background-color: transparent;
|
157
|
-
transition: all .5s;
|
158
|
-
}
|
159
|
-
|
160
|
-
.btn-primary.btn-outline {
|
161
|
-
color: #428bca;
|
162
|
-
}
|
163
|
-
|
164
|
-
.btn-success.btn-outline {
|
165
|
-
color: #5cb85c;
|
166
|
-
}
|
167
|
-
|
168
|
-
.btn-info.btn-outline {
|
169
|
-
color: #5bc0de;
|
170
|
-
}
|
171
|
-
|
172
|
-
.btn-warning.btn-outline {
|
173
|
-
color: #f0ad4e;
|
174
|
-
}
|
175
|
-
|
176
|
-
.btn-danger.btn-outline {
|
177
|
-
color: #d9534f;
|
178
|
-
}
|
179
|
-
|
180
|
-
.btn-primary.btn-outline:hover,
|
181
|
-
.btn-success.btn-outline:hover,
|
182
|
-
.btn-info.btn-outline:hover,
|
183
|
-
.btn-warning.btn-outline:hover,
|
184
|
-
.btn-danger.btn-outline:hover {
|
185
|
-
color: #fff;
|
186
|
-
}
|
187
|
-
|
188
|
-
/* Pages */
|
189
|
-
|
190
|
-
/* ------------------------------- */
|
191
|
-
|
192
|
-
/* Dashboard Chat */
|
193
|
-
|
194
|
-
.chat {
|
195
|
-
margin: 0;
|
196
|
-
padding: 0;
|
197
|
-
list-style: none;
|
198
|
-
}
|
199
|
-
|
200
|
-
.chat li {
|
201
|
-
margin-bottom: 10px;
|
202
|
-
padding-bottom: 5px;
|
203
|
-
border-bottom: 1px dotted #B3A9A9;
|
204
|
-
}
|
205
|
-
|
206
|
-
.chat li.left .chat-body {
|
207
|
-
margin-left: 60px;
|
208
|
-
}
|
209
|
-
|
210
|
-
.chat li.right .chat-body {
|
211
|
-
margin-right: 60px;
|
212
|
-
}
|
213
|
-
|
214
|
-
.chat li .chat-body p {
|
215
|
-
margin: 0;
|
216
|
-
color: #777777;
|
217
|
-
}
|
218
|
-
|
219
|
-
.panel .slidedown .glyphicon,
|
220
|
-
.chat .glyphicon {
|
221
|
-
margin-right: 5px;
|
222
|
-
}
|
223
|
-
|
224
|
-
.chat-panel .panel-body {
|
225
|
-
height: 350px;
|
226
|
-
overflow-y: scroll;
|
227
|
-
}
|
228
|
-
|
229
|
-
/* Login Page */
|
230
|
-
|
231
|
-
.login-panel {
|
232
|
-
margin-top: 25%;
|
233
|
-
}
|
234
|
-
|
235
|
-
/* Flot Chart Containers */
|
236
|
-
|
237
|
-
.flot-chart {
|
238
|
-
display: block;
|
239
|
-
height: 400px;
|
240
|
-
}
|
241
|
-
|
242
|
-
.flot-chart-content {
|
243
|
-
width: 100%;
|
244
|
-
height: 100%;
|
245
|
-
}
|
246
|
-
|
247
|
-
/* DataTables Overrides */
|
248
|
-
|
249
|
-
table.dataTable thead .sorting,
|
250
|
-
table.dataTable thead .sorting_asc,
|
251
|
-
table.dataTable thead .sorting_desc,
|
252
|
-
table.dataTable thead .sorting_asc_disabled,
|
253
|
-
table.dataTable thead .sorting_desc_disabled {
|
254
|
-
background: transparent;
|
255
|
-
}
|
256
|
-
|
257
|
-
table.dataTable thead .sorting_asc:after {
|
258
|
-
content: "\f0de";
|
259
|
-
float: right;
|
260
|
-
font-family: fontawesome;
|
261
|
-
}
|
262
|
-
|
263
|
-
table.dataTable thead .sorting_desc:after {
|
264
|
-
content: "\f0dd";
|
265
|
-
float: right;
|
266
|
-
font-family: fontawesome;
|
267
|
-
}
|
268
|
-
|
269
|
-
table.dataTable thead .sorting:after {
|
270
|
-
content: "\f0dc";
|
271
|
-
float: right;
|
272
|
-
font-family: fontawesome;
|
273
|
-
color: rgba(50,50,50,.5);
|
274
|
-
}
|
275
|
-
|
276
|
-
/* Circle Buttons */
|
277
|
-
|
278
|
-
.btn-circle {
|
279
|
-
width: 30px;
|
280
|
-
height: 30px;
|
281
|
-
padding: 6px 0;
|
282
|
-
border-radius: 15px;
|
283
|
-
text-align: center;
|
284
|
-
font-size: 12px;
|
285
|
-
line-height: 1.428571429;
|
286
|
-
}
|
287
|
-
|
288
|
-
.btn-circle.btn-lg {
|
289
|
-
width: 50px;
|
290
|
-
height: 50px;
|
291
|
-
padding: 10px 16px;
|
292
|
-
border-radius: 25px;
|
293
|
-
font-size: 18px;
|
294
|
-
line-height: 1.33;
|
295
|
-
}
|
296
|
-
|
297
|
-
.btn-circle.btn-xl {
|
298
|
-
width: 70px;
|
299
|
-
height: 70px;
|
300
|
-
padding: 10px 16px;
|
301
|
-
border-radius: 35px;
|
302
|
-
font-size: 24px;
|
303
|
-
line-height: 1.33;
|
304
|
-
}
|
305
|
-
|
306
|
-
.show-grid [class^="col-"] {
|
307
|
-
padding-top: 10px;
|
308
|
-
padding-bottom: 10px;
|
309
|
-
border: 1px solid #ddd;
|
310
|
-
background-color: #eee !important;
|
311
|
-
}
|
312
|
-
|
313
|
-
.show-grid {
|
314
|
-
margin: 15px 0;
|
315
|
-
}
|