inKey']);
				window.location.href = "/bins/view/"+data['binKey'];
			}
			});
		}

		function addtoListBins(newBin) {
			// Loading
			var bins = JSON.parse(localStorage.getItem("bins") || "[]");
			// Modifying
			var bin = {
				binKey: newBin,
				createdTime: Date.now()
			};
			bins.push(bin);
			// Saving
			localStorage.setItem("bins", JSON.stringify(bins));
		}
    </script>
{% endblock %}

{% block content %}
<div class="p-4">
  <div class="bodybg rounded border-2 border-grey shadow container p-5"