Commit Graph

80 Commits

Author SHA1 Message Date
Manuel Friedli 340669c5eb fixed 24h bug 2014-06-28 23:46:12 +02:00
Manuel Friedli c890429dd6 consider the path when setting a cookie, but make it overridable with the configuration parameter 'cookiePath'. 2014-06-28 23:27:41 +02:00
Manuel Friedli 6047499a18 Merge branch 'develop' into feature/fix-cookie-path 2014-06-28 23:16:36 +02:00
Manuel Friedli bd3fb48b0d find all stylesheets, not only those defined in the head. 2014-06-28 23:12:20 +02:00
Manuel Friedli 9eba4192ed Merge branch 'develop' into feature/fix-cookie-path 2014-06-28 23:07:26 +02:00
Manuel Friedli f93083c128 preparing to support languages that make a difference between AM and PM 2014-06-28 22:03:35 +02:00
Manuel Friedli 07b64480cd Merge branch 'develop' into feature/fix-cookie-path
Conflicts:
	manifest.appcache
2014-06-28 17:00:30 +02:00
Manuel Friedli f04d5a9aef remove trailing newline 2014-06-28 16:47:44 +02:00
Manuel Friedli bb027261b2 register languages with help of a function. that enables advances functionality with fallback-language and makes it generally more robust.
this commit concludes the refactoring of the layout definition.
2014-06-28 16:40:24 +02:00
Manuel Friedli 480736e877 refactor: move every helper function inside the scope-limiting block in order not to pollute world 2014-06-28 15:53:08 +02:00
Manuel Friedli 135a180e12 make cookie path configurable 2014-06-28 14:41:30 +02:00
Manuel Friedli b45b6bcaad use default cookie-path instead of / 2014-06-28 14:34:20 +02:00
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