You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.5 KiB

8 years ago
  1. <ion-view view-title="{{'Edit user' | translate}} {{user.username}}">
  2. <ion-content class="has-footer">
  3. <div class="o_userProfileBackground">
  4. <img ng-src="{{user.avatar}}" class="o_userImgCircular"
  5. ng-click="selectAvatar()"/>
  6. <h3 class="o_text_white">{{user.username}}</h3>
  7. <p>
  8. <input ng-model="user.description" class="o_transparentInput"
  9. placeholder="{{'Description' | translate}}">
  10. </p>
  11. <p>
  12. <input ng-model="user.email" class="o_transparentInput"
  13. placeholder="{{'Email' | translate}}">
  14. </p>
  15. <p ng-show="storageuser._id==user._id">
  16. <md-button class="o_purple300" ng-click="update()">
  17. Save changes
  18. </md-button>
  19. </p>
  20. </div>
  21. <div class="">
  22. <div class="row">
  23. <a class="tab-item">
  24. <i class="icon ion-paper-airplane"></i>
  25. @
  26. <input style="display: inline-block;" type="text" ng-model="user.telegram" placeholder="{{'Telegram' | translate}}">
  27. </a>
  28. <a class="tab-item">
  29. <i class="icon ion-android-car"></i>
  30. {{user.travels.length}} Travels
  31. </a>
  32. <a class="tab-item">
  33. <i class="icon ion-ios-heart"></i>
  34. {{user.favs.length}} favs
  35. </a>
  36. </div>
  37. </div>
  38. <div class="item">
  39. <img src="{{user.faircoin}}" style="width: 100%;"
  40. ng-click="selectFaircoinPublicKey()" />
  41. </div>
  42. </ion-content>
  43. </ion-view>