From 16d45e5c13ee03783a62ab35a9989748d8e14711 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 19 Dec 2011 18:02:43 +0100 Subject: [PATCH] quattro: first work on jot style --- view/jot-header.tpl | 18 ++- view/jot.tpl | 98 ++++-------- view/theme/{quattro => duepuntozero}/jot.tpl | 26 +-- view/theme/quattro/colors.less | 12 ++ view/theme/quattro/quattro.less | 160 ++++++++++++------- view/theme/quattro/style.css | 131 ++++++++++----- 6 files changed, 256 insertions(+), 189 deletions(-) rename view/theme/{quattro => duepuntozero}/jot.tpl (74%) diff --git a/view/jot-header.tpl b/view/jot-header.tpl index ecfed6c4..4186ef78 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -81,7 +81,7 @@ function initEditor(cb){ ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; $("#profile-jot-text-loading").hide(); - $("#profile-jot-submit-wrapper").show(); + $(".jothidden").show(); if (typeof cb!="undefined") cb(); }); @@ -98,19 +98,21 @@ function initEditor(cb){ } } +function enableOnUser(){ + if (editor) return; + $(this).val(""); + initEditor(); +} + {{ endif }} + + + - -
- -
-
- $bang -
-
-
-
- $acl -
-
$emailcc
-
- $jotnets -
-
- - - -
- + +
+
+ $acl +
+
$emailcc
+
+ $jotnets +
+
+ + + + diff --git a/view/theme/quattro/jot.tpl b/view/theme/duepuntozero/jot.tpl similarity index 74% rename from view/theme/quattro/jot.tpl rename to view/theme/duepuntozero/jot.tpl index d65ac8b1..71b92986 100644 --- a/view/theme/quattro/jot.tpl +++ b/view/theme/duepuntozero/jot.tpl @@ -21,36 +21,32 @@ {{ if $content }}{{ endif }}