2014-07-26 13:24:27 +09:00
|
|
|
{{template "ng/base/head" .}}
|
|
|
|
{{template "ng/base/header" .}}
|
|
|
|
<div id="setting-wrapper" class="main-wrapper">
|
|
|
|
<div id="user-profile-setting" class="container clear">
|
|
|
|
{{template "user/settings/nav" .}}
|
|
|
|
<div class="grid-4-5 left">
|
|
|
|
<div class="setting-content">
|
|
|
|
{{template "ng/base/alert" .}}
|
|
|
|
<div id="setting-content">
|
2014-08-10 09:25:02 +09:00
|
|
|
<div id="user-social-panel" class="panel panel-radius">
|
|
|
|
<div class="panel-header"><strong>{{.i18n.Tr "settings.manage_social"}}</strong></div>
|
|
|
|
<ul class="panel-body setting-list">
|
|
|
|
<li>{{.i18n.Tr "settings.social_desc"}}</li>
|
|
|
|
{{range .Socials}}
|
|
|
|
<li class="ssh clear">
|
|
|
|
<span class="active-icon left label label-{{if .HasRecentActivity}}green{{else}}gray{{end}} label-radius"></span>
|
|
|
|
<i class="fa {{Oauth2Icon .Type}} fa-2x left"></i>
|
|
|
|
<div class="ssh-content left">
|
|
|
|
<p><strong>{{Oauth2Name .Type}}</strong></p>
|
|
|
|
<p class="print">{{.Identity}}</p>
|
2015-01-02 19:41:05 +09:00
|
|
|
<p class="activity"><i>{{$.i18n.Tr "settings.add_on"}} <span title="{{DateFormat .Created "r"}}">{{DateFormat .Created "M d, Y"}}</span> — <i class="octicon octicon-info"></i>{{$.i18n.Tr "settings.last_used"}} {{DateFormat .Updated "M d, Y"}}</i></p>
|
2014-08-10 09:25:02 +09:00
|
|
|
</div>
|
2014-09-20 09:11:34 +09:00
|
|
|
<a class="right btn btn-small btn-red btn-header btn-radius" href="{{AppSubUrl}}/user/settings/social?remove={{.Id}}">{{$.i18n.Tr "settings.unbind"}}</a>
|
2014-08-10 09:25:02 +09:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
2014-07-26 13:24:27 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "ng/base/footer" .}}
|