_profile.html
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div id="profile" class="modal">
<ion-content>
<h1 class="title">
<span>
<img src="img/user.png" alt="" width="120" />
<span>
{{profile.name}}
<h2 ng-click="editProfile()">editar perfil</h2>
</span>
</span>
<a class="back icon-left ion-reply" ng-click="closeProfile()">Voltar</a>
</h1>
<p class="level-and-points">Nível {{profile.level}}. Você possui {{profile.points}} pontos.</p>
<div id="game-bar"><div id="game-bar-inner" ng-style="{ 'width': profile.gamification_plugin_level_percent + '%' }">{{profile.gamification_plugin_level_percent.toFixed(2)}}%</div></div>
<hr />
<h2>Suas Medalhas</h2>
<div id="badges">
<div ng-repeat="badge in profile.badges" class="badge">
<span>{{badge.level}}</span>
<img ng-src="img/badges/{{badge.name}}.png" />
<p>Level {{badge.level}}</p>
</div>
</div>
<h2>Nome</h2>
<p>{{profile.name}}</p>
<h2>Login</h2>
<p>{{profile.user.login}}</p>
<h2>Região</h2>
<p>{{profile.region.full_name}}</p>
<h2>Orientação Sexual</h2>
<p>{{profile.orientacao_sexual | orientacaoSexualFilter }}</p>
<h2>Identidade de Gênero</h2>
<p>{{profile.identidade_genero | generoFilter }}</p>
<h2>Etnia</h2>
<p>{{profile.etnia | etniaFilter}}</p>
<h2>É membro de conselho municipal ou estadual da juventude?</h2>
<p>{{profile.membro_conselho | membroConselhoFilter}}</p>
<h2><span ng-show="profile.transgenero == 'false'">Não</span> Sou Transgênero</h2>
</ion-content>
</div>