You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to create a new theme, you simply have to create one template file and one stylesheet in the following paths.
270
+
- Stylesheet: `app/public/stylesheets/themes/[name of theme]/style.css` (you can place dependent css files in this folder)
271
+
- Template: `app/public/templates/themes/[name of theme]/.html`
272
+
273
+
Please use a unique class prefix like `[name of theme]-theme` for your css, so that we do not run into any conflicts with other themes.
274
+
275
+
A list with the name `builds` with Knockout.js ViewModels [BuildViewModel](app/public/scripts/BuildViewModel.js) will be bound to the template. [Knockout.js](http://knockoutjs.com/) has a very low learning curve and provides a powerful data-binding mechanism.
276
+
277
+
Just check out the other themes to get sample code. It's quite easy to create new themes.
278
+
259
279
### Additional: Raspberry Pi Configuration
260
280
261
281
Here are some useful links, how to run the build monitor frontend on a Raspberry Pi.
0 commit comments