Thanks. That confirms my experiments. I was trying to fix the
unsaved/localstorage modal by using the actual bootstrap modal instead of
the existing one (that is broken). Ran into all kinds of oddities due to
not including bootstraps js. Since that version if bootstrap js depends on
jquery, including them both causes a $ function and conflicts. I was able
to work around that using jquery noconflict mode but i still couldn't get
the modal to show. I'm guessing there's something else that's needed css
wise that is excluded or there's still some js conflict that isn't being
logged anywhere.

So i think i'm going to abandon my attempts to fix this. I think someone
smarter than me needs to address this as i have no idea why this existing
modal doesn't work. Seems like all the other existing modals and prompts
that do work, are using html attributes for modal, however the localstorage
modal is the only one displayed via javascript.

Long term, it probably would make more sense to just use bootstrap outright
throughout the whole application but that's quite a bit more work to
address (and updated to 5.x version). Effectively it might be better as a
new 'template' i guess? I'm not sure how intertwined the css/js framework
is within the rest of jspwiki rendering/plugin pipeline...which is complex
to say the least. Unfortunately, i'm not sure i have time to dig into this
given the other more pressing issues i've been running into.

On Sun, Sep 8, 2024 at 9:21 AM Dirk Frederickx <dirk.frederi...@gmail.com>
wrote:

> Alex,
>
>
> Indeed,  the current JSPWiki uses bootstrap v3.3.6.  (only the css files,
> not the js)
>
> Have a look at  …/src/main/styles/haddock/default/build.less  to see which
> parts are used.
>
>
> dirk
>
>
> On Sat, Sep 7, 2024 at 8:20 PM Alex O'Ree <alexo...@apache.org> wrote:
>
> > answered by own question
> >
> > bootstrap 3
> > https://jspwiki-wiki.apache.org/Wiki.jsp?page=Haddock%20Template
> >
> > On Sat, Sep 7, 2024 at 11:09 AM Alex O'Ree <alexo...@apache.org> wrote:
> >
> > > i see portions of it in the main jspwiki war file, but there's no
> > > indication of what version it is. It also looks incomplete, like it
> might
> > > just be the css files and non of the javascript.
> > >
> > > anyone have the history or status on this?
> > >
> >
>

Reply via email to