From 3ad9024bcfce76e28816daa02bac14fc8985ca62 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Fri, 4 May 2012 15:32:25 -0700 Subject: Fixing body's default styles. Signed-off-by: Nivesh Rajbhandari --- js/io/templates/files/html.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/io/templates') diff --git a/js/io/templates/files/html.txt b/js/io/templates/files/html.txt index 15641348..4e42267e 100755 --- a/js/io/templates/files/html.txt +++ b/js/io/templates/files/html.txt @@ -9,6 +9,10 @@ -- cgit v1.2.3 From a1e8540f5656e62db6a89f3af7829be6b259b7ed Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 8 May 2012 17:33:13 -0700 Subject: Adding SAVE for I/O Adding save functionality to new template. Need to implement user UI for prompts and also clean up... --- js/io/templates/files/html.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'js/io/templates') diff --git a/js/io/templates/files/html.txt b/js/io/templates/files/html.txt index 4e42267e..5a9010cf 100755 --- a/js/io/templates/files/html.txt +++ b/js/io/templates/files/html.txt @@ -1,3 +1,4 @@ + -- cgit v1.2.3 From 9ff89d41048d056ddab4c15b4e9e74bc5417c883 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Wed, 9 May 2012 18:12:48 -0700 Subject: Adding support to save body's css styles on preview. Signed-off-by: Nivesh Rajbhandari --- js/io/templates/files/html.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'js/io/templates') diff --git a/js/io/templates/files/html.txt b/js/io/templates/files/html.txt index 5a9010cf..3449ae39 100755 --- a/js/io/templates/files/html.txt +++ b/js/io/templates/files/html.txt @@ -10,10 +10,6 @@ -- cgit v1.2.3 From c87e538fdc337639bc4d54bb087dbf2b4f20297f Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Fri, 11 May 2012 14:41:20 -0700 Subject: Adding support for new templates This is supported for NEW and OPEN, SAVE is not supported yet by I/O. Saving works, but it will not be a banner template. --- js/io/templates/descriptor.json | 59 +++++++++++++++++++++++++++++++++++++--- js/io/templates/files/banner.txt | 13 +++++++++ 2 files changed, 68 insertions(+), 4 deletions(-) create mode 100755 js/io/templates/files/banner.txt (limited to 'js/io/templates') diff --git a/js/io/templates/descriptor.json b/js/io/templates/descriptor.json index 21c4b58c..0b2b70e5 100644 --- a/js/io/templates/descriptor.json +++ b/js/io/templates/descriptor.json @@ -1,13 +1,21 @@ { "categories":{ - "children":["/"] + "children":["/basic", "/template"] }, - "/":{ + + "/basic":{ "name":"Blank File", - "uri":"/", + "uri":"/basic", "type":"directory", "children":["js/io/templates/files/html.txt", "js/io/templates/files/js.txt", "js/io/templates/files/css.txt", "js/io/templates/files/json.txt", "js/io/templates/files/php.txt", "js/io/templates/files/pl.txt", "js/io/templates/files/py.txt", "js/io/templates/files/rb.txt", "js/io/templates/files/xml.txt"] }, + "/template":{ + "name":"Template", + "uri":"/template", + "type":"directory", + "children":["js/io/templates/files/banner.txt"] + }, + "js/io/templates/files/html.txt":{ "name":"HTML", "uri":"js/io/templates/files/html.txt", @@ -75,6 +83,49 @@ "name": "Basic", "uri": "defaultTemplate", "type":"file" + }, + + "js/io/templates/files/banner.txt":{ + "name":"Banner", + "uri":"js/io/templates/files/banner.txt", + "type":"file", + "fileExtension":".html", + "children":["120x600", "160x600", "200x200", "250x250", "300x250", "336x280", "550x400"] + }, + + "120x600":{ + "name": "Skyscraper", + "uri": "120x600", + "type":"file" + }, + "160x600":{ + "name": "Wide Skyscraper", + "uri": "160x600", + "type":"file" + }, + "200x200":{ + "name": "Small Square", + "uri": "200x200", + "type":"file" + }, + "250x250":{ + "name": "Square", + "uri": "250x250", + "type":"file" + }, + "300x250":{ + "name": "Medium Rectangle", + "uri": "300x250", + "type":"file" + }, + "336x280":{ + "name": "Large Rectangle", + "uri": "336x280", + "type":"file" + }, + "550x400":{ + "name": "Animation Default", + "uri": "550x400", + "type":"file" } - } \ No newline at end of file diff --git a/js/io/templates/files/banner.txt b/js/io/templates/files/banner.txt new file mode 100755 index 00000000..fdafe4f6 --- /dev/null +++ b/js/io/templates/files/banner.txt @@ -0,0 +1,13 @@ + + +
+ + + + + + + +
\ No newline at end of file -- cgit v1.2.3 From 150b6eb2be526627d588a0cf7226ddad7a399b8f Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 14 May 2012 16:35:09 -0700 Subject: Fixing banner template Need to implement save, but this cover open and new. --- js/io/templates/files/banner.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'js/io/templates') diff --git a/js/io/templates/files/banner.txt b/js/io/templates/files/banner.txt index fdafe4f6..33b45e53 100755 --- a/js/io/templates/files/banner.txt +++ b/js/io/templates/files/banner.txt @@ -1,13 +1,18 @@ -
+
- - + +
+ + + +
\ No newline at end of file -- cgit v1.2.3 From 3ce003c8d99f0043d460b5833c9e5e6bf6a9f0a7 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 15 May 2012 11:24:05 -0700 Subject: Adding animation sub-category to new file Adding animation sub-category to template in new file. --- js/io/templates/descriptor.json | 17 +++++++++++++---- js/io/templates/files/animation.txt | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100755 js/io/templates/files/animation.txt (limited to 'js/io/templates') diff --git a/js/io/templates/descriptor.json b/js/io/templates/descriptor.json index 0b2b70e5..9c9c4ac8 100644 --- a/js/io/templates/descriptor.json +++ b/js/io/templates/descriptor.json @@ -13,7 +13,7 @@ "name":"Template", "uri":"/template", "type":"directory", - "children":["js/io/templates/files/banner.txt"] + "children":["js/io/templates/files/banner.txt", "js/io/templates/files/animation.txt"] }, "js/io/templates/files/html.txt":{ @@ -90,7 +90,7 @@ "uri":"js/io/templates/files/banner.txt", "type":"file", "fileExtension":".html", - "children":["120x600", "160x600", "200x200", "250x250", "300x250", "336x280", "550x400"] + "children":["120x600", "160x600", "200x200", "250x250", "300x250", "336x280"] }, "120x600":{ @@ -123,8 +123,17 @@ "uri": "336x280", "type":"file" }, - "550x400":{ - "name": "Animation Default", + + "js/io/templates/files/animation.txt":{ + "name":"Animation", + "uri":"js/io/templates/files/animation.txt", + "type":"file", + "fileExtension":".html", + "children":["550x400"] + }, + + "550x400":{ + "name": "Default", "uri": "550x400", "type":"file" } diff --git a/js/io/templates/files/animation.txt b/js/io/templates/files/animation.txt new file mode 100755 index 00000000..33b45e53 --- /dev/null +++ b/js/io/templates/files/animation.txt @@ -0,0 +1,18 @@ + + +
+ + + + + +
+ + + +
+ +
\ No newline at end of file -- cgit v1.2.3 From 1ab2c2925fbf6186c8d9872392831f69c61d063d Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 15 May 2012 15:11:26 -0700 Subject: Correcting location of Ninja meta data Needs to be inside most child div. --- js/io/templates/files/animation.txt | 7 +++---- js/io/templates/files/banner.txt | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'js/io/templates') diff --git a/js/io/templates/files/animation.txt b/js/io/templates/files/animation.txt index 33b45e53..8a3dbd41 100755 --- a/js/io/templates/files/animation.txt +++ b/js/io/templates/files/animation.txt @@ -2,12 +2,11 @@
- - - -
+ + + diff --git a/js/io/templates/files/banner.txt b/js/io/templates/files/banner.txt index f26accf6..fcfac14c 100755 --- a/js/io/templates/files/banner.txt +++ b/js/io/templates/files/banner.txt @@ -8,6 +8,12 @@ -- cgit v1.2.3