Commit Graph

68 Commits

Author SHA1 Message Date
Manuel Friedli 96507d58a2 Merge branch 'develop' into feature/refactor-layout-definition 2014-06-28 14:23:29 +02:00
Manuel Friedli 448747626c make auto-detection more robust and include a fallback if cookie or config
doesn't match available themes
2014-06-28 13:56:20 +02:00
Manuel Friedli ae3da935be only render selectors for language and theme if there is more than one
language / theme definition.
use the first defined theme as default if not explicitly specified.
2014-06-28 12:10:24 +02:00
Manuel Friedli 1bc60d7a1b use data-class and data-name attributes on stylesheets to define
styleclass and pretty-name of themes
2014-06-28 10:54:28 +02:00
Manuel Friedli 38df0a87c9 integrate detection in main file 2014-06-28 02:00:34 +02:00
Manuel Friedli 09a53b0883 the order in which JS and CSS files are included MATTERS! autodetection of
themes works, as a first draft.
2014-06-28 01:04:53 +02:00
Manuel Friedli 600b84c36a Merge branch 'develop' into feature/refactor-layout-definition 2014-06-27 13:45:24 +02:00
Manuel Friedli 32d19fe85e added pink style 2014-06-27 13:43:35 +02:00
Manuel Friedli e5ce0ab2bb cache parsed layouts instead of re-parsing them every time the language
changes
2014-06-27 13:23:10 +02:00
Manuel Friedli a9d8888f6a drop support for the old layout. only v2 supported as of now. 2014-06-27 12:44:38 +02:00
Manuel Friedli 4942cfda2f deleted obsolete helper methods 2014-06-27 12:34:01 +02:00
Manuel Friedli 14d7ee79bc bugfix: when explicitly setting the time to a value with the same minute,
it didn't get updated.
2014-06-27 12:27:43 +02:00
Manuel Friedli 428074b1f8 added missing semicolon 2014-06-26 16:19:18 +02:00
Manuel Friedli 57556987ac renamed the helper renderer to _..., as per private naming convention 2014-06-26 16:01:42 +02:00
Manuel Friedli b9473f405f moved parsing of v2-layouts to own class 2014-06-26 15:52:08 +02:00
Manuel Friedli 6d588aa08b bugfix for update in relation to fixed time; slight change in format of
layout definition.
2014-06-26 14:41:56 +02:00
Manuel Friedli f9b6acf8b6 improved handling of explicit time()-setting: no re-rendering, just update
the time and call _update(). that avoids flashing of the letters.
2014-06-26 14:13:21 +02:00
Manuel Friedli eff9700864 first working version with some bugfixes! refactoring ensues ... 2014-06-26 13:46:10 +02:00
Manuel Friedli 0d90b3dd76 moved testing stuff to ownfiles. 2014-06-26 08:00:15 +02:00
Manuel Friedli b4f2a466b7 some debug output 2014-06-25 13:13:11 +02:00
Manuel Friedli d7c461f39a added new layout and first handling of it in the parser 2014-06-25 13:13:10 +02:00
Manuel Friedli 90e6d6d0f3 fixed various small things 2014-06-19 23:09:58 +02:00
Manuel Friedli 0412ea17fc added functionality to hide controls 2014-01-20 15:47:13 +01:00
Manuel Friedli 8a413b17a0 corrected javascriptdoc 2014-01-11 23:33:17 +01:00
Manuel Friedli 831f1facd7 time() funktion implementiert; damit kann eine fixe zeit gesetzt werden. noch nicht ganz ausgereift. 2014-01-11 22:54:46 +01:00
Manuel Friedli e995a2f224 jQuery-Plugin ist nun mit jQuery UI widget builder (oder wie das heisst) implementiert. viel schöner!!! 2014-01-11 20:56:21 +01:00
Manuel Friedli fc2c8ac38a es funzt! nun muss ich aufräumen und das ganze noch RICHTIG machen. 2014-01-11 12:18:11 +01:00
Manuel Friedli 9db6473085 tried to convert it, now it's a mess 2014-01-11 03:26:53 +01:00
Manuel Friedli ebc82f4eff improved default site and fixed JS error; need to tackle that again, though 2013-12-17 21:50:28 +01:00
Manuel Friedli 1ef8df63e3 try it differently 2013-12-09 20:32:45 +01:00
Manuel Friedli fc0d70ba1b try wrapping it all in an anonymous function 2013-12-09 20:23:48 +01:00
Manuel Friedli 042b282731 alle $ durch jQuery ersetzt 2013-12-01 16:42:42 +01:00
Manuel Friedli 4308943177 update geflickt 2013-12-01 00:30:41 +01:00
Manuel Friedli f5b62c76f4 Merge branch 'develop' into feature/releaseready 2013-11-30 19:31:41 +01:00
Manuel Friedli 40aa13811a uhr.js noch weiter verschlankt 2013-11-30 19:24:35 +01:00
Manuel Friedli 27ba54624b readme aktualisiert und uhr.js verschlankt 2013-11-30 19:24:04 +01:00
Manuel Friedli cc7c805168 grösse lässt sich nun konfigurieren 2013-11-30 18:51:43 +01:00
Manuel Friedli c8e24d1314 css-klasse "uhr" automatisch hinzufügen" 2013-11-29 14:31:08 +01:00
Manuel Friedli 9391ab119a default-verhalten geflickt 2013-11-28 13:36:56 +01:00
Manuel Friedli a9ee9ec62c uhr ist parametrisierbar 2013-11-28 13:31:47 +01:00
Manuel Friedli 9a7d2a898f zuerst erzeugen, dann verhalten definieren 2013-11-28 10:12:52 +01:00
Manuel Friedli 77c660fcff toggle-switch auch farbig, und vorallem pro uhr 2013-11-28 09:57:50 +01:00
Manuel Friedli 4f796107bc falsches element zum toggeln gewählt 2013-11-28 09:40:04 +01:00
Manuel Friedli 5223ceb1f6 commit, weil ich wissen muss, obs an den cookies liegt, dass es nicht geht 2013-11-28 08:51:37 +01:00
Manuel Friedli bb60117dcf erster schritt, layout-dropdown dynamisch zu laden 2013-11-27 18:37:38 +01:00
Manuel Friedli 66283e3424 jede uhr hat eine eigene id 2013-11-27 18:16:42 +01:00
Manuel Friedli a28dcdf836 toggler erzeugen statt hardcoded 2013-11-27 18:13:37 +01:00
Manuel Friedli 562855e8f1 set layout korrekt 2013-11-27 17:48:41 +01:00
Manuel Friedli 714e86a53c set cookie path and date 2013-11-27 17:45:28 +01:00
Manuel Friedli 2fa23c2f07 layouts global registrieren, nicht pro uhr 2013-11-27 17:36:05 +01:00