-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathabout.html
More file actions
146 lines (137 loc) · 6.33 KB
/
Copy pathabout.html
File metadata and controls
146 lines (137 loc) · 6.33 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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Show Box Web App | About</title>
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png">
<link rel="manifest" href="assets/favicons/site.webmanifest">
<link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#ffb400">
<link rel="shortcut icon" href="assets/favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="msapplication-config" content="assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#303030">
<!-- css & js -->
<link href="https://bootswatch.com/4/darkly/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/styles/main.css" rel="stylesheet" type="text/css" />
<script src="https://bootswatch.com/_vendor/jquery/dist/jquery.min.js"></script>
<script src="https://bootswatch.com/_vendor/popper.js/dist/umd/popper.min.js"></script>
<script src="https://bootswatch.com/_vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- other scripts -->
<script src="assets/scripts/global.js"></script>
<style>
</style>
</head>
<body>
<!-- Appbar -->
<nav class="navbar fixed-top navbar-expand-md navbar-dark bg-dark">
<a class="navbar-brand" href="/">Show Box</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">News</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tv-list.html">TV Shows</a>
</li>
<li class="nav-item">
<a class="nav-link" href="movies-list.html">Movies</a>
</li>
<li class="nav-item">
<a class="nav-link" href="latest.html">New Releases</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0" action="tv-search.html" method="get">
<input class="form-control mr-sm-2" type="text" name="query" placeholder="Search shows..." required>
<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<svg class="feather sm"><use xlink:href="assets/feather/feather-sprite.svg#settings"/></svg>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item cursor" data-toggle="modal" data-target="#settingsModal">Settings</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://github.com/Bunnbuns/Show-Box-Web-App" target="_blank">GitHub</a>
<a class="dropdown-item" href="about.html">About</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- End appbar -->
<div style="height:90px;"></div>
<!-- Modal -->
<div class="modal fade" id="settingsModal" tabindex="-1" role="dialog" aria-labelledby="modalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="settingsModal">Settings</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="imageProxySelect">Image Proxy</label>
<select class="form-control" id="imageProxySelect" aria-describedby="imageProxyHelpBlock">
<option>ON</option>
<option>OFF</option>
</select>
<small id="imageProxyHelpBlock" class="form-text text-muted">
Turn on to have images go through the API proxy used by the app.
</small>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-warning" onclick="saveSettings('imageProxySelect')">Save changes</button>
</div>
</div>
</div>
</div>
<!-- content -->
<div class="container">
<h2>About</h2>
<hr class="divider light" />
<p>The Show Box Web App is a web client that uses the Show Box android app's API though a proxy to bring as many features as possible from the app to web browsers.</p>
<p>The GitHub repository for this site it avalible <a href="https://github.com/Bunnbuns/Show-Box-Web-App">here</a>.
</p>
</div>
<br />
<!-- End of page -->
<script>
// --- Set vars --- //
window.onload = function() {
//window is loaded, send requests
if(imageProxy != null){
document.getElementById("imageProxySelect").value = imageProxy;
}
}
//var xhttp = new XMLHttpRequest();
//xhttp.onreadystatechange = function() {
// if (this.status == 200 || this.status == 302) {
// //go ahead and do stuff:
// document.getElementById("list").innerHTML = "";
//
// var tmp = JSON.parse(xhttp.responseText);
// for (var i = 0; i < 100; i++){
// var imageURL = tmp[i].poster;
// if(imageProxy == 'ON'){ imageURL = 'https://dev.benworld.net/sb/local/ssl-proxy/'+tmp[i].poster.replace(/https:\/\/|http:\/\//g, ""); }
// document.getElementById("list").innerHTML = document.getElementById("list").innerHTML.concat('<article class="sb-card"> <a href="'+tmp[i].id+'" class="card__link"> <span class="highlight"></span> <img src="'+imageURL+'" alt="" class="card__image" /> </a> <h2 class="card__title">'+tmp[i].title+'</h2> </article>');
// }
//
// }
//};
//xhttp.open("GET", "https://dev.benworld.net/sbrapi.cc/api/serials/tv_list/", true);
//xhttp.send();
</script>
</body>
</html>