~electric/shop-oregon-local

3cebeff497d3f7fd2a451c28eba3584357d11ed3 — Micah D a month ago ded7262
Add static stuff.. probably shouldnt commit all this
M priv/static/cache_manifest.json => priv/static/cache_manifest.json +1 -1
@@ 1,1 1,1 @@
{"digests":{"css/app-244843a971e9c983eda2cc56329c1e97.css":{"digest":"244843a971e9c983eda2cc56329c1e97","logical_path":"css/app.css","mtime":63773023263,"sha512":"M+CHLDTccjWWrJdkOoV1ivwt34pdVQAj6O48HjJ5u/M99OZlDHLNWF1TGrl/swHcd8w1DnD7pCxBCa8feKLtTQ==","size":442},"css/app-80052a7a1e1653fc030661da2a9e6736.css":{"digest":"80052a7a1e1653fc030661da2a9e6736","logical_path":"css/app.css","mtime":63773021066,"sha512":"Tqdm0E1lAF5P+2OyNdxumX4JQb1EEisCsNGLVwzSqJKM2TdRB+PKaAvrHasPT8jfTlwVQPysA6mGRolpvPIkTg==","size":338},"css/phoenix-4823d573c5211475f0b4ae7fb60fae44.css":{"digest":"4823d573c5211475f0b4ae7fb60fae44","logical_path":"css/phoenix.css","mtime":63773023263,"sha512":"jpL4vWnR82bXNVfU7GjEnrciCkhOr30Bf/SsO6Ue3XoRB0wGXQuIkwRIOH7vv8eTgrP+ye3LkwmVD7GqR0vZDA==","size":10311},"css/phoenix-8bcf532a95d93aaac707ac3516562ec0.css":{"digest":"8bcf532a95d93aaac707ac3516562ec0","logical_path":"css/phoenix.css","mtime":63773021066,"sha512":"cXJRAeKYTkBMfOXDbCc2nqUFTS4aGlIYPEsSfeeqPpqoRm5Y5zlkyyg2T98FqChyuGQ6/IJ8jsBo9K7zp72NUA==","size":10310},"favicon-a8ca4e3a2bb8fea46a9ee9e102e7d3eb.ico":{"digest":"a8ca4e3a2bb8fea46a9ee9e102e7d3eb","logical_path":"favicon.ico","mtime":63773023263,"sha512":"vCKvNNXeSP/2RRr6IN8PVa8/Hl6ImUO7miAOIMABYwbCzlm0UTRsY30uYb1k5gcCOPIsv6nZuFlJj/h8z+InzQ==","size":1258},"images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png":{"digest":"5bd99a0d17dd41bc9d9bf6840abcc089","logical_path":"images/phoenix.png","mtime":63773023263,"sha512":"93pY5dBa8nHHi0Zfj75O/vXCBXb+UvEVCyU7Yd3pzOJ7o1wkYBWbvs3pVXhBChEmo8MDANT11vsggo2+bnYqoQ==","size":13900},"js/app-930d47abb622e60e0f5dd8947f545a09.js":{"digest":"930d47abb622e60e0f5dd8947f545a09","logical_path":"js/app.js","mtime":63773023263,"sha512":"Mpal+3Iiek/WeOtz/S3cre8GBd2JkJ0+vmUaMKSnTScpCG6NFPDDFOeYdNd5UDXAGr+G7BiZbbAEml3uI2oR2g==","size":173},"js/phoenix-f51d4fb8f908870059ad389314255e43.js":{"digest":"f51d4fb8f908870059ad389314255e43","logical_path":"js/phoenix.js","mtime":63773023263,"sha512":"B6i55tG1T4YD9q9EDIcIyfwZwZqHvjOmgb2QTfmasjXBYusyq1uJrK7c5EDMInMdwHwEmufmVfz6A7f3DxblAg==","size":23445},"robots-067185ba27a5d9139b10a759679045bf.txt":{"digest":"067185ba27a5d9139b10a759679045bf","logical_path":"robots.txt","mtime":63773023263,"sha512":"8FA6TZeCo3hFYcQ+9knbh3TrhkqGzYJx/uD5yRvggwM7gwfBPrPGqqrbVTZjnnnvlsw1zs1WJTPYez1zr/U4ug==","size":202}},"latest":{"css/app.css":"css/app-244843a971e9c983eda2cc56329c1e97.css","css/phoenix.css":"css/phoenix-4823d573c5211475f0b4ae7fb60fae44.css","favicon.ico":"favicon-a8ca4e3a2bb8fea46a9ee9e102e7d3eb.ico","images/phoenix.png":"images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png","js/app.js":"js/app-930d47abb622e60e0f5dd8947f545a09.js","js/phoenix.js":"js/phoenix-f51d4fb8f908870059ad389314255e43.js","robots.txt":"robots-067185ba27a5d9139b10a759679045bf.txt"},"version":1}
\ No newline at end of file
{"digests":{"css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css":{"digest":"a5350cf0c89c350b1f727a9d5a29dc9e","logical_path":"css/app.css","mtime":63773721130,"sha512":"xCgbmtZIQWklkTjggENARmWI72nuo7OfAHjX/ceVWULHEhCmuM0leNWQHCZL3QXqxLNzMzyIiarTvqPiVMTe6w==","size":1077},"css/phoenix-4823d573c5211475f0b4ae7fb60fae44.css":{"digest":"4823d573c5211475f0b4ae7fb60fae44","logical_path":"css/phoenix.css","mtime":63773721130,"sha512":"jpL4vWnR82bXNVfU7GjEnrciCkhOr30Bf/SsO6Ue3XoRB0wGXQuIkwRIOH7vv8eTgrP+ye3LkwmVD7GqR0vZDA==","size":10311},"css/phoenix-8bcf532a95d93aaac707ac3516562ec0.css":{"digest":"8bcf532a95d93aaac707ac3516562ec0","logical_path":"css/phoenix.css","mtime":63773021066,"sha512":"cXJRAeKYTkBMfOXDbCc2nqUFTS4aGlIYPEsSfeeqPpqoRm5Y5zlkyyg2T98FqChyuGQ6/IJ8jsBo9K7zp72NUA==","size":10310},"favicon-a8ca4e3a2bb8fea46a9ee9e102e7d3eb.ico":{"digest":"a8ca4e3a2bb8fea46a9ee9e102e7d3eb","logical_path":"favicon.ico","mtime":63773721130,"sha512":"vCKvNNXeSP/2RRr6IN8PVa8/Hl6ImUO7miAOIMABYwbCzlm0UTRsY30uYb1k5gcCOPIsv6nZuFlJj/h8z+InzQ==","size":1258},"images/favicon-50028d66766cf8342f723425abbb1e5f.png":{"digest":"50028d66766cf8342f723425abbb1e5f","logical_path":"images/favicon.png","mtime":63773721130,"sha512":"n2/+7zQ1EJmnY805XZf0VYyfijh8tH4ED+kuPaQaJI11EVWM1LXFOZog+uvLrOJolVh/OX7+eqVRRKM+z6drfw==","size":4145},"images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg":{"digest":"91065b6fb13a072ab1f7b04fa9bba462","logical_path":"images/logo.svg","mtime":63773721130,"sha512":"3BntqC/tbDsH/ey+Epg6d1gchEw3BEJdj64gskpsfUpBwwvrNAk0dGOA7w88zV2+IIYlM/UyvaSuCUcwQDZRaQ==","size":1627},"images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg":{"digest":"9ac93986f6c815cf7c5a0a43f7387c9b","logical_path":"images/logo_master.svg","mtime":63773721130,"sha512":"H7CIFfke9e3x/tOPTWAP7fJgXGhy+uYiNPBFb2BV74njp+i07bX/P+oKX7FhZ4ECWim+V+9a+nycqwNs1YDfpg==","size":2463},"images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png":{"digest":"5bd99a0d17dd41bc9d9bf6840abcc089","logical_path":"images/phoenix.png","mtime":63773721130,"sha512":"93pY5dBa8nHHi0Zfj75O/vXCBXb+UvEVCyU7Yd3pzOJ7o1wkYBWbvs3pVXhBChEmo8MDANT11vsggo2+bnYqoQ==","size":13900},"js/app-8f839749ed9493c47aeb402bd00e5b7a.js":{"digest":"8f839749ed9493c47aeb402bd00e5b7a","logical_path":"js/app.js","mtime":63773721130,"sha512":"dCUoTkTvHoWSVlOh8timMzWsyjLSZ5xRL8vN4L2G4DYJzVO6aB57dAiYo8vCXcMWV5/CME1/Ptqr8rKj6jK1kQ==","size":1996},"js/app-930d47abb622e60e0f5dd8947f545a09.js":{"digest":"930d47abb622e60e0f5dd8947f545a09","logical_path":"js/app.js","mtime":63773023263,"sha512":"Mpal+3Iiek/WeOtz/S3cre8GBd2JkJ0+vmUaMKSnTScpCG6NFPDDFOeYdNd5UDXAGr+G7BiZbbAEml3uI2oR2g==","size":173},"js/phoenix-f51d4fb8f908870059ad389314255e43.js":{"digest":"f51d4fb8f908870059ad389314255e43","logical_path":"js/phoenix.js","mtime":63773721130,"sha512":"B6i55tG1T4YD9q9EDIcIyfwZwZqHvjOmgb2QTfmasjXBYusyq1uJrK7c5EDMInMdwHwEmufmVfz6A7f3DxblAg==","size":23445},"robots-067185ba27a5d9139b10a759679045bf.txt":{"digest":"067185ba27a5d9139b10a759679045bf","logical_path":"robots.txt","mtime":63773721130,"sha512":"8FA6TZeCo3hFYcQ+9knbh3TrhkqGzYJx/uD5yRvggwM7gwfBPrPGqqrbVTZjnnnvlsw1zs1WJTPYez1zr/U4ug==","size":202}},"latest":{"css/app.css":"css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css","css/phoenix.css":"css/phoenix-4823d573c5211475f0b4ae7fb60fae44.css","favicon.ico":"favicon-a8ca4e3a2bb8fea46a9ee9e102e7d3eb.ico","images/favicon.png":"images/favicon-50028d66766cf8342f723425abbb1e5f.png","images/logo.svg":"images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg","images/logo_master.svg":"images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg","images/phoenix.png":"images/phoenix-5bd99a0d17dd41bc9d9bf6840abcc089.png","js/app.js":"js/app-8f839749ed9493c47aeb402bd00e5b7a.js","js/phoenix.js":"js/phoenix-f51d4fb8f908870059ad389314255e43.js","robots.txt":"robots-067185ba27a5d9139b10a759679045bf.txt"},"version":1}
\ No newline at end of file

A priv/static/css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css => priv/static/css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css +72 -0
@@ 0,0 1,72 @@
/* This file is for your main application css. */
@import "./phoenix.css";

form {
    margin:0;
}

.logo {
    height: 30px;
    margin-bottom: -5px;
}

.toggle {
    text-align: left;
}
.toggle > * {
    font-size: .8em;
    cursor: pointer;
    text-decoration: underline;
    display: none;
}
.toggle > *[selected] {
    display: block;
}

.search-options {
    text-align: left;
    display: none; /* flex */
    flex-wrap: wrap;
    padding: 2rem 0;
}
.search-options > div {
    margin-right: 10%;
    min-width: 150px;
}
.search-options > div:last-child {
    margin-right: 0;
}
.label-group {
    display: inline-block;
}
.search-options input {
}
.search-options label {
    display: inline-block;
    margin-right: 2rem;
}

.results {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.results li p {
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-content {
    display: flex;
}

.product-image-container {
    width: 100px;
    flex-shrink: 0;
    padding-right: 10px;
}
.product-image {
    width: 100%;
}

A priv/static/css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css.gz => priv/static/css/app-a5350cf0c89c350b1f727a9d5a29dc9e.css.gz +0 -0
M priv/static/css/app.css.gz => priv/static/css/app.css.gz +0 -0
A priv/static/images/favicon-50028d66766cf8342f723425abbb1e5f.png => priv/static/images/favicon-50028d66766cf8342f723425abbb1e5f.png +0 -0
A priv/static/images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg => priv/static/images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg +58 -0
@@ 0,0 1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   width="260mm"
   height="260mm"
   viewBox="0 0 260 260"
   version="1.1"
   id="svg8">
  <defs
     id="defs2" />
  <metadata
     id="metadata5">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     id="layer1"
     transform="translate(15.821847,-31.103306)">
    <g
       id="g874"
       transform="translate(9.1781511,12.31494)">
      <rect
         style="opacity:1;fill:#2ca02c;stroke-width:0.554132"
         id="rect833"
         width="55.505802"
         height="57.598068"
         x="106.29404"
         y="-51.357731"
         transform="matrix(0.6682145,0.74396867,-0.68389987,0.72957588,0,0)" />
      <rect
         style="opacity:1;fill:#165016;stroke-width:1.12192"
         id="rect833-6"
         width="94.421265"
         height="96.215981"
         x="128.99394"
         y="-17.093042"
         transform="matrix(0.72628515,0.68739354,-0.74076423,0.67176511,0,0)" />
      <rect
         style="opacity:1;fill:#784421;stroke-width:0.481026"
         id="rect865"
         width="37.071194"
         height="91.396973"
         x="86.464401"
         y="164.56969" />
    </g>
  </g>
</svg>

A priv/static/images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg.gz => priv/static/images/logo-91065b6fb13a072ab1f7b04fa9bba462.svg.gz +0 -0
A priv/static/images/logo.svg.gz => priv/static/images/logo.svg.gz +0 -0
A priv/static/images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg => priv/static/images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg +83 -0
@@ 0,0 1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="260mm"
   height="260mm"
   viewBox="0 0 260 260"
   version="1.1"
   id="svg8"
   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
   sodipodi:docname="logo_master.svg">
  <defs
     id="defs2" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.35"
     inkscape:cx="459.79911"
     inkscape:cy="442.4442"
     inkscape:document-units="mm"
     inkscape:current-layer="layer1"
     inkscape:document-rotation="0"
     showgrid="false"
     inkscape:window-width="1920"
     inkscape:window-height="1016"
     inkscape:window-x="0"
     inkscape:window-y="0"
     inkscape:window-maximized="1" />
  <metadata
     id="metadata5">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(15.821847,-31.103306)">
    <g
       id="g874"
       transform="translate(9.1781511,12.31494)">
      <rect
         style="opacity:1;fill:#2ca02c;stroke-width:0.554132"
         id="rect833"
         width="55.505802"
         height="57.598068"
         x="106.29404"
         y="-51.357731"
         transform="matrix(0.6682145,0.74396867,-0.68389987,0.72957588,0,0)" />
      <rect
         style="opacity:1;fill:#165016;stroke-width:1.12192"
         id="rect833-6"
         width="94.421265"
         height="96.215981"
         x="128.99394"
         y="-17.093042"
         transform="matrix(0.72628515,0.68739354,-0.74076423,0.67176511,0,0)" />
      <rect
         style="opacity:1;fill:#784421;stroke-width:0.481026"
         id="rect865"
         width="37.071194"
         height="91.396973"
         x="86.464401"
         y="164.56969" />
    </g>
  </g>
</svg>

A priv/static/images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg.gz => priv/static/images/logo_master-9ac93986f6c815cf7c5a0a43f7387c9b.svg.gz +0 -0
A priv/static/images/logo_master.svg.gz => priv/static/images/logo_master.svg.gz +0 -0
A priv/static/js/app-8f839749ed9493c47aeb402bd00e5b7a.js => priv/static/js/app-8f839749ed9493c47aeb402bd00e5b7a.js +64 -0
@@ 0,0 1,64 @@
// for phoenix_html support, including form and button helpers
// copy the following scripts into your javascript bundle:
// * deps/phoenix_html/priv/static/phoenix_html.js

window.addEventListener('load', function() {
  addToggles();
  fixForms();
});

function fixForms() {
  var forms = document.querySelectorAll('form.optional-checkboxes');
  forms.forEach(function (form) {
    var checkboxes = [].slice.call(
      form.querySelectorAll('input[type="checkbox"], checkbox')
    ).map(function(t) {
      var hidden = form.querySelector('input[type="hidden"][name="' + t.name + '"]');
      return { element: t, hidden };
    });

    form.addEventListener('submit', function(e) {
      checkboxes.forEach(function(checkbox) {
        if (!checkbox.element.checked) { return; }
        checkbox.element.disabled = true;
        checkbox.element.setAttribute('disabled', true);
        if (checkbox.hidden) {
          checkbox.hidden.disabled = true;
          checkbox.hidden.setAttribute('disabled', true);
        }
      });
    });
  })
}

function addToggles() {
  var toggles = document.querySelectorAll('.toggle');
  for(var i = 0; i < toggles.length; i++) {
    var toggle = toggles[i];
    var status = true;
    var selected = toggle.querySelector('*[selected]');
    var notSelected = toggle.querySelector('*:not([selected])');

    var toggleFor;
    try {
      toggleFor = document.querySelector(toggle.getAttribute('toggle-for'));
    } catch {}

    toggle.addEventListener('click', function(e) {
      if (status) {
        notSelected.setAttribute('selected', true);
        selected.removeAttribute('selected');
        if (toggleFor) {
          toggleFor.style.display = toggleFor.getAttribute('display-type') || 'block';
        }
      } else {
        selected.setAttribute('selected', true);
        notSelected.removeAttribute('selected');
        if (toggleFor) {
          toggleFor.style.display = 'none';
        }
      }
      status = !status;
    });
  }
}

A priv/static/js/app-8f839749ed9493c47aeb402bd00e5b7a.js.gz => priv/static/js/app-8f839749ed9493c47aeb402bd00e5b7a.js.gz +0 -0
M priv/static/js/app.js.gz => priv/static/js/app.js.gz +0 -0