aboutsummaryrefslogtreecommitdiff
path: root/depictions
diff options
context:
space:
mode:
Diffstat (limited to 'depictions')
-rwxr-xr-xdepictions/changelog/index.html97
-rwxr-xr-xdepictions/index.html161
-rw-r--r--depictions/packages/com.fivepixels.mariomaps.json20
-rwxr-xr-xdepictions/screenshots/index.html97
4 files changed, 0 insertions, 375 deletions
diff --git a/depictions/changelog/index.html b/depictions/changelog/index.html
deleted file mode 100755
index 1a97072..0000000
--- a/depictions/changelog/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Cydia Tweak</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="/CydiaIcon.png">
-
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
-
- <style>
- body {
- background-color: #efeff4;
- }
- h1, h2 {
- margin-left: 7px;
- }
- .badge-label {
- border-radius:1em;
- }
- .panel, .alert {
- border-radius: 0 !important;
- }
- .package-error {
- display: none;
- }
- .latest-version {
- vertical-align: middle;
- }
- </style>
-</head>
-<body>
- <div class="container">
- <div class="package row">
- <div class="header">
- <h1 class="package-name"></h1>
- </div>
- </div>
-
- <div class="row alert alert-danger package-error"></div>
-
- <div class="package-info row package-versions">
- <h2>Changelogs</h2>
- </div>
-
- </div>
- <script>
- $(document).ready(function() {
- var dPackage = getParameterByName("p");
-
- if (!dPackage) {
- $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Not Found");
- return;
- }
-
- $.getJSON("/packages/" + dPackage + ".json", function(data) {
- document.title = data.name + " by " + data.author;
- $(".package-name").text(data.name);
- var latest = data.version;
- var versions = Object.keys(data.changelog).reverse();
- for (var v in versions) {
- var version = versions[v];
- var panel = $("<div class=\"panel panel-default\"></div>");
- panel.append("<div class=\"panel-heading\">" + version + "</div>");
- panel.append("<div class=\"panel-body changelog-list\"></div>");
- if (version === latest) {
- panel.find(".panel-heading").append(" <div class=\"label label-primary badge-label latest-version\">LATEST</div>");
- }
- var changes = data.changelog[version];
- for (var c in changes) {
- var change = changes[c];
- panel.find(".changelog-list").append("<li>" + change + "</li>");
- }
- $(".package-versions").append(panel);
- }
-
- })
- .fail(function() {
- $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Repository Error");
- return;
- });
-
- function getParameterByName(name) {
- name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
- var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
- results = regex.exec(location.search);
- return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
- }
- });
- </script>
-</body>
-</html> \ No newline at end of file
diff --git a/depictions/index.html b/depictions/index.html
deleted file mode 100755
index 3d6f6f8..0000000
--- a/depictions/index.html
+++ /dev/null
@@ -1,161 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Cydia Tweak</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="/CydiaIcon.png">
-
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
-
- <style>
- body {
- background-color: #efeff4;
- }
- h1, .package-desc {
- margin-left: 7px;
- }
- .badge-label {
- border-radius:1em;
- }
- .panel, .list-group-item, .alert {
- border-radius: 0 !important;
- }
- .list-group-item:last-child {
- margin-bottom: -1px;
- }
- .subshots {
- text-align: center;
- }
- .subshots:nth-child(1) {
- margin-bottom: 10px;
- }
- .screenshots img {
- border: thin solid #BEB6D8;
- }
- .package-buttons {
- margin-top: 10px;
- }
- .repo-buttons {
- margin-top: 20px;
- }
- a:link, a:visited, a:hover {
- text-decoration: none;
- }
- .package-error {
- display: none;
- }
- </style>
-</head>
-<body>
- <div class="container">
- <div class="package row">
- <div class="header">
- <h1 class="package-name"></h1>
- </div>
- </div>
-
- <div class="row alert alert-danger package-error"></div>
-
- <div class="package-info">
- <div class="package-info row">
- <p class="package-desc"></p>
- </div>
-
- <i><p class="package-author"></p></i>
-
- <div class="row panel panel-default">
- <div class="panel-heading">Changelog <div class="label label-primary badge-label latest-version"></div></div>
- <div class="panel-body changelog-list">
- </div>
- </div>
-
- <br>
-
- <div class="row screenshots">
- </div>
-
- <div class="row package-buttons">
- <ul class="list-group">
- <a href="screenshots" class="screenshots-link"><li class="list-group-item"><span class="glyphicon glyphicon-picture"></span> Screenshots</li></a>
- <a href="changelog" class="changelog-link"><li class="list-group-item"><span class="glyphicon glyphicon-tasks"></span> Full Changelog</li></a>
- </ul>
- </div>
-
- <div class="row repo-buttons">
- <ul class="list-group">
- <a href="https://github.com/Jake0oo0/boomerang" target="_blank"><li class="list-group-item"><span class="glyphicon glyphicon-wrench"></span> Boomerang Repository</li></a>
- <a href="https://twitter.com/itsjake88" target="_blank"><li class="list-group-item"><span class="glyphicon glyphicon-heart"></span> Follow Boomerang Dev</li></a>
- </ul>
- </div>
- </div>
-
- </div>
- <script>
- $(document).ready(function() {
- var dPackage = getParameterByName("p");
-
- if (!dPackage) {
- $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Not found");
- return;
- }
-
- $.getJSON("/packages/" + dPackage + ".json", function(data) {
- document.title = data.name + " by " + data.author;
- $(".package-name").text(data.name);
- $(".package-desc").text(data.description);
- $(".latest-version").text(data.version + " (latest)");
- $(".package-author").text("by " + data.author);
- var cList = $(".changelog-list");
- var changes = data.changelog[data.version];
- for (var c in changes) {
- var change = changes[c];
- cList.append("<li>" + change + "</li>")
- }
-
- var count = 0;
- var screenshots = data.screenshots;
- var sKeys = Object.keys(screenshots);
- for (var s in sKeys) {
- var screenshot = sKeys[s];
-
- if (count % 2 === 0) {
- $(".screenshots").append("<div class=\"subshots col-xs-12\"></div>");
- }
-
- $(".screenshots .subshots:last-child").append("<div class=\"col-xs-6\"><img class=\"img-responsive\" src=\"/images/" + screenshot + "\" title=\"" + screenshots[screenshot] + "\"></div>");
- count += 1;
- }
-
- $(".changelog-link").attr("href", "changelog?p=" + dPackage);
- $(".screenshots-link").attr("href", "screenshots?p=" + dPackage);
-
- var links = data.links;
- var lKeys = Object.keys(links);
- for (var l in lKeys) {
- var link = lKeys[l];
- var wrap = $("<a href=\"" + links[link] + "\" target=\"_blank\"><li class=\"list-group-item\"></li></a>");
- wrap.find(".list-group-item").append($.parseHTML(link));
- $(".package-buttons .list-group").append(wrap);
- }
- })
- .fail(function() {
- $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Repository Error");
- return;
- });
-
- function getParameterByName(name) {
- name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
- var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
- results = regex.exec(location.search);
- return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
- }
- });
- </script>
-</body>
-</html> \ No newline at end of file
diff --git a/depictions/packages/com.fivepixels.mariomaps.json b/depictions/packages/com.fivepixels.mariomaps.json
deleted file mode 100644
index bc7bfbf..0000000
--- a/depictions/packages/com.fivepixels.mariomaps.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "MarioMaps (for Google Maps)",
- "package": "com.fivepixels.mariomaps",
- "author": "FivePixels",
- "version": "1.1",
- "description": "",
- "changelog": {
- "1.1": [
- "Initial Release"
- ],
- "1.1": [
- "Fixed Cydia stuff."
- ]
- },
- "screenshots": {
- },
- "links": {
- "<span class=\"glyphicon glyphicon-heart\"></span> My Twitter": "https://twitter.com/itsjake88"
- }
-} \ No newline at end of file
diff --git a/depictions/screenshots/index.html b/depictions/screenshots/index.html
deleted file mode 100755
index ccb9f3b..0000000
--- a/depictions/screenshots/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>Cydia Tweak</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="/CydiaIcon.png">
-
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
-
- <style>
- body {
- background-color: #efeff4;
- }
- h1, h2 {
- margin-left: 7px;
- }
- .panel, .alert {
- border-radius: 0 !important;
- }
- .package-error {
- display: none;
- }
- .subshots {
- text-align: center;
- }
- .subshots:nth-child(1) {
- margin-bottom: 10px;
- }
- .screenshots img {
- border: thin solid #BEB6D8;
- }
- </style>
-</head>
-<body>
- <div class="container">
- <div class="package row">
- <div class="header">
- <h1 class="package-name"></h1>
- </div>
- </div>
-
- <div class="row alert alert-danger package-error"></div>
-
- <div class="package-info row screenshots">
- <h2>Screenshots</h2>
- </div>
-
- </div>
- <script>
- $(document).ready(function() {
- var dPackage = getParameterByName("p");
-
- if (!dPackage) {
- $(".package-error").text("This package doesn't seem to exist!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Not Found");
- return;
- }
-
- $.getJSON("/packages/" + dPackage + ".json", function(data) {
- document.title = data.name + " by " + data.author;
- $(".package-name").text(data.name);
-
- var count = 0;
- var screenshots = data.screenshots;
- var sKeys = Object.keys(screenshots);
- for (var s in sKeys) {
- var screenshot = sKeys[s];
-
- if (count % 2 === 0) {
- $(".screenshots").append("<div class=\"subshots col-xs-12\"></div>");
- }
-
- $(".screenshots .subshots:last-child").append("<div class=\"col-xs-6\"><img class=\"img-responsive\" src=\"/images/" + screenshot + "\" title=\"" + screenshots[screenshot] + "\"></div>");
- count += 1;
- }
-
- })
- .fail(function() {
- $(".package-error").text("An error occurred while retrieving package info!").css("display", "block");
- $(".package-info").css("display", "none");
- $(".package-name").text("Repository Error");
- return;
- });
-
- function getParameterByName(name) {
- name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
- var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
- results = regex.exec(location.search);
- return results === null ? null : decodeURIComponent(results[1].replace(/\+/g, " "));
- }
- });
- </script>
-</body>
-</html> \ No newline at end of file