Updates to Bootstrap Skins (1 Viewer)

BCEly

Portal Member
January 29, 2025
21
21
Home Country
Great Britain (UK) Great Britain (UK)
Hi there

I've recently tried to get the Bootstrap 0.7.255 skins working in a new WebMediaPortal environment but ran into several issues.

Consequently, I decided to fix what I found and have uploaded my work here for the community.

I've named the updated version 'Bootstrap 0.7.260' but it's not an 'official' update. Maybe this can be adopted at some point but that's for others to decide.

My changes are;
Bootstrap.0.7.255 => Bootstrap.0.7.260

Change Log...

Recording/Details.cshtml - Changed "Recorded On:" in Details Tab to show in a more friendly format (format is 12hr based for eu-US and 24hr for all other Locales)
Recording/Details.cshtml - Changed "Genre:" in Details Tab to show in Title Case
Recording/Details.cshtml - Fixed issue with "Durations:" in Details Tab - Issue with TV Shows > 1 hour were only showing minutes portion of time (for example, a 1hour 15min show would show as only 15mins)
Recording/Index.cshtml - Changed Javascript to modify the behaviour of the toggle button 'Expand Groups' - It's text now switches between 'Expand Groups' and 'Collapse Groups'
Television/TVGuide.cshtml - Removed Date/Time Picker as it seemed to have no function and didn't work well with differing date/time formats

Navigation Issue with Buttons..
Fixed the issue with href="#" in all dropdown menus/buttons

Had to replace all instances of href="#" with href="@Request.RawUrl"

For example - Lines such as;
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">

Are Now;
<a class="btn dropdown-toggle" data-toggle="dropdown" href="@Request.RawUrl">

Files affected...

\MovieLibrary\Actors.cshtml
\MovieLibrary\Collections.cshtml
\MovieLibrary\Genres.cshtml
\MovieLibrary\Index.cshtml
\MusicLibrary\Albums.cshtml
\MusicLibrary\Index.cshtml
\PictureLibrary\Index.cshtml
\Recording\Details.cshtml
\Search\Results.cshtml
\Shared\_Layout.cshtml
\ShareLibrary\File.cshtml
\Site\Menu.cshtml
\Status\Index.cshtml
\TVShowsLibrary\Actors.cshtml
\TVShowsLibrary\Genres.cshtml
\TVShowsLibrary\Index.cshtml

I've also added a VBScript support file for those who use UK English but get frustrated by the fact the WMP/MPEx use en-US and you can't natively choose en-GB. This ensures you get the 'correct' Date/Time formats.

SHA256 Checksum: 1ee7d1e08b8a7fafb24e81808c687cadd821d7cd7d7d3df93be0ebf66e7677a6
 

Attachments

  • Bootstrap-Skins.0.7.260.zip
    6.9 MB

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,176
    11,276
    Kyiv
    Home Country
    Ukraine Ukraine
    I'll try to make a separate repository for the skin tomorrow and upload these changes, do you have an account on GitHub?
     

    BCEly

    Portal Member
    January 29, 2025
    21
    21
    Home Country
    Great Britain (UK) Great Britain (UK)
    I'll try to make a separate repository for the skin tomorrow and upload these changes, do you have an account on GitHub?
    Yes. It’s Stephens-ely

    I’m gonna tackle the date picker in the TV Guide tomorrow and hopefully get that working as per the default skin.
     

    BCEly

    Portal Member
    January 29, 2025
    21
    21
    Home Country
    Great Britain (UK) Great Britain (UK)
    I create repository for skins - https: // github.com / MPExtended / Skins

    You can make a PR, or tell me, I will try to make it myself.
    I don't have enough knowledge of how Github works so these are all the updates (with change logs) I'v done - I don't plan on doing much more unless I find further issues. Here are the updated skins.
     

    Attachments

    • 0.7.260.zip
      6.9 MB
    • 0.7.270.zip
      6.9 MB

    Users who are viewing this thread

    Top Bottom