Bentheburrito / sacastats

A stat site for Connery's SaCa outfit members. Built with Elixir and Phoenix
MIT License
2 stars 0 forks source link

Weapon Table Clean up #92

Closed dm0896665 closed 2 years ago

dm0896665 commented 2 years ago

When I originally created the branch I was aiming to just get persistent columns, but I later thought a full clean-up would be good.

I fixed some stying errors.

I added persistent columns, but the catch is that I wasn't able to get the column orders to persist. The whole reason I decided to add persistent columns into 0.0.1 was that I thought it could be annoying that every time you use our site you would have to change it to how you like it (even for every time you swap characters). I tried getting the column orders to stick, but the package that we use, BootstrapTable, has a method $(tableID).bootstrapTable('orderColumns', orderObject); that is supposed to order them right, but it only orders the headers and not the data, so I just left that out entirely.

This will close #91