Commit graph

135 commits

Author SHA1 Message Date
Matt Rogers
fa7f49e399 Revert "Don't include a protocol or domain for relative_to_root" 2016-05-20 22:50:17 -05:00
Dan Rice
4b046b98ea Include datepicker i18n only as needed
* Restore the javascript_tag_for_i18n_datepicker helper (and actually use it)
* Include the datepicker i18n JS in the asset precompilation list
2016-02-16 22:10:20 -05:00
Matt Rogers
d0c4fee7e4 Don't include a protocol or domain for relative_to_root
Tracks uses this javascript method in the application layout called
`relative_to_root` to get relative paths for a lot of Javascript
functions. However, it includes the fully qualified protocol and domain
for the tracks site in question. If you have Tracks proxied through SSL
with nginx, then you get a non-secure URL which causes the Javascript to
not work to fetch things like contexts or projects for autocomplete.

Instead of using the `root_url` helper that Rails provides that won't
know about SSL, just use a normal forward slash instead, so that you
still get a path that's relative to the root instead of a URL.
2016-02-09 15:36:53 -06:00
Matt Rogers
89506dbeb7 Redesign the login page
Makes use of both bootstrap and a rendering of the Tracks logo to
provide a bit better experience in term of brand identity as well as
also supporting mobile better.
2015-12-15 20:02:53 -06:00
Matteo Giaccone
e60c25f8a2 Port top navigation bar to Bootstrap 2015-12-02 12:42:18 -06:00
Dan Rice
0ca0317a7f Namespace the legacy CSS 2015-08-30 22:31:03 -04:00
Reinier Balt
e58379e81f This fixes failing tests when the timezone is different than utc
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
  date verbatim
* calling a controller will set the timezone to the preference of the
  current_user. So it could be changed while you do not realize this. I
  fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
Matt Rogers
aa41e20e46 Remove trailing whitespace and tabs 2014-08-14 21:05:05 -05:00
Dan Rice
1e4f7c9f30 Update CSRF helper usage
Renamed back in Rails 3.1.0
2014-07-07 21:38:49 -04:00
Reinier Balt
5ed2de3ab0 remove custom solution to visually show that you are running in development
environment and replace with rack-dev-mark gem
2014-06-26 10:05:22 +02:00
Dan Rice
3c2c0fe065 Add mobile calendar view 2014-04-21 12:55:13 -04:00
Dan Rice
03fa8d6091 Move mobile full-site link to footer
Also remove the Tracks project links from the mobile footer
2014-04-21 12:55:03 -04:00
maqiv
35d48ea4c4 Added possibility to add tracks as webapp on chrome mobile. 2014-02-17 13:38:49 +01:00
Darren Cato
3450c22e97 first pass at csv import functionality for tracks 2013-07-21 13:37:35 -04:00
Reinier Balt
be1a9528d5 move the two toggle links in top-right to view menu 2013-06-11 16:13:46 +02:00
Reinier Balt
9c0445fcb7 make adding of todos from sidebar work in context and project grouping 2013-04-11 10:53:35 +02:00
Reinier Balt
42566b6fee add test for collapsing project containers 2013-04-06 12:57:53 +02:00
Reinier Balt
3fd2b175f5 restore menu entry 2013-04-06 12:57:53 +02:00
Reinier Balt
2596d612fa hide group by project from menu to safely merge refactorings with master 2013-03-18 12:36:40 +01:00
Reinier Balt
ede898120c remove option to show empty containers and start fixing failing cucumber scenarios 2013-03-18 12:36:40 +01:00
Reinier Balt
22b371ef8c do a big refactor of rendering collections of todos for home page, tag page, project page, context page 2013-03-18 12:36:40 +01:00
Reinier Balt
f22dfc1f9b initial changes to add an option to select either context or project as grouping of todos on home or tag page
* new menu item in view menu
* js to toggle view
* store setting in cookie to keep de choice of view persistent
* refactor index and tag page of todos to look more alike
* refactor context and project partials to look more alike
2013-03-18 12:32:28 +01:00
Dan Rice
f6d251d3a0 Fix stray HTML tags in mobile layout
Fixes #1369
2012-11-30 17:23:03 -05:00
tim madden
92cfeb4188 adding home link to mobile footer to fill it out 2012-10-23 11:11:00 -05:00
tim madden
6d3a6611c8 adding links to footers to go between mobile and full site 2012-10-23 11:10:59 -05:00
tim madden
c46122bb34 Changing mobile layout so that links always show so link fill across 2012-10-23 11:10:59 -05:00
Stefan Hacker
27adccb6e9 Remove unused layout and clear up naming
* scaffold.css is only used by login -> rename to login.css
* standard.html.erb is the default application layout -> rename to application.html.erb
* scaffold.html.erb is unused -> deleted
2012-09-02 14:20:17 +02:00
Stefan Hacker
2fc441589f Add favicon/apple-touch-icon to all layouts 2012-09-01 18:56:51 +02:00
Reinier Balt
bd8498f39c fix #1287. Fix various small bugs and some small improvements 2012-06-29 16:48:30 +02:00
Reinier Balt
0b1d521bbf ugly fix for deprecation warnings fopr mouseover and fix failing tests 2012-06-27 21:40:12 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
Reinier Balt
7c935652fb make search and feedlist pass 2012-05-03 23:23:31 +02:00
Reinier Balt
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +02:00
Reinier Balt
e964769553 home page is restored, so is context view 2012-04-30 13:56:37 +02:00
Reinier Balt
4605b17d3c home page renders... sort of 2012-04-30 13:56:35 +02:00
Reinier Balt
a83c8b3f92 initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
tim madden
d27ffb6ce0 mobile tuning
change to make nav links even and consistent
  looking to make text bigger for fat fingers
  change to project nav
  adding images for arrows
2012-04-16 10:04:09 -05:00
Reinier Balt
ac270884ed add more translations for he locale. Contributed by Darian Shalev 2012-04-11 20:22:05 +02:00
Reinier Balt
c8ab797924 finish drag and drop for context list. Works even for webkit :-) 2012-03-19 14:06:32 +01:00
Reinier Balt
4a8fdbabc2 migrate context and context_list features. Drag and drop is still WIP 2012-03-19 14:06:32 +01:00
tim madden
6d50992dfb putting back the date and counter 2012-03-01 17:16:14 -06:00
tim madden
8c18c2888a updates to mobile layout
removing count and date as space is at a premium and not essential
  making menu padding larger to provide more space to click
  removing duplicated menus to stop wrapping
  Increasing the top margin above the content div to reduce fat fingers from clicking links in the content instead of the intended nav links
  Cleaning up some unused selectors and consistent spacing, etc...
2012-03-01 17:16:14 -06:00
Reinier Balt
00ddcbc9fa upgrade to jquery 1.7.1 and jquery-ui 1.8.17 2012-02-15 21:43:51 +01:00
Tim Madden
eaa4a46359 theming mobile layout to mirror standard layout styling
the span with class m_t and m_t_d and its styling are no longer needed
  mobile todo lists need to be wrapped in ul element. fixing up missing or unclosed
2011-12-19 21:14:38 -06:00
Reinier Balt
34a005ec0e change notify banner. you can now set it in development.rb 2011-10-28 11:17:31 +02:00
sf
a871511c24 added develop notification bar on RAILS_ENV != production 2011-10-10 14:14:27 -04:00
sfischme
ac98737176 first version of review view 2011-09-16 23:34:09 -04:00
popsch
067df75e98 toggle notes patch from Christian Frank 2011-09-10 05:06:03 +08:00
Reinier Balt
ac6cd8afbc upgrade jquery to 1.6.2 and jquery-ui to 1.8.13 2011-08-17 10:30:29 +02:00
Reinier Balt
c61238933c add recurring_todos to done_overview and fix routes 2011-07-09 17:19:13 +02:00