Use bootstrap theme. Remove progressbar css that no longer applies.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user