[Xerte-dev] Re: Model specific css of Nottingham template

Tom Reijnders reijnders at tor.nl
Wed May 18 14:07:20 BST 2016


Ok, not one large file. That's ok with me, and I do agree with the 
arguments.

Op 18-5-2016 om 13:37 schreef Julian Tenney:
>
> I'm not sure we would want to go down the route of taking all the 
> model css out into a central file as doesn't that move away from being 
> able to easily customise / add in new pages etc.? We moved away from 
> having one large xwd file to having one for each model so I'm not sure 
> we'd want one large css file for models that we'd have to add to every 
> time we add a new page type.
>
> That's what I was worried about as well,
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
> Sent: 18 May 2016 10:25
> To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
> Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> I've replied to the Doodle but wanted to put some of my thoughts here 
> so I don't forget before we catch up.
>
> I agree with John's email about restructuring the models, including 
> adding html / css via JS. This would make a lot of other things a lot 
> easier.
>
> I'm not sure we would want to go down the route of taking all the 
> model css out into a central file as doesn't that move away from being 
> able to easily customise / add in new pages etc.? We moved away from 
> having one large xwd file to having one for each model so I'm not sure 
> we'd want one large css file for models that we'd have to add to every 
> time we add a new page type.
>
> -----Original Message-----
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk> 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of 
> ronm at mitchellmedia.co.uk <mailto:ronm at mitchellmedia.co.uk>
>
> Sent: 17 May 2016 13:19
>
> To: 'For Xerte technical developers' <xerte-dev at lists.nottingham.ac.uk 
> <mailto:xerte-dev at lists.nottingham.ac.uk>>
>
> Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> Ok Doodle link is http://doodle.com/poll/gxxiv9474y63v9ns would be 
> good if everyone could respond by the end of this week especially 
> those flying off!
>
> ;-)
>
> -----Original Message-----
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian 
> Tenney
>
> Sent: 17 May 2016 12:49
>
> To: 'For Xerte technical developers' <xerte-dev at lists.nottingham.ac.uk 
> <mailto:xerte-dev at lists.nottingham.ac.uk>>
>
> Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> Good idea
>
> ________________________________________
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>
> <xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>> on behalf of 
> ronm at mitchellmedia.co.uk <mailto:ronm at mitchellmedia.co.uk> 
> <ronm at mitchellmedia.co.uk <mailto:ronm at mitchellmedia.co.uk>>
>
> Sent: 17 May 2016 12:02
>
> To: 'For Xerte technical developers'
>
> Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> Is it worth scheduling an online meeting to discuss all this in detail?
>
> There might be scope to discuss when we might all get together to work 
> on this too?
>
> I know Tom, Inge and Fay are off to the Apero conference at the end of 
> this week and I think Julian is swamped with other stuff but perhaps 
> once our 'conference reps' are back they could update us from the 
> conference and we could discuss this and other developments at the 
> same time? Worth doing a doodle to check availability say week 
> beginning 6th June?
>
> -----Original Message-----
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
>
> Sent: 17 May 2016 11:24
>
> To: Pat Lockley (Pgogy) <info at pgogywebstuff.com 
> <mailto:info at pgogywebstuff.com>>; For Xerte technical developers 
> <xerte-dev at lists.nottingham.ac.uk 
> <mailto:xerte-dev at lists.nottingham.ac.uk>>
>
> Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> Don't see why not.... it would all be js which has to run to generate 
> the LO anyway. JS is one of the things least affected by browser 
> security as you can just load it into the head programatically and as 
> long as it's the same domain you can run it.
>
> Regards,
>
> John Smith
>
> Learning Technologist | School of Health & Life Sciences
>
> T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk 
> <mailto:J.J.Smith at gcu.ac.uk> Glasgow Caledonian University, Cowcaddens 
> Road, Glasgow, G4 0BA, Scotland, United Kingdom
>
> **** Please send all enquiries to our shared Blended Learning inbox at 
> hlsblt at gcu.ac.uk <mailto:hlsblt at gcu.ac.uk> and one of the Learning 
> Technologists will respond. **** ________________________________________
>
> From: Pat Lockley (Pgogy) [info at pgogywebstuff.com]
>
> Sent: 17 May 2016 11:19
>
> To: For Xerte technical developers
>
> Cc: Smith, John
>
> Subject: Re: [Xerte-dev] Re: Model specific css of Nottingham template
>
> Would that work if locally ran exported?
>
> On 2016-05-17 05:29, Smith, John wrote:
>
> > When Fay and I initially changed the models into a more object
>
> > oriented format I had the idea to have the css and html containers all
>
> > js based and created as the result of calling a method of the page
>
> > model object. That way you could load the css into the head (or
>
> > anywhere) and you you could load the containers into any other
>
> > container. This would give the possibility of loading all the page
>
> > models on the fly when the learning object loads and also allow for
>
> > example a "page preview" popup box to be loaded in the editor. You'd
>
> > pass additional parameters to these functions to determine how the
>
> > html/css is built and where it would be loaded to...
>
> >
>
> > So you'd just have a couple of methods like
>
> >
>
> > buildCSS ( .... ) { ..... }
>
> >
>
> > buildContainer ( ..... ) { ....... }
>
> >
>
> > The CSS/HTML would either just be written out as strings or built on
>
> > the fly using jQuery constructors and then send on to the next stage.
>
> > Either way it would be customisable....
>
> >
>
> > It would be a lot of work but it would give the most flexibility,
>
> > including being able to render multiple LO pages in a single html page
>
> > which is what we need for printing etc.... Once xenith and a single
>
> > page model was working though it would be relatively easy to convert
>
> > the rest.
>
> >
>
> > Regards,
>
> >
>
> > John Smith
>
> > Learning Technologist | School of Health & Life Sciences
>
> >
>
> > T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk 
> <mailto:J.J.Smith at gcu.ac.uk> Glasgow Caledonian
>
> > University, Cowcaddens Road, Glasgow, G4 0BA, Scotland, United Kingdom
>
> >
>
> > **** Please send all enquiries to our shared Blended Learning inbox at
>
> > hlsblt at gcu.ac.uk <mailto:hlsblt at gcu.ac.uk> and one of the Learning 
> Technologists will respond.
>
> > ****
>
> > ________________________________________
>
> > From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>
> > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
>
> > [Julian.Tenney at nottingham.ac.uk]
>
> > Sent: 17 May 2016 07:22
>
> > To: For Xerte technical developers
>
> > Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> >
>
> > Seems a good idea to me: if we were doing it from scratch, how would
>
> > we have implemented it? With specific model ids?
>
> >
>
> > From: xerte-dev-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>
> > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom
>
> > Reijnders
>
> > Sent: 16 May 2016 20:06
>
> > To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk 
> <mailto:xerte-dev at lists.nottingham.ac.uk>>
>
> > Subject: [Xerte-dev] Re: Model specific css of Nottingham template
>
> >
>
> >
>
> > Option 2 is an interesting one! I can do that quickly....
>
> >
>
> > Thank you!
>
> >
>
> > Op 16-5-2016 om 20:46 schreef Pat L (pgogy):
>
> > Place one model specific id at a higher level?
>
> > Or change body class on page turn?
>
> >
>
> >
>
> > -------- Original message --------
>
> > From: Tom Reijnders <reijnders at tor.nl 
> <mailto:reijnders at tor.nl>><mailto:reijnders at tor.nl>
>
> > Date: 16/05/2016 19:25 (GMT+00:00)
>
> > To: Xerte Dev Mailing List
>
> > <xerte-dev at lists.nottingham.ac.uk 
> <mailto:xerte-dev at lists.nottingham.ac.uk>><mailto:xerte-dev at lists.nottingham.a
>
> > c.uk>
>
> > Subject: [Xerte-dev] Model specific css of Nottingham template
>
> >
>
> > Hi All,
>
> >
>
> > When we discussed H5P on the development day in April, we discussed
>
> > that it might be a good idea to look at the aesthetics of all the
>
> > models again and see if we can improve them.
>
> >
>
> > One of the experiments I did, was to extract all the model specific
>
> > css in a separate file, and include that file in the rloObject.htm and
>
> > delete the inline styles from the model.
>
> >
>
> >  1.  It make it possible to override model specific css  2.  It make
>
> > it possible to override model specific css in the themes
>
> >
>
> > Regrettable, that doesn't work, because the models do not use
>
> > independent html id's and classes.
>
> >
>
> > What I would like to propose is to:
>
> >
>
> >  1.  Make sure all the id's and classes used in a model file are
>
> > unique for that model (by prefixing?)  2.  Extract the inline css from
>
> > the model files in a central file
>
> >
>
> > Just to be able to override css in a LO specific custom stylesheet and
>
> > in a theme.
>
> >
>
> > Any objections and/or other suggestions?
>
> >
>
> > Tom
>
> >
>
> > --
>
> >
>
> > --
>
> >
>
> >
>
> >
>
> > Tom Reijnders
>
> >
>
> > TOR Informatica
>
> >
>
> > Chopinlaan 27
>
> >
>
> > 5242HM Rosmalen
>
> >
>
> > Tel: 073 5226191
>
> >
>
> > Fax: 073 5226196
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > This message and any attachment are intended solely for the addressee
>
> >
>
> > and may contain confidential information. If you have received this
>
> >
>
> > message in error, please send it back to me, and immediately delete it.
>
> >
>
> >
>
> >
>
> > Please do not use, copy or disclose the information contained in this
>
> >
>
> > message or in any attachment.  Any views or opinions expressed by the
>
> >
>
> > author of this email do not necessarily reflect the views of the
>
> >
>
> > University of Nottingham.
>
> >
>
> >
>
> >
>
> > This message has been checked for viruses but the contents of an
>
> >
>
> > attachment may still contain software viruses which could damage your
>
> >
>
> > computer system, you are advised to perform your own checks. Email
>
> >
>
> > communications with the University of Nottingham may be monitored as
>
> >
>
> > permitted by UK legislation.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > This message and any attachment are intended solely for the addressee
>
> >
>
> > and may contain confidential information. If you have received this
>
> >
>
> > message in error, please send it back to me, and immediately delete it.
>
> >
>
> >
>
> >
>
> > Please do not use, copy or disclose the information contained in this
>
> >
>
> > message or in any attachment.  Any views or opinions expressed by the
>
> >
>
> > author of this email do not necessarily reflect the views of the
>
> >
>
> > University of Nottingham.
>
> >
>
> >
>
> >
>
> > This message has been checked for viruses but the contents of an
>
> >
>
> > attachment may still contain software viruses which could damage your
>
> >
>
> > computer system, you are advised to perform your own checks. Email
>
> >
>
> > communications with the University of Nottingham may be monitored as
>
> >
>
> > permitted by UK legislation.
>
> >
>
> >
>
> >
>
> >
>
> > _______________________________________________
>
> >
>
> > Xerte-dev mailing list
>
> >
>
> > 
> Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac 
> <mailto:Xerte-dev at lists.nottingham.ac.uk%3cmailto:Xerte-dev at lists.nottingham.ac>.
>
> > uk>
>
> >
>
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > --
>
> >
>
> >
>
> >
>
> > Tom Reijnders
>
> >
>
> > TOR Informatica
>
> >
>
> > Chopinlaan 27
>
> >
>
> > 5242HM Rosmalen
>
> >
>
> > Tel: 073 5226191
>
> >
>
> > Fax: 073 5226196
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > This message and any attachment are intended solely for the addressee
>
> > and may contain confidential information. If you have received this
>
> > message in error, please send it back to me, and immediately delete it.
>
> >
>
> > Please do not use, copy or disclose the information contained in this
>
> > message or in any attachment.  Any views or opinions expressed by the
>
> > author of this email do not necessarily reflect the views of the
>
> > University of Nottingham.
>
> >
>
> > This message has been checked for viruses but the contents of an
>
> > attachment may still contain software viruses which could damage your
>
> > computer system, you are advised to perform your own checks. Email
>
> > communications with the University of Nottingham may be monitored as
>
> > permitted by UK legislation.
>
> >
>
> >
>
> > Glasgow Caledonian University is a registered Scottish charity, number
>
> > SC021474
>
> >
>
> > _______________________________________________
>
> > Xerte-dev mailing list
>
> > Xerte-dev at lists.nottingham.ac.uk 
> <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> >
>
> >
>
> >
>
> >
>
> > This message and any attachment are intended solely for the addressee
>
> > and may contain confidential information. If you have received this
>
> > message in error, please send it back to me, and immediately delete it.
>
> >
>
> > Please do not use, copy or disclose the information contained in this
>
> > message or in any attachment.  Any views or opinions expressed by the
>
> > author of this email do not necessarily reflect the views of the
>
> > University of Nottingham.
>
> >
>
> > This message has been checked for viruses but the contents of an
>
> > attachment may still contain software viruses which could damage your
>
> > computer system, you are advised to perform your own checks. Email
>
> > communications with the University of Nottingham may be monitored as
>
> > permitted by UK legislation.
>
> --
>
> Pgogy Webstuff
>
> pgogywebstuff.com
>
> Glasgow Caledonian University is a registered Scottish charity, number
>
> SC021474
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee 
> and may contain confidential information. If you have received this 
> message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this 
> message or in any attachment. Any views or opinions expressed by the 
> author of this email do not necessarily reflect the views of the 
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your 
> computer system, you are advised to perform your own checks. Email 
> communications with the University of Nottingham may be monitored as 
> permitted by UK legislation.
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee 
> and may contain confidential information. If you have received this 
> message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this 
> message or in any attachment. Any views or opinions expressed by the 
> author of this email do not necessarily reflect the views of the 
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your 
> computer system, you are advised to perform your own checks. Email 
> communications with the University of Nottingham may be monitored as 
> permitted by UK legislation.
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20160518/676dcf8b/attachment-0001.html>


More information about the Xerte-dev mailing list