Welcome, Guest
Username Password: Remember me

Improved and More Consistent CSS
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Improved and More Consistent CSS

Improved and More Consistent CSS 03 Dec 2009 10:45 #1517

I'd like to see each of the display page types rendered in a consistent way with accompanying CSS styles. So perhaps wrap each page type (studies list, teacher list, teacher studies list, series list, series study list etc.) in a named div and then within each page have a header, body and footer (header for titles etc., body for the main listing table, footer for pagination and "back to" links).

Having tried to format my site using the current CSS styles I did notice there is overlap making it difficult to render items as I would like (e.g. the teacher name on the teacher view has the same style and containing elements as the teacher name in the list of teachers).

I recognise this might be a lot of work - but would be worth the effort. Also, to use fewer tables if possible in the HTML!
Last Edit: 03 Dec 2009 10:46 by Jonathan West.

Re:Improved and More Consistent CSS 03 Dec 2009 13:51 #1520

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Thanks for the suggestion, Johnathan. I don't suppose you'd like to assist us in that effort? We could sure use the help. If so, contact me directly.

Tom
"You shall know the truth and the truth shall set you free." JC

Re:Improved and More Consistent CSS 03 Dec 2009 14:02 #1523

  • Kyle
  • OFFLINE
  • Moderator
  • Posts: 33
Jonathan,

I think you'll like what we're working on in 6.2.

You can set your own display code. We'll provide a starting suggestion out of the box, but you can throw it away completely and write your own. It's based on templates. So, you can set your teacher page to whatever you'd like.

For example...
 
<div class='teacherPage'>
<div style='float:left;'>{{image}}</div><div><h1>{{teacher}}</h1>{{description}}<HR>{{website}}<BR>{{email}}</div>
</div>
 


So, instead of turning things on and off with tables, we're using tags.

More as it's developed.

Re:Improved and More Consistent CSS 03 Dec 2009 14:06 #1525

Looks really flexible - be careful not to make it too complicated though!

Re:Improved and More Consistent CSS 03 Dec 2009 14:13 #1526

  • Kyle
  • OFFLINE
  • Moderator
  • Posts: 33
That is the challenge. It needs to be solid out of the box, but customizable.

I envision an area on this site where people can share their templates - with previews - that we can copy, paste and install. We'll also have to figure out a way to have a panic button - where someone can reset to the default if it gets too messed up.

Thanks for the input!
  • Page:
  • 1
Time to create page: 0.68 seconds