You are here: Foswiki>Tasks Web>Item1955 (04 Jan 2015, GeorgeClark)Edit Attach
I'm working on some advanced UI features that are intended to work on top of 4.0.x, and noticed that some the css id's that I had put into Cairo are not there anymore.

I'll start putting them into TWiki04x00

  • twikiTopicHTML is the first - it goes around

-- SD

Don't keep us hanging smile

Possibly update TWiki.TWikiCss as you go?

-- SP

Please take with it the tags in pattern skin's layout.css, the tags starting with 'twiki'. These are meant to be common (twikiLeft, twikiSmall, etc.).

AC

In view.pattern.tmpl I have also defined 2 empty divs: twikiBeforeText and twikiAfterText.

[[AC]

poo. you can't add divs unconditionally, as they are only ok, in html...

I'll play with this later

(reverted by SP)

i'm using the following in my testing
Index: lib/TWiki/UI/View.pm
===================================================================
--- lib/TWiki/UI/View.pm        (revision 9546)
+++ lib/TWiki/UI/View.pm        (working copy)
@@ -260,7 +260,9 @@
     } elsif( $raw eq 'text' || $raw eq 'all' ) {
         $contentType = 'text/plain';
     } else {
-        $contentType = 'text/html'
+        $contentType = 'text/html';
+       $start = $start.'<div id="twikiTopicHTML">';
+       $end = '</div>'.$end;
     }
     $session->{SESSION_TAGS}{MAXREV} = $showRev;
     $session->{SESSION_TAGS}{CURRREV} = $rev;

--SD

Ancient history. Setting to No Action -- Main.GeorgeClark - 04 Jan 2015 - 22:08

ItemTemplate edit

Summary need some twiki css that is common between skins for advanced UI features
ReportedBy TWiki:Main.SvenDowideit
Codebase
SVN Range Thu, 23 Mar 2006 build 9479
AppliesTo Engine
Component FoswikiCSS, PatternSkin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins TWikirev:9482 TWikirev:9483 TWikirev:9485
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r12 - 04 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy