Code Monkey home page Code Monkey logo

Comments (4)

DisplayMonkey avatar DisplayMonkey commented on August 11, 2024

Hi, it is a bit unclear what you are trying to do. Are you wanting a number of calendars shown in one panel all at the same time, or cycling one at a time?

The former is not possible in the current design, because any DM panel can only host a single frame at any given point in time. So you would have to create one panel per calendar. The latter is possible and should work out of the box. In either case, no CSS changes or custom templates are necessary. Custom CSS and template may be handy when you want just slightly tweak the layout or appearance of a frame without drastically changing main elements and CSS classes.

Perhaps, if you copy here your CSS and frame template we can see better what's going on.

Thanks for trying the Display Monkey!

from displaymonkey.

jaschrock avatar jaschrock commented on August 11, 2024

I was going to have several panels within the canvas with separate calendars. The problem is that my other door entry displays are wider and so my css is built to make them look nice. These would have less columns and I would want to display in a more compact way (with several on the canvas at once) so I need a separate CSS to work with them. So, what I was trying to do is define a new set of .outlook css classes and then change the divs in the outlook template to point to them. I just copied and renamed the current .outlook class to .multcal and then had class="multcal" in the outlook template.
But, as I talked more with my boss, he was wanting something totally different so this isn't a concern right now. But may be interesting for someone else to know if you want to still answer.
Thanks
Alan

from displaymonkey.

DisplayMonkey avatar DisplayMonkey commented on August 11, 2024

Hi, you should be careful renaming classes in the template, as some of them are used to drive rendering logic by the outlook.js module. Consider extending/modifying styles on the existing classes instead, or add extra classes to the elements. Something like <div class="outlook myClass" ...>

from displaymonkey.

jaschrock avatar jaschrock commented on August 11, 2024

Hi,
Yes, as I looked more at the classes earlier I realized this should work.
Thanks
Alan

from displaymonkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.