[Buildbot-commits] [buildbot/buildbot] 2f4d18: www_haml: allow use of haml for templating

GitHub noreply at github.com
Thu Jul 26 18:27:14 UTC 2012


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: 2f4d186d67b8182e22e243ab7f69f4d7f61165d7
      https://github.com/buildbot/buildbot/commit/2f4d186d67b8182e22e243ab7f69f4d7f61165d7
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    A master/buildbot/www/static/js/lib/haml.js
    M master/buildbot/www/static/js/lib/router.js
    M master/buildbot/www/static/js/lib/ui/base.js

  Log Message:
  -----------
  www_haml: allow use of haml for templating

Haml is a nice and simple templating langage, that avoids to write tons of
markups, and has basic facility for loops, conditionnals, and macroing.

Templates are fetched from the static server, compiled into a javascript
function, cached, and executed on demand, with widget as the context.

widgets can implement loadMoreContext() in order to load more context
from the json api

Signed-off-by: Pierre Tardy <tardyp at gmail.com>


  Commit: 18aa7077254c52ae331a57bd466d27c74a8f76ab
      https://github.com/buildbot/buildbot/commit/18aa7077254c52ae331a57bd466d27c74a8f76ab
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    M master/buildbot/www/static/css/default.css
    A master/buildbot/www/static/img/favicon.ico
    A master/buildbot/www/static/img/glyphicons-halflings-white.png
    A master/buildbot/www/static/img/glyphicons-halflings.png
    M master/buildbot/www/static/js/lib/router.js
    M master/buildbot/www/ui.html

  Log Message:
  -----------
  www_ui: cosmetic improvements on the base fw.

- added a css based loading animation
- make ui.html pass flymake
- added icons

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 46f48f839cc6dbe40f0bb0814d4f935dd87304c6
      https://github.com/buildbot/buildbot/commit/46f48f839cc6dbe40f0bb0814d4f935dd87304c6
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    M master/docs/developer/general.rst
    A master/docs/developer/www.rst

  Log Message:
  -----------
  www documentation

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 1fdfd0fa3a385f27569e6e188541e8ed942a1732
      https://github.com/buildbot/buildbot/commit/1fdfd0fa3a385f27569e6e188541e8ed942a1732
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    A master/buildbot/www/static/js/lib/fakeChangeStore.js
    A master/buildbot/www/static/js/lib/fakeStore.js
    M master/buildbot/www/static/js/lib/haml.js
    M master/buildbot/www/static/js/lib/router.js
    M master/buildbot/www/static/js/lib/ui/build.js
    M master/buildbot/www/static/js/lib/ui/changes.js
    M master/buildbot/www/static/js/lib/ui/home.js
    A master/buildbot/www/static/js/lib/ui/templates/build.haml
    A master/buildbot/www/static/js/lib/ui/templates/changes.html
    A master/buildbot/www/static/js/lib/ui/templates/home.html
    M master/buildbot/www/ui.py

  Log Message:
  -----------
  www_ui: first stub implementation of some widgets

provided as an example on how this is supposed to work

Code should eventually be replaced by using the api

Signed-off-by: Pierre Tardy <tardyp at gmail.com>


Compare: https://github.com/buildbot/buildbot/compare/396fdec79f82...1fdfd0fa3a38


More information about the Commits mailing list