aboutsummaryrefslogtreecommitdiff
path: root/cydia
diff options
context:
space:
mode:
authorFivePixels <o5pxels@gmail.com>2018-03-22 21:34:21 -0500
committerFivePixels <o5pxels@gmail.com>2018-03-22 21:34:21 -0500
commit3e6ff3146bbbee7567664e13912c87e77ebd590f (patch)
tree2c718bca2f633c32de5ee38bf88a055752ca98d1 /cydia
parentbeabeaf52fcd537c61f994c140de5e710e902e27 (diff)
downloadpersonal-website-3e6ff3146bbbee7567664e13912c87e77ebd590f.tar.xz
personal-website-3e6ff3146bbbee7567664e13912c87e77ebd590f.zip
fixed some shiz
Diffstat (limited to 'cydia')
-rwxr-xr-xcydia/CNAME1
-rwxr-xr-xcydia/README.md2
-rw-r--r--cydia/README.txt1
-rwxr-xr-xcydia/css/index.css4
-rwxr-xr-xcydia/depictions/index.html2
-rwxr-xr-xcydia/index.html194
6 files changed, 196 insertions, 8 deletions
diff --git a/cydia/CNAME b/cydia/CNAME
deleted file mode 100755
index 89280d8..0000000
--- a/cydia/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-cydia.jakes.site \ No newline at end of file
diff --git a/cydia/README.md b/cydia/README.md
index d21f5fa..4287ca8 100755
--- a/cydia/README.md
+++ b/cydia/README.md
@@ -1 +1 @@
-# Cydia Repo: cydia.jakes.site \ No newline at end of file
+# \ No newline at end of file
diff --git a/cydia/README.txt b/cydia/README.txt
deleted file mode 100644
index b920295..0000000
--- a/cydia/README.txt
+++ /dev/null
@@ -1 +0,0 @@
-yo \ No newline at end of file
diff --git a/cydia/css/index.css b/cydia/css/index.css
deleted file mode 100755
index 15394e3..0000000
--- a/cydia/css/index.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.repo-icon {
- float: left;
- vertical-align: middle;
-} \ No newline at end of file
diff --git a/cydia/depictions/index.html b/cydia/depictions/index.html
index 07b41d1..161e88a 100755
--- a/cydia/depictions/index.html
+++ b/cydia/depictions/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <title>Cydia Tweak</title>
+ <title>FivePixels Cydia Repository</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/repo/CydiaIcon.png">
diff --git a/cydia/index.html b/cydia/index.html
new file mode 100755
index 0000000..07b41d1
--- /dev/null
+++ b/cydia/index.html
@@ -0,0 +1,194 @@
+<!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="/repo/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.4/jquery.min.js"></script>
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-70692932-1', 'auto');
+ ga('send', 'pageview');
+
+ </script>
+ <script type="text/javascript">
+var infolinks_pid = 2861232;
+var infolinks_wsid = 1;
+</script>
+<script type="text/javascript" src="//resources.infolinks.com/js/infolinks_main.js"></script>
+ <style>
+ body {background-color: #efeff4;}
+ a:link, a:visited, a:hover {text-decoration: none;}
+ h1, h2, .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;}
+ .package-error {display: none;}
+ .screenshots {display: none;}
+ .fullchangelog {display: none;}
+ .latest-version {vertical-align: right;}
+ </style>
+ </head>
+ <body>
+ <div class="container">
+
+ <div class="row alert alert-danger package-error"></div>
+
+ <div class="panel row panel-default">
+ <div class="panel-heading">
+ <h1 class="package-name"></h1>
+ <small class="package-author"></small>
+ </div>
+ </div>
+
+ <div class="package-info">
+
+ <div class="row panel panel-default">
+ <div class="panel-heading">
+ <span class="glyphicon glyphicon-align-left"></span> Description
+ </div>
+ <p class="panel-body package-desc"></p>
+ </div>
+
+ <div class="row panel panel-default">
+ <div class="panel-heading">
+ <span class="glyphicon glyphicon-pencil"></span> Recent Changes
+ <div class="label label-info badge-label latest-version"></div>
+ </div>
+ <div class="panel-body changelog-list"></div>
+ </div>
+
+ <div class="row panel panel-default">
+ <div class="panel-heading screenshots-header">
+ <span class="glyphicon glyphicon-picture"></span> Screenshots
+ <small><span class="glyphicon glyphicon-triangle-bottom"></span></small>
+ </div>
+ <div class="panel-body row screenshots"></div>
+ </div>
+
+ <div class="row panel panel-default">
+ <div class="panel-heading fullchangelog-header">
+ <span class="glyphicon glyphicon-tasks"></span> Full Changelog
+ <small><span class="glyphicon glyphicon-triangle-bottom"></span></small>
+ </div>
+ <div class="package-info package-versions fullchangelog"></div>
+ </div>
+
+ </div>
+
+ <div class="row package-buttons">
+ <ul class="list-group"></ul>
+ </div>
+
+ <div class="row repo-buttons">
+ <ul class="list-group">
+ <li class="list-group-item">
+ <a href="https://github.com/Jake0oo0/boomerang" target="_blank">
+ <span class="glyphicon glyphicon-wrench"></span> Boomerang Repository
+ </a>
+ </li>
+ </ul>
+ </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);
+ $(".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>")
+ }
+
+ $(".screenshots-header").click(function() {
+ $(".screenshots").slideToggle(function() {
+ });
+ });
+ 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=\"screenshots/" + dPackage + "/" + screenshot + "\" title=\"" + screenshots[screenshot] + "\"><p>" + screenshots[screenshot] + "</p><br></div>");
+ count += 1;
+ }
+
+ $(".fullchangelog-header").click(function() {
+ $(".fullchangelog").slideToggle(function() {
+ });
+ });
+ 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-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-info badge-label latest-version\">Current</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);
+ }
+
+ 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>