mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-07 11:36:42 +01:00
actualitzant...
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
<ion-header-bar>
|
||||
<h1 class="title">{{'Login' | translate}}</h1>
|
||||
<div class="buttons">
|
||||
<button class="button button-balanced" ng-click="signup()">{{'Signup' | translate}}</button>
|
||||
<button class="button button-dark" ng-click="closeLogin()">{{'Close' | translate}}</button>
|
||||
<a class="button button-balanced" ng-href="#/app/signup">{{'Signup' | translate}}</a>
|
||||
</div>
|
||||
</ion-header-bar>
|
||||
<ion-content>
|
||||
|
||||
20
www/templates/main.html
Normal file
20
www/templates/main.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<ion-view view-title="Main">
|
||||
<ion-content>
|
||||
<a ng-href="#/app/user/{{storageuser._id}}" class="item item-icon-left o_bBlue">
|
||||
<i class="icon ion-android-car"></i>
|
||||
Travels
|
||||
</a>
|
||||
<a href="#/app/dashboard" class="item item-icon-left o_bGreen">
|
||||
<i class="icon ion-person-stalker"></i>
|
||||
Users
|
||||
</a>
|
||||
<a href="#/app/marks/{{storageuser._id}}" class="item item-icon-left o_bOrange">
|
||||
<i class="icon ion-settings"></i>
|
||||
Settings
|
||||
</a>
|
||||
<a href="#/app/runs/{{storageuser._id}}" class="item item-icon-left o_bPurple">
|
||||
<i class="icon ion-ios-help-outline"></i>
|
||||
Help
|
||||
</a>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-side-menus enable-menu-with-back-views="false">
|
||||
<ion-side-menu-content>
|
||||
<ion-nav-bar class="bar-calm">
|
||||
<ion-nav-bar class="bar-calm" ng-show="storageuser">
|
||||
<ion-nav-back-button>
|
||||
</ion-nav-back-button>
|
||||
|
||||
@@ -10,6 +10,19 @@
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-nav-view name="menuContent"></ion-nav-view>
|
||||
<!-- menu footer -->
|
||||
<div class="tabs tabs-icon-left" ng-controller="FooterMenuCtrl" ng-show="storageuser" ng-hide="location=='message'">
|
||||
<a class="tab-item" ng-href="#/app/notifications">
|
||||
<i class="icon ion-android-notifications-none"></i> Notifications
|
||||
</a>
|
||||
<a class="tab-item" ng-href="#/app/main">
|
||||
<i class="icon ion-home"></i> Home
|
||||
</a>
|
||||
<a ng-href="#/app/newPublication" class="tab-item">
|
||||
<i class="icon ion-paper-airplane"></i> New publication
|
||||
</a>
|
||||
</div>
|
||||
<!-- /menu footer -->
|
||||
</ion-side-menu-content>
|
||||
|
||||
<ion-side-menu side="left">
|
||||
@@ -18,40 +31,31 @@
|
||||
</ion-header-bar>
|
||||
<ion-content>
|
||||
<ion-list>
|
||||
<ion-item menu-close ng-click="signup()" ng-show="!storageusername">
|
||||
{{'Signup' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close ng-click="login()" ng-show="!storageusername">
|
||||
{{'Login' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/travels">
|
||||
<img class='o-imgMenu' src="img/road.png" />
|
||||
{{'Travels' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/users">
|
||||
<img class='o-imgMenu' src="img/users.png" />
|
||||
{{'Users' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/notifications/{{storageusername}}" ng-show="storageusername">
|
||||
<img class='o-imgMenu' src="img/notification.png" />
|
||||
{{'Notifications' | translate }}
|
||||
<a class="item item-icon-left" menu-close href="#/app/main">
|
||||
<i class="icon ion-home"></i> {{'Main' | translate }}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/users/{{storageuser}}" ng-show="storageuser">
|
||||
<i class="icon ion-person"></i> {{storageuser.username}}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/travels">
|
||||
<i class="icon ion-android-car"></i> {{'Travels' | translate }}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/users">
|
||||
<i class="icon ion-person-stalker"></i> {{'Users' | translate }}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/notifications" ng-show="storageuser">
|
||||
<i class="icon ion-android-notifications-none"></i> {{'Notifications' | translate }}
|
||||
<span class="badge badge-positive">{{userdata.notifications.length}}</span>
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/users/{{storageusername}}" ng-show="storageusername">
|
||||
<img class='o-imgMenu' ng-src="img/avatars/{{storageavatar}}.png" />
|
||||
{{storageusername}}
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/settings">
|
||||
<img class='o-imgMenu' src="img/settings.png" />
|
||||
{{'Settings' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close href="#/app/help">
|
||||
<img class='o-imgMenu' src="img/help.png" />
|
||||
{{'Help' | translate }}
|
||||
</ion-item>
|
||||
<ion-item menu-close ng-click="logout()" ng-show="storageusername">
|
||||
{{'Logout' | translate }}
|
||||
</ion-item>
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/settings">
|
||||
<i class="icon ion-settings"></i> {{'Settings' | translate }}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close href="#/app/help">
|
||||
<i class="icon ion-ios-help-outline"></i> {{'Help' | translate }}
|
||||
</a>
|
||||
<a class="item item-icon-left" menu-close ng-click="logout()" ng-show="storageuser">
|
||||
<i class="icon ion-home"></i> {{'Logout' | translate }}
|
||||
</a>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
</ion-side-menu>
|
||||
|
||||
16
www/templates/newPublication.html
Normal file
16
www/templates/newPublication.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<ion-view view-title="New Publication">
|
||||
<ion-content>
|
||||
<a ng-href="#/app/offerCar" class="item item-icon-left o_bBlue">
|
||||
<i class="icon ion-android-car"></i>
|
||||
Offer Car
|
||||
</a>
|
||||
<a href="#/app/dashboard" class="item item-icon-left o_bGreen">
|
||||
<i class="icon ion-help"></i>
|
||||
Ask for Car
|
||||
</a>
|
||||
<a href="#/app/marks/{{storageuser._id}}" class="item item-icon-left o_bOrange">
|
||||
<i class="icon ion-ios-box"></i>
|
||||
Ask for Package
|
||||
</a>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
62
www/templates/offerCar.html
Normal file
62
www/templates/offerCar.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<ion-view view-title="Offer Car">
|
||||
<ion-content>
|
||||
<form class="list">
|
||||
<label class="item item-input">
|
||||
<span class="input-label"t>{{'Title' | translate}}</span>
|
||||
<input ng-model="newtravel.title" class="positive" type="text" placeholder="">
|
||||
</label>
|
||||
|
||||
<label class="item item-input">
|
||||
<img class='o-imgMenu' src="img/localization.png" />
|
||||
<span class="input-label">{{'From' | translate}}</span>
|
||||
<input ng-model="newtravel.from" type="text" placeholder="">
|
||||
</label>
|
||||
<label class="item item-input">
|
||||
<img class='o-imgMenu' src="img/localization.png" />
|
||||
<span class="input-label">{{'To' | translate}}</span>
|
||||
<input ng-model="newtravel.to" type="text" placeholder="">
|
||||
</label>
|
||||
|
||||
<label class="item item-input">
|
||||
<span class="input-label">{{'n_Seats' | translate}}</span>
|
||||
<input ng-model="newtravel.seats" type="number" placeholder="">
|
||||
</label>
|
||||
<label class="item item-input">
|
||||
<span class="input-label">{{'Date' | translate}}</span>
|
||||
<input ng-model="newtravel.date" type="date" placeholder="">
|
||||
</label>
|
||||
<label class="item item-input">
|
||||
<span class="input-label">{{'Hour' | translate}}</span>
|
||||
<input ng-model="newtravel.date" type="time" placeholder="">
|
||||
</label>
|
||||
<!--<label class="item item-input">
|
||||
<span class="input-label"><i class="icon ion-iphone"></i> {{'Phone_contact' | translate}}</span>
|
||||
<input ng-model="newtravel.phone" type="number" placeholder="">
|
||||
</label>
|
||||
<label class="item item-input">
|
||||
<span class="input-label">{{'Telegram_user' | translate}}</span>
|
||||
<input ng-model="newtravel.telegram" type="text" placeholder="">
|
||||
</label>-->
|
||||
<ion-toggle ng-model="newtravel.package" toggle-class="toggle-calm">
|
||||
<img class='o-imgMenu' src="img/package.png" />
|
||||
{{'Can_carry_package' | translate}}
|
||||
</ion-toggle>
|
||||
<ion-toggle ng-model="newtravel.collectivized" toggle-class="toggle-calm">
|
||||
{{'Collectivized_car' | translate}}
|
||||
</ion-toggle>
|
||||
|
||||
<label class="item item-input item-floating-label">
|
||||
<span class="input-label">{{'Description' | translate}}</span>
|
||||
<input ng-model="newtravel.description" type="text" placeholder="Description">
|
||||
</label>
|
||||
<p class="padding">
|
||||
<button ng-click="closeNewOfferingTravel()" class="button button-assertive">
|
||||
{{'Cancel' | translate}}
|
||||
</button>
|
||||
<button ng-click="doNewOfferingTravel()" class="button button-calm">
|
||||
{{'Create_travel' | translate}}
|
||||
</button>
|
||||
</p>
|
||||
</form>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
@@ -2,7 +2,7 @@
|
||||
<ion-header-bar>
|
||||
<h1 class="title">{{'Signup' | translate }}</h1>
|
||||
<div class="buttons">
|
||||
<button class="button button-dark" ng-click="closeSignup()">{{'Close' | translate }}</button>
|
||||
<a class="button button-dark" ng-href="#/app/login">{{'Close' | translate }}</a>
|
||||
</div>
|
||||
</ion-header-bar>
|
||||
<ion-content>
|
||||
|
||||
Reference in New Issue
Block a user