-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
271 lines (264 loc) · 11.4 KB
/
index.html
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="icon" href="http://appstore.wiiubru.com/icon.ico" type="image/x-icon">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Homebrew App Store</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<link rel="stylesheet" href="css/main.css">
<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">-->
<link href='https://fonts.googleapis.com/css?family=Product+Sans' rel='stylesheet' type='text/css'>
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js"></script>
<script>
WebFont.load({
google: {
families: ["Open Sans:400,700"]
}
});
</script>
<script src="js/libs.min.js" type="text/javascript"></script>
<!--
<script src="https://form.jotformeu.com/static/feedback2.js?3.3.REV" type="text/javascript"> var JFL_70133854720350 = new JotformFeedback({ formId: '70133854720350', base: 'https://form.jotformeu.com/', windowTitle: 'WiiU Homebrew Appstore Submission', background: '#aef272', fontColor: '#000000', type: 'false', height: 500, width: 700, openOnLoad: false }); </script>
end app submission script -->
<body>
<div id="app">
<!-- navbar -->
<nav class="navBar">
<i class="fas fa-cart-arrow-down"></i> Switch Appstore
<ul class="navBar__links">
<!--<li>
<a href="http://www.switchbru.com" class="switch"><img src="switch.png" /></a>
</li>-->
<li>
<a href="https://kiwiirc.com/client/irc.kiwiirc.com/switchbru"><i class="far fa-comments" aria-hidden="true"></i> IRC</a>
</li>
<li>
<a href="https://discord.gg/F2PKpEj"><i class="fab fa-discord" aria-hidden="true"></i> Discord</a>
</li>
<li>
<a href="https://twitter.com/WiiUbru"><i class="fab fa-twitter-square" aria-hidden="true"></i> Follow Us</a>
</li>
<li>
<a href="http://www.switchbru.com/dns"><i class="fas fa-server" aria-hidden="true"></i> DNS</a>
</li>
<!--<li>
<a href="https://www.paypal.me/pwsincd"><i class="fab fa-paypal" aria-hidden="true"></i> Donate</a>
</li>-->
<!--<li>
<a href="http://www.wiiubru.com/go"><i class="fa fa-arrow-right" aria-hidden="true"></i> GO</a>
</li>
<li>
<a href="http://www.wiiubru.com/guide"><i class="fa fa-graduation-cap" aria-hidden="true"></i> Guide</a>
</li>
<li>
<a href="http://www.switchbru.com/rip"><i class="fas fa-thumbs-down" aria-hidden="true"></i> RIP</a>
</li>
<li>
<a class="lightbox-70133854720350"><i class="fa fa-paper-plane" aria-hidden="true"></i> Submit App</a>
</li>-->
<li>
<a href="https://pegaswitch.com"><i class="fas fa-sign-in-alt" aria-hidden="true"></i> Pegaswitch</a>
</li>
</ul>
<a class="mobileNavToggle" v-on:click="toggleSideMenu"><i class="fa fa-bars"></i></a>
</nav>
<!-- / navbar -->
<!-- side menu -->
<div :class="['sideMenu', sideMenuIsOpen ? 'is-open' : '']">
<ul class="categoryList">
<li class="category">
<router-link to="/" exact>
<span class="category__icon"><i class="fas fa-home"></i></span><span class="category__title">top</span>
</router-link>
</li>
<li class="category">
<router-link to="/search/">
<span class="category__icon"><i class="fas fa-search"></i></span><span class="category__title">search</span>
</router-link>
</li>
<li v-for="category in categories" :class="['category', 'category--' + category.id]">
<router-link :to="'/category/' + category.id">
<span class="category__icon"><i :class="['fas', category.icon]"></i></span><span class="category__title">{{category.id}}</span>
</router-link>
</li>
</ul>
</div>
<!-- / side menu -->
<!-- main page content -->
<div class="main">
<!--advertisement top of page
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:70px"
data-ad-client="ca-pub-7623664678937879"
data-ad-slot="9058831412"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>-->
<!--end of advertisement top of page-->
<router-view></router-view>
<!--advertisement bottom of page
<br>
<div align="center"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:70px"
data-ad-client="ca-pub-8148658375496745"
data-ad-slot="1135708500"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>-->
<!--end of advertisement bottom of page-->
<div class='foot'>
<p>
Homebrew App Store content maintained by <a href="https://github.com/pwsincd">Pwsincd.</a>
<br>
© 2016 switchbru.com. Powered by <a href="https://github.com/vgmoose/hbas">hbas</a> created & coded by <a href="https://github.com/vgmoose/">Vgmoose.</a>
</p>
</div>
</div>
<!-- / main page content -->
</div>
<!-- front page template -->
<script type="text/x-template" id="front-page-template">
<div>
<app-grid v-for="category in appList" v-bind:title="category.title" v-bind:items="category.items" showButtons="true"></app-grid>
</div>
</script>
<!-- / front page template -->
<!-- category page template -->
<script type="text/x-template" id="category-page-template">
<app-grid v-bind:title="appList.title" v-bind:items="appList.items"></app-grid>
</script>
<!-- / category page template -->
<!-- search page template -->
<script type="text/x-template" id="search-page-template">
<div>
<form class="searchField" v-on:submit="submitQuery">
<div class="searchField__input-wrap">
<input action="" method="" type="text" v-model="searchQuery" class="searchField__input">
</div>
<div class="searchField__button-wrap">
<button type="submit" class="searchField__button button button--secondary">Search</button>
</div>
</form>
<app-grid v-bind:items="appList.items"></app-grid>
</div>
</script>
<!-- / search page template -->
<!-- app page template -->
<script type="text/x-template" id="app-page-template">
<div class="card appPage" v-show="app">
<div class="leftSection">
<img class="app__image" v-bind:src="app.img_src"></img>
<div class="app__actionWrap">
<div class="app__action">
<a v-bind:href="download_link" v-bind:download="app.directory + '.zip'" class="button button--block">Download</a>
</div>
<div class="app__action">
<a v-bind:href="app.url" target="_blank" rel="noopener noreferrer" class="button button--block button--secondary">Source</a>
</div>
<div> </div>
<div class="app__databody">
<div class="app__datatitle">Additional information</div>
<div class="app__data">Version: {{app.version}}</div>
<div class="app__data">Size: {{app.filesize}} Kbs</div>
<div class="app__data">Updated: {{app.updated}}</div>
<div class="app__datatitle">Weekly Download Stats</div>
<div class="app__data">Web Downloads: {{app.web_hits}}</div>
<div class="app__data">App Downloads: {{app.app_hits}}</div>
</div>
</div>
</div>
<div class="rightSection">
<h3 class="app__title">{{app.name}}</h3>
<div class="app__desc">{{app.desc}}</div>
<div class="app__authors">{{app.author}}</div>
<span :class="['app__type', 'app__type--' + app.type]">{{app.type}}</span>
<!--<a :class="['app__channel', 'app__channel-' + app.channel]" href="channels">{{app.channel}}</a>-->
<div class="app__longDesc" v-html="formatted_desc"></div>
</div>
</div>
</script>
<!-- / app page template -->
<!-- app grid template -->
<script type="text/x-template" id="app-grid-template">
<div v-bind:class="['category', title ? 'category--' + title : '']">
<div v-if="title" class="appGridHead">
<router-link :to="'/category/' + title">
<a class="appGridHead__title">{{title}}</a>
</router-link>
<router-link v-if="showButtons" :to="'/category/' + title">
<a class="button appGridHead__button">Show all</a>
</router-link>
</div>
<ul class="appGrid">
<li v-for="app in items" class="appGrid__item">
<router-link :to="'/app/' + app.directory">
<a class="card card--app">
<img class="app__image" v-bind:src="app.img_src">
<div class="card__head">{{app.name}}</div>
<div class="card__body">
<div class="app__desc">{{app.desc}}</div>
<div class="app__author">{{app.author}}</div>
</div>
</a>
</router-link>
</li>
</ul>
</div>
</script>
<!-- / app grid template -->
<!-- config -->
<script type="text/javascript">
var config = {
categories: [
{
id: "loaders",
json_id: "loader",
icon: "fa-spinner"
}, {
id: "games",
json_id: "game",
icon: "fa-play"
}, {
id: "emulators",
json_id: "emu",
icon: "fa-gamepad"
}, {
id: "tools",
json_id: "tool",
icon: "fa-cog"
}, {
id: "system",
json_id: "sys",
icon: "fa-wrench"
},{
id: "Concepts",
json_id: "poc",
icon: "fa-puzzle-piece"
},{
id: "PC-Tools",
json_id: "pc",
icon: "fas fa-cogs"
}
],
appListURL: "directory.json",
getAppImageURL: function (directory) {
return "http://www.switchbru.com/appstore/apps/" + directory + "/icon.png"
},
getAppDownloadURL: function (directory, binary) {
return "/appstore/zips/" + directory + ".zip"
},
};
</script>
<!-- / config -->
<script src="js/main.min.js"></script>
</body>
</html>