Use bootstrap theme. Remove progressbar css that no longer applies.

This commit is contained in:
Kevin Whitaker
2017-02-18 16:08:16 -05:00
parent 289c1790a7
commit 6d038acf56
2 changed files with 2 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
#include "ui/PlayerInterface.h" #include "ui/PlayerInterface.h"
#include <Wt/WText> #include <Wt/WText>
#include <Wt/WAnimation> #include <Wt/WAnimation>
#include <Wt/WBootstrapTheme>
struct WebInterface::internal struct WebInterface::internal
{ {
@@ -33,6 +34,7 @@ WebInterface::WebInterface(const Wt::WEnvironment& env) : Wt::WApplication(env)
{ {
priv_int = new internal; priv_int = new internal;
this->useStyleSheet(Wt::WLink("/resources/font-awesome/css/font-awesome.min.css")); this->useStyleSheet(Wt::WLink("/resources/font-awesome/css/font-awesome.min.css"));
setTheme(new Wt::WBootstrapTheme());
setTitle("Arbitrateor - Audio Jukebox"); setTitle("Arbitrateor - Audio Jukebox");
enableUpdates(true); enableUpdates(true);
priv_int->playerUI = new PlayerInterface(this); priv_int->playerUI = new PlayerInterface(this);

View File

@@ -38,7 +38,6 @@ PlayerInterface::PlayerInterface(WebInterface* app)
playControlWidget->setLayout(playControlLayout); playControlWidget->setLayout(playControlLayout);
currentTrackProgress = new Wt::WProgressBar(); currentTrackProgress = new Wt::WProgressBar();
currentTrackProgress->decorationStyle().setBackgroundColor(Wt::WColor("#B20A5E"));
currentTrackProgress->setFormat(""); currentTrackProgress->setFormat("");
trackProgress = new Wt::WTimer(); trackProgress = new Wt::WTimer();
trackProgress->setInterval(1000); trackProgress->setInterval(1000);