Skip to content

Commit

Permalink
Merge fe3a324 into 6406373
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre GIRAUD committed Jan 25, 2016
2 parents 6406373 + fe3a324 commit 905e793
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ GMF_APPS_LIBS_JS_FILES += \
node_modules/jquery/dist/jquery.min.js \
node_modules/angular/angular.min.js \
node_modules/angular-gettext/dist/angular-gettext.min.js \
node_modules/angular-touch/angular-touch.min.js \
node_modules/bootstrap/dist/js/bootstrap.min.js \
node_modules/proj4/dist/proj4.js \
node_modules/d3/d3.min.js \
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/apps/appmodule.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ goog.require('gmf');
/**
* @type {!angular.Module}
*/
var appModule = angular.module('app', [gmfModule.name]);
var appModule = angular.module('app', [gmfModule.name, 'ngTouch']);
5 changes: 4 additions & 1 deletion contribs/gmf/apps/mobile/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
ng-click="mainCtrl.toggleRightNavVisibility()">
<i class="fa fa-wrench"></i>
</button>
<div class="overlay" ng-click="mainCtrl.hideNav()"></div>
<div class="overlay" ng-click="mainCtrl.hideNav()"
ng-swipe-left="mainCtrl.hideNav()"
ng-swipe-right="mainCtrl.hideNav()"></div>
<button ngeo-mobile-geolocation=""
ngeo-mobile-geolocation-map="::mainCtrl.map"
ngeo-mobile-geolocation-options="::mainCtrl.mobileGeolocationOptions">
Expand Down Expand Up @@ -106,6 +108,7 @@
<script src="../../../../node_modules/typeahead.js/dist/typeahead.bundle.js"></script>
<script src="../../../../node_modules/proj4/dist/proj4-src.js" type="text/javascript"></script>
<script src="../../../../node_modules/angular-gettext/dist/angular-gettext.js" type="text/javascript"></script>
<script src="../../../../node_modules/angular-touch/angular-touch.js" type="text/javascript"></script>
<script src="../../../../node_modules/bootstrap/dist/js/bootstrap.js" type="text/javascript"></script>
<script src="../../../../node_modules/d3/d3.min.js" type="text/javascript"></script>
<script src="/@?main=mobile/js/mobile.js"></script>
Expand Down
5 changes: 3 additions & 2 deletions contribs/gmf/less/mobile-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
*/
@duration: .3s;
main {
position: relative;
position: fixed;
background-color: @color3;
box-shadow: 0px 0px 15px black;
width: 100%;
height: 100%;
z-index: @content-index;
text-align: center;
Expand All @@ -22,7 +23,7 @@ main {

.overlay {
/* shadow layer visible when navigation is active */
position: fixed;
position: absolute;
z-index: @above-content-index;
height: 100%;
width: 100%;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"angular-mocks": "1.4.7",
"angular-gettext": "2.1.0",
"angular-gettext-tools": "2.1.2",
"angular-touch": "1.4.9",
"bootstrap": "3.3.0",
"clean-css": "2.2.7",
"coveralls": "2.11.6",
Expand Down

0 comments on commit 905e793

Please sign in to comment.