aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Carlson <ace@ibook-debian>2017-04-03 15:11:27 -0400
committerAndy Carlson <ace@ibook-debian>2017-04-03 15:11:27 -0400
commit3b76bd31ad2104a9c000b4a6fca6056dcaaa5ab7 (patch)
tree7cf138f30ffc8deacd2c536caf643b70fd1706e2
parent83d363eae4b2af9e8a66b42c400e77f351daa548 (diff)
removed old files
-rw-r--r--templates/gist.html~22
-rw-r--r--templates/root.html~206
-rw-r--r--templates/user.html~28
3 files changed, 0 insertions, 256 deletions
diff --git a/templates/gist.html~ b/templates/gist.html~
deleted file mode 100644
index ef6b055..0000000
--- a/templates/gist.html~
+++ /dev/null
@@ -1,22 +0,0 @@
-<script type="text/javascript">
- $(document).ready(function() {
- $("#returntouser").change(function() {
- $("#progressbar").show();
- var gistuser = "{{gistuser}}";
- var olduserreq = $.ajax({
- url: "/getgistlist/",
- method: "POST",
- data: { gituserfield: gistuser}
- }).done(function(data){
- $("#progressbar").hide();
- $("#pagetarget").html(data);
- });
- });
- });
-</script>
-<input type="button" value="Return to list" id="returntouser" />
-<pre style="line-height:.7em">
-{% for thisline in gisttext %}
-{{ thisline }}
-{% endfor %}
-</pre>
diff --git a/templates/root.html~ b/templates/root.html~
deleted file mode 100644
index fd487b7..0000000
--- a/templates/root.html~
+++ /dev/null
@@ -1,206 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
-<head>
- <title>gist-client root</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <script type="text/javascript" src="assets/js/jquery-3.1.1.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $("#gituserselect").change(function() {
- if ($("#gituserselect").val() != "NONE") {
- $("#progressbar").show();
- var gistuser = $("#gituserselect").val();
- $("#gituserselect").val("NONE");
- var olduserreq = $.ajax({
- url: "/getgistlist/",
- method: "POST",
- data: { gituserfield: gistuser}
- }).done(function(data){
- $("#progressbar").hide();
- $("#pagetarget").html(data);
- $("#gituserselect").val("NONE");
- });
- }
- });
-
- $("#viewnewuser").click(function() {
- if ($("#gituserfield").val() != "") {
- $("#progressbar").show();
- var newuserreq = $.ajax({
- url: "/getgistlist/",
- method: "POST",
- data: { gituserfield: $("#gituserfield").val()}
- }).done(function(data){
- $("#progressbar").hide();
- $("#pagetarget").html(data);
- });
- } else {
- alert("Type username or select form dropdown");
- }
- });
-
- $("#viewgistlist").change(function() {
- if ($("#viewgistlist").val() != "NONE") {
- alert("You selected " + $(this).val());
- $("#progressbar").show();
- var viewgistreq = $.ajax({
- url: "/viewgist/",
- method: "POST",
- data: { gistname: $("#viewgistlist").val(), gistuser: $("#currentgistuser").val() }
- }).done(function(data) {
- $("#progressbar").hide();
- $("#pagetarget").html(data);
- });
- }
- });
- });
- </script>
- <style>
- div.container {
- border-radius: 25px;
- width: 90%;
- border: 1px solid gray;
- margin: auto;
- }
-
- div header {
- border-top-left-radius: 25px;
- border-top-right-radius: 25px;
- }
-
- div footer {
- border-bottom-left-radius: 25px;
- border-bottom-right-radius: 25px;
- }
-
- div header, div footer {
- padding: 1em;
- color: white;
- background-color: #666666;
- clear: left;
- text-align: center;
- }
-
- footer a {
- color: white;
- text-decoration: none;
- }
-
- footer span {
- display: inline-block;
- width: 20px;
- }
-
- footer p {
- font-size: 10pt;
- }
-
- belowpage {
- padding-top: 30px;
- display: flex;
- margin:auto;
- width: 300px;
- }
-
- belowpage div {
- text-align: center;
- width: 100px;
- }
-
- belowpage div a {
- text-decoration: none;
- color: #000000;
- }
-
- belowpage div.left {
- float: left;
- }
-
- belowpage div.right {
- float: right;
- }
-
- nav {
- text-align:center;
- }
-
- nav ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- overflow: hidden;
- background-color: #666666;
- }
-
- nav ul li {
- float:left;
- }
-
- nav ul li a {
- display: block;
- color: white;
- text-align: center;
- padding: 14px 16px;
- text-decoration: none;
- }
-
- nav ul li a:hover {
- background-color: #999999;
- }
-
- nav ul a {
- color: #000000;
- text-decoration: none;
- }
-
- nav ul a:hover {
- color: #ffffff;
- }
-
- content {
- float: left;
- left: 190px;
- border-left: 0px solid gray;
- padding: 1em;
- overflow: hidden;
- width:95%;
- }
-
- iframe {
- border-width: 0px;
- }
-
- section div.image-right {
- float: right;
- }
-
- section div.image-left {
- float: left;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <header>
- <h1 id="pageheader">Gist Client</h1>
- </header>
- <nav>
- <input type="text" id="gituserfield" /><input type="button" value="View Gists" id="viewnewuser" />
- <span style="width:50px;"></span>
- <select id="gituserselect">
- <option value="NONE">Select User</option>
- {% for thisuser in recentlist %}
- <option value="{{ thisuser }}">{{ thisuser}}</option>
- {% endfor %}
- </select>
- </nav>
- <content>
- <article>
- <img src="/assets/img/progress.gif" id="progressbar" style="display:none;" />
- <div id="pagetarget"></div>
- </article>
- </content>
- <footer><div style="text-align:center;">Created by <a href="http://bng44270.github.io">bng44270</a></div></footer>
- </div>
- </body>
-</html>
diff --git a/templates/user.html~ b/templates/user.html~
deleted file mode 100644
index d0278b3..0000000
--- a/templates/user.html~
+++ /dev/null
@@ -1,28 +0,0 @@
-<script type="text/javascript">
- $(document).ready(function() {
- $("#viewgistlist").change(function() {
- if ($("#viewgistlist").val() != "NONE") {
- alert("You selected " + $(this).val());
- $("#progressbar").show();
- var viewgistreq = $.ajax({
- url: "/viewgist/",
- method: "POST",
- data: { gistname: $("#viewgistlist").val(), gistuser: $("#currentgistuser").val() }
- }).done(function(data) {
- $("#progressbar").hide();
- $("#pagetarget").html(data);
- });
- }
- });
- });
-</script>
-<input type="hidden" value="{{ gituser }}" id="currentgistuser"/>
-
-<div style="text-align:center;">
-<select id="viewgistlist">
-<option value="NONE">Select Gist to View</option>
-{% for thisgist in gistlist %}
-<option value="{{ thisgist }}">{{ thisgist }}</option>
-{% endfor %}
-</select>
-</div>