2014-06-21 21:22:38 +00:00
|
|
|
<h1>User Account</h1>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<!-- summary column -->
|
|
|
|
<div class="col-xs-6 col-sm-3">
|
|
|
|
What to show here?
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- primary column -->
|
|
|
|
<div class="col-xs-12 col-sm-9">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Remote</label>
|
|
|
|
<span>{{ user.remote }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Login</label>
|
|
|
|
<span>{{ user.login }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Gravatar</label>
|
|
|
|
<img class="gravatar" ng-src="https://secure.gravatar.com/avatar/{{ user.gravatar }}?s=32&d=mm" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Email</label>
|
|
|
|
<input type="text" ng-model="userTemp.email" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Full Name</label>
|
|
|
|
<input type="text" ng-model="userTemp.name" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Created</label>
|
|
|
|
<span>{{ user.created_at | fromNow }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Updated</label>
|
|
|
|
<span>{{ user.updated_at | fromNow }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<label>Synced</label>
|
|
|
|
<span>{{ user.synced_at | fromNow }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
{{failure}}
|
|
|
|
</div>
|
|
|
|
|
2014-06-22 09:04:07 +00:00
|
|
|
<div ng-if="notifications.supported && !notifications.granted">
|
|
|
|
<button ng-click="enableNotifications()">Enable Notifications</button>
|
|
|
|
</div>
|
|
|
|
|
2014-06-21 21:22:38 +00:00
|
|
|
<div>
|
|
|
|
<button ng-click="save()">Save</button>
|
|
|
|
<button ng-click="cancel()">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|