-
Notifications
You must be signed in to change notification settings - Fork 265
/
index.emblem
executable file
·143 lines (134 loc) · 5.24 KB
/
index.emblem
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
.profile-content
.row
/ Left "About" column
.about-info
/ About User Panel
.user-about-panel
.panel-heading
h3.panel-title About #{user.username}
span.edit-panel
unless isEditing
a click="goToEditing" Edit Info
else
a click="doneEditing" Save
.panel-body
if isEditing
== textarea class="edit-bio" rows="3" placeholder="Tell us about yourself :3" value=user.miniBio
.user-interests
ul
li
.interest-icon <i class="fa fa-heart"></i>
p choice: #{user.waifuOrHusbando}
.interest
| {{{view Ember.Select content=selectChoices selection=user.waifuOrHusbando}}}
li
.interest-icon <i class="fa fa-home"></i>
.interest #{input type="text" placeholder="Location" value=user.location}
li
.interest-icon <i class="fa fa-link"></i>
.interest #{input type="text" placeholder="Website" value=user.website}
else
.p #{user.miniBio}
.user-interests
ul
li
.interest-icon <i class="fa fa-heart"></i>
if hasWaifu
.interest #{user.waifuOrHusbando} is <a href="#"> #{user.waifu} </a>
else
.interest Waifu/Husbando Not Selected
li
.interest-icon <i class="fa fa-home"></i>
.interest Lives in <strong>#{user.location}</strong>
li
.interest-icon <i class="fa fa-link"></i>
.interest <a href="#">#{user.website}</a>
/ .photos-videos
/ .panel-heading
/ h3.panel-title Photos and Videos
/ .panel-body
/ .media-grid
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
/ .grid-thumb
/ a class="thumbnail"
/ img src="http://placekitten.com/300/300"
if userInfo.isFulfilled
/ Anime Breakdown Panel
.anime-breakdown-panel
.panel-heading
h3.panel-title Anime Breakdown
.panel-body
/ .row
/ .col-md-5
/ .breakdown-graph
/ canvas id="breakdown"
/ .breakdown-info
/ span.breakdown-infotitle Adventure
/ span.breakdown-infotext out of aaa titles
/ .col-md-7
/ ul.breakdown-genrelist
/ li
/ span.breakdown-genre Action
/ span.breakdown-numbr 100
/ li
/ span.breakdown-genre Comedy
/ span.breakdown-numbr 100
/ li
/ span.breakdown-genre Ecchi
/ span.breakdown-numbr 100
/ li
/ span.breakdown-genre Horror
/ span.breakdown-numbr 100
/ li
/ span.breakdown-genre Mecha
/ span.breakdown-numbr 100
/ hr
ul
li
span.breakdown-icon <i class="fa fa-eye"></i>
span.breakdown-time I've watched <strong>#{lifeSpentOnAnimeFmt}</strong> of anime.
else
loading-indicator classNames="light"
.favorite-anime
.panel-heading
h3.panel-title Favorite Anime
if viewingSelf
span.edit-panel
unless editingFavorites
a click="editFav" Edit
else
a click="doneEditingFav" Save
.panel-body
favorite-anime-container favorite_anime_list=favorite_anime_list currentUser=currentUser isEditing=editingFavorites
if can_load_more
.more-wrapper
a class="view-more-button" click="loadMoreFavorite_animes" View More
.personal-feed
/ Status Update Panel
.status-update-panel
.panel-body.status-panel
view Ember.TextArea class="status-form" placeholder="Write something..." rows="1" valueBinding="newPost"
.panel-footer
button.btn.status-button click="submitPost" class=inFlight:disabled Post Status
each content itemController="story" itemViewClass="Hummingbird.StoryView"
load-more classNames="light" action="loadNextPage"