Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <ion-view view-title="Share">
  2. <ion-content ng-controller="TakePhoto" style="text-align: center" ng-show="imgURI === undefined" class="ng-hide" ng-init="showPopup()">
  3. <h3>Example Photo:</h3>
  4. <img ng-show="imgURI === undefined" ng-src="img/hand_example.jpg" style="width: 80%;max-height: 500px;border: 1px solid #b2b2b2;border-radius: 2px;">
  5. <button class="button icon-left icon ion-ios-camera-outline" ng-click="takePicture()" style="background: #f66117;width: 80%">Take Picture</button>
  6.  
  7. <button class="button icon-left icon ion-ios-information-outline" ng-click="showPopup()" style="background: #3e9611;margin-top: 5px;width: 80%">Picture Instructions</button>
  8. </div>
  9. </ion-content>
  10.  
  11. <ion-content ng-show="imgURI !== undefined" class="ng-hide" style="padding: 10px" ng-controller="GetBackgrounds">
  12. <h2>Cool, huh?</h2>
  13.  
  14. <div style="width: 100%;background: url('img/sun_example.jpg') no-repeat center center fixed;background-size: cover;">
  15. <img src="img/mask_example.png" style="width: 100%;height: 100%" />
  16. </div>
  17.  
  18. Swipe left/right to change suns.
  19.  
  20. <div class="item item-input-inset">
  21. <button class="button icon-left icon ion-chevron-left" ng-click="takePicture()" style="background: #f66117;width: 80%">Retake Photo</button>
  22.  
  23. <button class="button icon-right icon ion-chevron-right" style="background: #3e9611;margin-top: 5px;width: 80%">Next</button>
  24. </div>
  25. </ion-content>
  26. </ion-view>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement