Code Monkey home page Code Monkey logo

Comments (4)

nitely avatar nitely commented on July 29, 2024

For now you can do it as you would normally do it. Just create a new folder template/spirit at the root of your project and override whatever file you want.

Personally I would avoid making significant changes to the markup, since you may lose some functionality such as notifications that are handled by jQuery. But I guess you could adapt those as well, they are pretty simple scripts.

from spirit.

tayden avatar tayden commented on July 29, 2024

I'll give that a shot. Thanks!

from spirit.

nitely avatar nitely commented on July 29, 2024

Spirit will provide template-hooks in following releases, you may get away with that. You can try inserting your navbar just above the Spirit navbar (so, you would end up with 2 nabvars), it may look good. Also, try changing css rules, like the background color (modules/_colors.scss && recompile the stylesheets/styles.scss).

from spirit.

tayden avatar tayden commented on July 29, 2024

I ended up overriding the templates and essentially sending the Spirit templates that extended _base.html to my own base template. I then integrated Spirit's nav bar functionality into my own nav bar. It was a little time consuming and hacky, but results are good! Thanks for the help.

from spirit.

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.