WIP. Switching to the WTemplateFormView/WFormModel for settings

This commit is contained in:
emeric
2014-07-23 12:58:57 +02:00
parent 3a5126f339
commit d4c0806f7a
20 changed files with 1533 additions and 1573 deletions
+7 -1
View File
@@ -29,7 +29,13 @@ LmsApplication::LmsApplication(const Wt::WEnvironment& env, boost::filesystem::p
_home(nullptr)
{
setTheme(new Wt::WBootstrapTheme());
Wt::WBootstrapTheme *bootstrapTheme = new Wt::WBootstrapTheme(this);
bootstrapTheme->setVersion(Wt::WBootstrapTheme::Version3);
bootstrapTheme->setResponsive(true);
setTheme(bootstrapTheme);
// Add a resource bundle
messageResourceBundle().use(appRoot() + "templates");
setTitle("LMS"); // application title