koda 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/models/mongo_config.rb +1 -1
- data/lib/views/console.erb +3 -3
- data/lib/views/explorer.erb +3 -3
- data/lib/views/login.erb +2 -2
- data/lib/views/not_allowed.erb +2 -2
- metadata +7 -9
- data/public/koda/Help/DataTypes.txt +0 -84
- data/public/koda/Help/KodaType_Template.js +0 -48
data/lib/models/mongo_config.rb
CHANGED
data/lib/views/console.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<html lang="en">
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
|
-
<title>
|
6
|
+
<title>Koda - Console</title>
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8
8
|
<meta name="description" content="">
|
9
9
|
<meta name="author" content="">
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<span class="icon-bar"></span>
|
54
54
|
<span class="icon-bar"></span>
|
55
55
|
</a>
|
56
|
-
<a class="brand" href="#">
|
56
|
+
<a class="brand" href="#">Koda Explorer</a>
|
57
57
|
<div class="nav-collapse collapse">
|
58
58
|
<p class="navbar-text pull-right">
|
59
59
|
Logged in as <a href="#" class="navbar-link"><%=current_user.name%></a>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<section id="console">
|
75
75
|
|
76
76
|
<header>
|
77
|
-
<h4>
|
77
|
+
<h4>Koda console</h4>
|
78
78
|
</header>
|
79
79
|
|
80
80
|
<div>
|
data/lib/views/explorer.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<html lang="en">
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
|
-
<title>
|
6
|
+
<title>Koda - Explorer</title>
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8
8
|
<meta name="description" content="">
|
9
9
|
<meta name="author" content="">
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<span class="icon-bar"></span>
|
54
54
|
<span class="icon-bar"></span>
|
55
55
|
</a>
|
56
|
-
<a class="brand" href="#">
|
56
|
+
<a class="brand" href="#">Koda Explorer</a>
|
57
57
|
<div class="nav-collapse collapse">
|
58
58
|
<p class="navbar-text pull-right">
|
59
59
|
Logged in as <a href="#" class="navbar-link"><%=current_user.name%></a>, <a href="/sign-out">Log out</a>
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<hr>
|
90
90
|
|
91
91
|
<footer>
|
92
|
-
<p>©
|
92
|
+
<p>© The Koda Framework 2012</p>
|
93
93
|
</footer>
|
94
94
|
|
95
95
|
<a id="media-trigger" href="" class="iframe"></a>
|
data/lib/views/login.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<html lang="en">
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
|
-
<title>
|
6
|
+
<title>Koda - Login</title>
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8
8
|
<meta name="description" content="">
|
9
9
|
<meta name="author" content="">
|
@@ -48,7 +48,7 @@
|
|
48
48
|
<span class="icon-bar"></span>
|
49
49
|
<span class="icon-bar"></span>
|
50
50
|
</a>
|
51
|
-
<a class="brand" href="#">
|
51
|
+
<a class="brand" href="#">Koda</a>
|
52
52
|
<div class="nav-collapse collapse">
|
53
53
|
<p class="navbar-text pull-right">
|
54
54
|
Log in with Google below</a>
|
data/lib/views/not_allowed.erb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<html lang="en">
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
|
-
<title>
|
6
|
+
<title>Koda - <%=@title%></title>
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
8
8
|
<meta name="description" content="">
|
9
9
|
<meta name="author" content="">
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<span class="icon-bar"></span>
|
46
46
|
<span class="icon-bar"></span>
|
47
47
|
</a>
|
48
|
-
<a class="brand" href="#">
|
48
|
+
<a class="brand" href="#">Koda Explorer</a>
|
49
49
|
<div class="nav-collapse collapse">
|
50
50
|
<p class="navbar-text pull-right">
|
51
51
|
Logged in as <a href="#" class="navbar-link"><%=current_user.name%></a>, <a href="/sign-out">Log out</a>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: koda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -204,10 +204,9 @@ dependencies:
|
|
204
204
|
- - ! '>='
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
|
-
description:
|
208
|
-
|
209
|
-
|
210
|
-
name it!
|
207
|
+
description: The Koda Framework allows you to create websites, iphone apps, android
|
208
|
+
apps or single page js apps apps and manages your data with a very simple, yet versatile
|
209
|
+
and configurable admin section.
|
211
210
|
email:
|
212
211
|
- marceldupr@gmail.com
|
213
212
|
- derek@spathi.com
|
@@ -237,8 +236,6 @@ files:
|
|
237
236
|
- public/koda/fonts/ladyic__-webfont.svg
|
238
237
|
- public/koda/fonts/ladyic__-webfont.ttf
|
239
238
|
- public/koda/fonts/ladyic__-webfont.woff
|
240
|
-
- public/koda/Help/DataTypes.txt
|
241
|
-
- public/koda/Help/KodaType_Template.js
|
242
239
|
- public/koda/images/ajax-loader.gif
|
243
240
|
- public/koda/images/back.png
|
244
241
|
- public/koda/images/bg-table-thead.png
|
@@ -375,7 +372,7 @@ files:
|
|
375
372
|
- lib/views/explorer.erb
|
376
373
|
- lib/views/login.erb
|
377
374
|
- lib/views/not_allowed.erb
|
378
|
-
homepage: https://github.com/
|
375
|
+
homepage: https://github.com/KodaFramework
|
379
376
|
licenses: []
|
380
377
|
post_install_message:
|
381
378
|
rdoc_options: []
|
@@ -398,5 +395,6 @@ rubyforge_project:
|
|
398
395
|
rubygems_version: 1.8.24
|
399
396
|
signing_key:
|
400
397
|
specification_version: 3
|
401
|
-
summary:
|
398
|
+
summary: The Koda Framework - the only toolkit you will need to build websites, mobile
|
399
|
+
apps and many more
|
402
400
|
test_files: []
|
@@ -1,84 +0,0 @@
|
|
1
|
-
## Control Usages
|
2
|
-
|
3
|
-
```javascript
|
4
|
-
{
|
5
|
-
"id" : "name",
|
6
|
-
"title" : "Title",
|
7
|
-
"description" : "Title of page",
|
8
|
-
"control" : "input-text",
|
9
|
-
"properties" : "required placeholder='type a page title'",
|
10
|
-
"defaultValue" : ""
|
11
|
-
}
|
12
|
-
```
|
13
|
-
|
14
|
-
### Loading data into controls from Ajax (lists)
|
15
|
-
|
16
|
-
```javascript
|
17
|
-
{
|
18
|
-
"id" : "homepage",
|
19
|
-
"title" : "Select homepage",
|
20
|
-
"description" : "Select the homepage",
|
21
|
-
"control" : "collection",
|
22
|
-
"defaultValue" : "",
|
23
|
-
"ajax" : {
|
24
|
-
"url" : "/content/mycollection",
|
25
|
-
"displayfield" : "title",
|
26
|
-
"valuefield" : "href"
|
27
|
-
}
|
28
|
-
}
|
29
|
-
```
|
30
|
-
|
31
|
-
### Loading data into controls from Ajax (single values)
|
32
|
-
|
33
|
-
```javascript
|
34
|
-
{
|
35
|
-
"id" : "name",
|
36
|
-
"title" : "Title",
|
37
|
-
"description" : "Title of page",
|
38
|
-
"control" : "input-text",
|
39
|
-
"properties" : "required placeholder='type a page title'",
|
40
|
-
"defaultValue" : "",
|
41
|
-
"ajax" : {
|
42
|
-
"url" : "/content/pages/pageone",
|
43
|
-
"displayfield" : "title"
|
44
|
-
}
|
45
|
-
}
|
46
|
-
```
|
47
|
-
|
48
|
-
### Available data types
|
49
|
-
|
50
|
-
> input-hidden
|
51
|
-
> input-color
|
52
|
-
> input-date
|
53
|
-
> input-text
|
54
|
-
> input-password
|
55
|
-
> input-email
|
56
|
-
> input-url
|
57
|
-
> input-number
|
58
|
-
> input-range
|
59
|
-
> input-readonly
|
60
|
-
> imageupload
|
61
|
-
> mediaupload
|
62
|
-
> textarea
|
63
|
-
> richtext
|
64
|
-
> kodalinkeditor
|
65
|
-
> truefalse
|
66
|
-
> collection
|
67
|
-
> collection-multi
|
68
|
-
|
69
|
-
### Collections
|
70
|
-
|
71
|
-
> collection
|
72
|
-
> collection-multi
|
73
|
-
|
74
|
-
```javascript
|
75
|
-
{
|
76
|
-
"id" : "homepage",
|
77
|
-
"title" : "Select homepage",
|
78
|
-
"description" : "Select the homepage",
|
79
|
-
"control" : "collection",
|
80
|
-
"defaultValue" : "",
|
81
|
-
"values" : "value1,value2,value3,value4"
|
82
|
-
}
|
83
|
-
```
|
84
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"title" : "Kodacms.org Editor",
|
3
|
-
"fields" : [
|
4
|
-
{
|
5
|
-
"id" : "_koda_type",
|
6
|
-
"control" : "input-hidden",
|
7
|
-
"defaultValue" : "/koda/koda-types/custom-blogpost.js"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"id" : "_koda_editor",
|
11
|
-
"control" : "input-hidden",
|
12
|
-
"defaultValue" : "/koda/koda-editors/generic-editor.html"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"id" : "_koda_indexes",
|
16
|
-
"control" : "input-hidden",
|
17
|
-
"defaultValue" : "name,tags"
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"id" : "name",
|
21
|
-
"title" : "Name",
|
22
|
-
"description" : "The name of the content",
|
23
|
-
"control" : "input-text",
|
24
|
-
"defaultValue" : "",
|
25
|
-
"properties" : "required"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"id" : "alias",
|
29
|
-
"title" : "Alias",
|
30
|
-
"description" : "This will be generated from the title",
|
31
|
-
"control" : "input-readonly",
|
32
|
-
"defaultValue" : ""
|
33
|
-
},
|
34
|
-
/*
|
35
|
-
ALL Fields above are required for use with the generic editors.
|
36
|
-
You can specify your own rules if you use your own editor.
|
37
|
-
|
38
|
-
Add your custom variables below this comment... for example...
|
39
|
-
*/
|
40
|
-
{
|
41
|
-
"id" : "tags",
|
42
|
-
"title" : "Tags",
|
43
|
-
"description" : "Comma separated",
|
44
|
-
"control" : "input-text",
|
45
|
-
"defaultValue" : ""
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|