Browse Source

v010

master
idoctnef 8 years ago
parent
commit
340f2790af
6 changed files with 43 additions and 14 deletions
  1. +3
    -0
      www/js/controllers.js
  2. +2
    -2
      www/templates/favsList.html
  3. +31
    -8
      www/templates/help.html
  4. +3
    -0
      www/templates/settings.html
  5. +2
    -2
      www/templates/travel.html
  6. +2
    -2
      www/templates/user.html

+ 3
- 0
www/js/controllers.js

@ -339,6 +339,7 @@ angular.module('starter.controllers', ['pascalprecht.translate'])
}, },
function(response) { // optional function(response) { // optional
// failed // failed
$ionicLoading.show({ template: 'failed to generate new publication, all input fields needed', noBackdrop: true, duration: 2000 });
}); });
// Simulate a login delay. Remove this and replace with your login // Simulate a login delay. Remove this and replace with your login
@ -380,6 +381,7 @@ angular.module('starter.controllers', ['pascalprecht.translate'])
}, },
function(response) { // optional function(response) { // optional
// failed // failed
$ionicLoading.show({ template: 'failed to generate new publication, all input fields needed', noBackdrop: true, duration: 2000 });
}); });
// Simulate a login delay. Remove this and replace with your login // Simulate a login delay. Remove this and replace with your login
@ -423,6 +425,7 @@ angular.module('starter.controllers', ['pascalprecht.translate'])
}, },
function(response) { // optional function(response) { // optional
// failed // failed
$ionicLoading.show({ template: 'failed to generate new publication, all input fields needed', noBackdrop: true, duration: 2000 });
}); });
// Simulate a login delay. Remove this and replace with your login // Simulate a login delay. Remove this and replace with your login

+ 2
- 2
www/templates/favsList.html

@ -16,9 +16,9 @@
<h2>{{fav.username}}</h2> <h2>{{fav.username}}</h2>
</a> </a>
</div> </div>
<div class="item-note">
<!--<div class="item-note">
<button class="button button-small button-dark" ng-click="closeModalFavsList()">{{'Close' | translate}}</button> <button class="button button-small button-dark" ng-click="closeModalFavsList()">{{'Close' | translate}}</button>
</div>
</div>-->
</ion-content> </ion-content>
</ion-modal-view> </ion-modal-view>

+ 31
- 8
www/templates/help.html

@ -1,19 +1,42 @@
<ion-view view-title="{{'Help' | translate}}"> <ion-view view-title="{{'Help' | translate}}">
<ion-content>
<ion-content class="padding">
<p> <p>
help instructions here
(help instructions here)
</p> </p>
<p> <p>
This is a car sharing App.
</p>
<p>
The main concept of the app, is sharing offers to share travels in car.
<br>
There are <b>3 types of publication</b>:
</p>
<p>
<ul class="list">
<li class="item">
<h4>Travel offer</h4>
<img ng-src="img/offering.png" class="o-img-new"/>
For example: I'm going with my car to a place, in my car can go more people.
</li>
<li class="item">
<h4>Travel ask</h4>
<img ng-src="img/package.png" class="o-img-new"/>
For example: I need to travel a place, can somebody take me there?
</li>
<li class="item">
<h4>Package send ask</h4>
<img ng-src="img/asking.png" class="o-img-new"/>
For example: I need to send some package to a place, can somebody carry it to there?
</li>
</ul>
</p>
<p>
To <b>create a new publication</b>, just need to go in to 'Travels' section in the main menu, and select one of the 3 top buttons:
<img ng-src="img/newpackage.png" class="o-img-new"/> <img ng-src="img/newpackage.png" class="o-img-new"/>
<img ng-src="img/newasking.png" class="o-img-new"/> <img ng-src="img/newasking.png" class="o-img-new"/>
<img ng-src="img/newoffering.png" class="o-img-new"/> <img ng-src="img/newoffering.png" class="o-img-new"/>
</p> </p>
<p>
<img ng-src="img/package.png" class="o-img-new"/>
<img ng-src="img/asking.png" class="o-img-new"/>
<img ng-src="img/offering.png" class="o-img-new"/>
</p>
<br><br> <br><br>
<p>not yet</p>
<p>(not finished yet)...</p>
</ion-content> </ion-content>
</ion-view> </ion-view>

+ 3
- 0
www/templates/settings.html

@ -9,5 +9,8 @@
<option value="catala">català</option> <option value="catala">català</option>
</select> </select>
</label> </label>
<p>
version: CarsInCommon-v010
</p>
</ion-content> </ion-content>
</ion-view> </ion-view>

+ 2
- 2
www/templates/travel.html

@ -26,9 +26,9 @@
<img class='o-imgMenu' src="img/smartphone.png" /> {{travel.phone}} <img class='o-imgMenu' src="img/smartphone.png" /> {{travel.phone}}
</p> </p>
<p ng-show="travel.telegram"> <p ng-show="travel.telegram">
<a ng-href="https://telegram.me/{{travel.telegram}}" target="_blank" class="button">
<!--<a ng-href="https://telegram.me/{{travel.telegram}}" target="_blank" class="button">-->
<img class='o-imgMenu' src="img/telegram.png" /> @{{travel.telegram}} <img class='o-imgMenu' src="img/telegram.png" /> @{{travel.telegram}}
</a>
<!--</a>-->
</p> </p>
</div> </div>
<div class='col o-text-right'> <div class='col o-text-right'>

+ 2
- 2
www/templates/user.html

@ -8,9 +8,9 @@
<p class="o-bold">{{user.description}}</p> <p class="o-bold">{{user.description}}</p>
<p>{{user.mail}}</p> <p>{{user.mail}}</p>
<p> <p>
<a ng-href="https://telegram.me/{{user.telegram}}" target="_blank" class="button">
<!--<a ng-href="https://telegram.me/{{user.telegram}}" target="_blank" class="button">-->
<img class='o-imgMenu' src="img/telegram.png" /> @{{user.telegram}} <img class='o-imgMenu' src="img/telegram.png" /> @{{user.telegram}}
</a>
<!--</a>-->
</p> </p>
<div class="o-text-right"> <div class="o-text-right">

Loading…
Cancel
Save