71 Commits

Author SHA1 Message Date
Axel Wagner
107f4689e9 Replace gmaps-link by popup with qrcode and links
If you want to use your smartphone for navigation, you can now just scan
the qr-code and (if your scanner-app supports it) directly input the
locations to your navigation-app.
Additionally a link to the location in gapps and OSM will be displayed.
2013-02-25 16:21:03 +01:00
Stefan Breunig
9782883b5c maybe fix #295 2013-02-25 08:15:24 +01:00
Stefan Breunig
f85275b1c8 also print device id 2013-02-23 11:08:46 +01:00
Stefan Breunig
91f6f6d9d6 print build date to console once 2013-02-23 10:50:08 +01:00
Stefan Breunig
d644ef64bd implement jqueryui dialog replacements.
For now only alert windows are converted automatically. You can alert custom
HTML code like so: alert('<strong>herp a derp</strong>', true);

Main can use this feature immediately, all plugins that are advertized to be
stable may only use this once 0.7 is released.
2013-02-22 11:23:44 +01:00
Stefan Breunig
68da102b48 fix icon alignment, add shadows 2013-02-18 13:03:50 +01:00
Stefan Breunig
77ad9cc3b7 fix path harder 2013-02-18 12:39:40 +01:00
Stefan Breunig
4db13fef11 fix path and provide icons in dist 2013-02-18 12:38:16 +01:00
Stefan Breunig
9728840715 provide faction colored icons for leaflet markers 2013-02-18 12:35:39 +01:00
Stefan Breunig
4eb90976e3 allow to easily setup tooltips for specific elements that jQueryUI doesn’t detect automatically.
Also add workaround in case tooltips linger.
2013-02-18 11:10:35 +01:00
Stefan Breunig
014d58f09f downgrade jquery so it uses the same version as the vanilla intel page. This might save some people from downloading jQuery twice. 2013-02-18 11:09:59 +01:00
Stefan Breunig
e7b52dd2eb fix position not being saved on zoom 2013-02-18 11:08:38 +01:00
Stefan Breunig
2b2592e904 don’t copy the portal level when previewing the portal img 2013-02-17 13:38:59 +01:00
Stefan Breunig
346d3ae0a1 implement basic support for smartphones 2013-02-16 13:52:17 +01:00
Stefan Breunig
5b77a652fb remove superfluous styles 2013-02-16 13:50:37 +01:00
Stefan Breunig
6d41221131 finish changes for #179. Fixes #179, fixes #49.
Please look for regressions.
2013-02-16 10:46:02 +01:00
Stefan Breunig
2023e33567 more work for #179.
Due to changed display of the portal image it now doesn’t flicker anymore,
which simplifies code a lot.
2013-02-16 10:02:18 +01:00
Stefan Breunig
43d9251c57 part of #179 2013-02-16 08:33:59 +01:00
Stefan Breunig
7d720b2655 allow sidebar to grow if the browser window becomes larger 2013-02-16 01:21:44 +01:00
Stefan Breunig
cec4054a41 fix #176 2013-02-15 17:52:15 +01:00
Stefan Breunig
6a5759f06c add workaround for #129 and see if that "solves" the issue 2013-02-15 16:23:31 +01:00
Stefan Breunig
f1467dd1e9 remove more deprecated stuff 2013-02-15 16:23:11 +01:00
Stefan Breunig
4d6e0b5ebb less fancy on mobile 2013-02-15 13:29:34 +01:00
Stefan Breunig
7d2a704c9c more perf on mobile 2013-02-14 19:21:21 +01:00
Stefan Breunig
1cf9418179 allow bundling resources and don’t try to load them from the internet 2013-02-14 14:34:54 +01:00
Stefan Breunig
485b1c543b fix #95 (thanks jonatkins) 2013-02-14 08:47:49 +01:00
Stefan Breunig
a63370cae9 fix Leaflet not saving base layer properly 2013-02-13 19:52:29 +01:00
Stefan Breunig
1e6161ad2e make layerChooser available to plugins so they can add layers of their own 2013-02-13 17:44:41 +01:00
Stefan Breunig
ae65dff2d9 * ditch jQueryUI vanilla styles in favor of own ones.
* disable tracking for tooltips and make them behave more like regular ones
  (this also stops my fan from spinning up when using the intel map)

Improvements welcome. Tooltips are currently placed at the bottom of the
element instead of next to cursor. It seems it’s either tracking or placing
it not anywhere where one would expect a tooltip. I immediately regret
having chosen jQueryUI. It’s not very flexible and has awkward defaults.
2013-02-13 04:10:40 +01:00
saithis
039f9c14b5 * The jQuery UI js/css file is now taken from ajax.googleapis.com instead of code.jquery.com
* Table or not is now autodetected, removed data-tooltip attributes
* Empty table cells are now possible
* Removed duplicated \t's on some titles
* Some tooltip code cleanup
2013-02-12 23:16:12 +01:00
saithis
10da1dee83 Added jQuery UI tooltips 2013-02-12 19:34:16 +01:00
Stefan Breunig
331d9a3781 add debugging/console capability to devices where it is not available or easily accessibile 2013-02-12 10:01:21 +01:00
Cameron Moon
e761a01aed fixed various minor sidebar layout issues 2013-02-12 08:58:06 +11:00
Stefan Breunig
de7f1e9754 fix leaflet layer selector not being usable with sidebar collapsed 2013-02-11 19:18:42 +01:00
Stefan Breunig
eb41b6a4cd another typo 2013-02-11 19:12:12 +01:00
Stefan Breunig
43245bf425 add update notice for old users and hide it for all on the current version 2013-02-11 18:17:52 +01:00
Stefan Breunig
fdd5de3143 move all files for a specific version in dist. This should prevent updating issues in the future 2013-02-11 17:39:15 +01:00
Stefan Breunig
9416aeb50f replace unicode arrows with CSS tricks that should work on all platforms (patch by mledoze). Fixes #98, #116 2013-02-11 17:32:02 +01:00
Stefan Breunig
4a45570f40 make more use of the empty space below the sidebar now that there’s a map rendered behind it all the time 2013-02-11 12:10:40 +01:00
Cameron Moon
74be29ea29 Made the sidebar transparent like the chat box 2013-02-11 12:33:44 +11:00
Cameron Moon
0ac05647df merged upstream changes 2013-02-11 10:06:40 +11:00
Cameron Moon
9c56d64447 Made toggle arrow longer & removed unneeded DOM manipulations 2013-02-11 09:42:18 +11:00
Xelio
7b7f229ac5 Change resonators render min zoom level and radius
Change:
Resonators render minimum zoom level 16 -> 17
Resonators render radius 4 -> 3
Some cleanup and performance tuning
2013-02-11 02:22:35 +08:00
Xelio
370f34a793 Change guid format of resonator
Change:
Guid format of resonator change to following,
[portal guid]-resonator-[slot]

Some code cleanup
2013-02-10 22:52:11 +08:00
Xelio
6936ef1d05 Resonators deletion of zoom level move
Change:
Move resonators deletion to 'zoomend' event of map.
Some clean up of code.
2013-02-10 22:23:01 +08:00
Cameron Moon
2647d58e60 Added toggle to collapse sidebar (without old code this time) 2013-02-10 23:03:10 +11:00
Cameron Moon
79b1f2b840 Revert "Added toggle to collapse sidebar" due to old code in commit
This reverts commit 9440e432de91816b5c7d72ea4e12038f88e87bed.
2013-02-10 22:56:53 +11:00
Cameron Moon
9440e432de Added toggle to collapse sidebar 2013-02-10 22:51:54 +11:00
Xelio
eecec0b4a4 Move resonator layer back to layerGroup "portalsLayers",
to make it work with portal level filter.
And modify cleanup code to work with this change.
2013-02-10 16:06:13 +08:00
Xelio
c34d7ee3a2 Resonator on map
Change:
Add "RESONATOR_DISPLAY_ZOOM_LEVEL" to control minimum zoom level resonator will display
Add layerGroup "resonatorsLayers" to draw resonators on it.
Add "window.resonators" to store references to resonators on map

Resonator will have guid of portal with ".11" or ".12" replaced with ".r0"~".r7"
Add function "window.renderResontor" to draw resonators (use sorgo's code [sorgo](https://github.com/sorgo))
"window.renderPortal" will call "window.renderResontor" before add portal to portalsLayers
Change "window.removeByGuid" to handle resonators
Change "window.cleanUp" to handle resonators cleanup
2013-02-10 14:12:26 +08:00