From 09704291e903f8817804fa5ca36011a7619ef385 Mon Sep 17 00:00:00 2001 From: danielgrippi <danielgrippi@gmail.com> Date: Tue, 20 Mar 2012 15:22:03 -0700 Subject: [PATCH] templates getting rendered properly --- public/javascripts/app/pages/framer.js | 4 +++- public/stylesheets/sass/new-templates.scss | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/public/javascripts/app/pages/framer.js b/public/javascripts/app/pages/framer.js index 7661fc827a..0b44630d07 100644 --- a/public/javascripts/app/pages/framer.js +++ b/public/javascripts/app/pages/framer.js @@ -1,6 +1,8 @@ app.pages.Framer = app.views.Base.extend({ templateName : "framer", + id : "post-content", + events : { "click button.done" : "saveFrame" }, @@ -29,4 +31,4 @@ app.pages.Framer = app.views.Base.extend({ saveFrame : function(){ this.model.save() } -}) \ No newline at end of file +}) diff --git a/public/stylesheets/sass/new-templates.scss b/public/stylesheets/sass/new-templates.scss index 0ce3cb5f7f..4b2bfdfd8f 100644 --- a/public/stylesheets/sass/new-templates.scss +++ b/public/stylesheets/sass/new-templates.scss @@ -792,3 +792,15 @@ text-rendering: optimizelegibility; .aspect_selector { float: right; } + +.post-view { + display: table; + height: 100%; + width: 100%; +} + +#post-content { + button { + position: absolute; + } +} -- GitLab