связь с pinegrow

main
parent 92cb89e9e4
commit 29a704eb60

4
.gitignore vendored

@ -21,4 +21,6 @@
go.work
*.exe
pinegrow*
_pgbackup/
_pginfo/

@ -5,7 +5,8 @@
- 23-07-2023 Первый коммит
- 24-07-2023 v0.0.3 (рабочая). План - добавить еще один пакет.
- 25-07-2023 v0.0.5 (борюсь с 0.0.3)
- 29-07-2023 v0.0.5 Сделел миграцию на Gitea
- 29-07-2023 v0.0.5 Сделал миграцию на Gitea
- 04-08-2023 Добавил проверку на USERNAMEDB/PASSWORDDB
Перенес на github. На Gitea почему-то не захотела работать. (

@ -1,5 +1,5 @@
<html>
<body>
<h1>Hello!</h1>
<h1>Привет!</h1>
</body>
</html>

@ -0,0 +1,163 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Design of the Week Template 6 - Pinegrow Web Editor</title>
<link href="tailwind_theme/tailwind.css" rel="stylesheet" type="text/css">
<script>/* Pinegrow Interactions, do not remove */ (function(){try{if(!document.documentElement.hasAttribute('data-pg-ia-disabled')) { window.pgia_small_mq=typeof pgia_small_mq=='string'?pgia_small_mq:'(max-width:767px)';window.pgia_large_mq=typeof pgia_large_mq=='string'?pgia_large_mq:'(min-width:768px)';var style = document.createElement('style');var pgcss='html:not(.pg-ia-no-preview) [data-pg-ia-hide=""] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show=""] {opacity:1;visibility:visible;display:block;}';if(document.documentElement.hasAttribute('data-pg-id') && document.documentElement.hasAttribute('data-pg-mobile')) {pgia_small_mq='(min-width:0)';pgia_large_mq='(min-width:99999px)'} pgcss+='@media ' + pgia_small_mq + '{ html:not(.pg-ia-no-preview) [data-pg-ia-hide="mobile"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show="mobile"] {opacity:1;visibility:visible;display:block;}}';pgcss+='@media ' + pgia_large_mq + '{html:not(.pg-ia-no-preview) [data-pg-ia-hide="desktop"] {opacity:0;visibility:hidden;}html:not(.pg-ia-no-preview) [data-pg-ia-show="desktop"] {opacity:1;visibility:visible;display:block;}}';style.innerHTML=pgcss;document.querySelector('head').appendChild(style);}}catch(e){console&&console.log(e);}})()</script>
</head>
<body class="text-gray-500">
<header>
<div class="container mx-auto relative">
<nav class="flex flex-wrap items-center p-4"> <a href="#" class="font-bold font-serif hover:text-opacity-75 inline-flex items-center leading-none mr-auto text-secondary-500 text-xl uppercase"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="2em" xml:space="preserve" fill="currentColor" viewBox="0 0 24 24" height="2em" class="mr-2 text-primary-500">
<path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-14.243L7.757 12 12 16.243 16.243 12 12 7.757z"></path>
</svg><span><p>TAD</p></span> </a>
<button class="hover:bg-white hover:text-secondary-500 lg:hidden px-3 py-2 rounded text-secondary-500" data-name="nav-toggler" data-pg-ia='{"l":[{"name":"NabMenuToggler","trg":"click","a":{"l":[{"t":"^nav|[data-name=nav-menu]","l":[{"t":"set","p":0,"d":0,"l":{"class.remove":"hidden"}}]},{"t":"#gt# span:nth-of-type(1)","l":[{"t":"tween","p":0,"d":0.2,"l":{"rotationZ":45,"yPercent":300}}]},{"t":"#gt# span:nth-of-type(2)","l":[{"t":"tween","p":0,"d":0.2,"l":{"autoAlpha":0}}]},{"t":"#gt# span:nth-of-type(3)","l":[{"t":"tween","p":0,"d":0.2,"l":{"rotationZ":-45,"yPercent":-300}}]}]},"pdef":"true","trev":"true"}]}' data-pg-ia-apply="$nav [data-name=nav-toggler]"> <span class="block border-b-2 border-current my-1 w-6"></span> <span class="block border-b-2 border-current my-1 w-6"></span> <span class="block border-b-2 border-current my-1 w-6"></span>
</button>
<div class="lg:flex lg:space-x-4 lg:space-y-0 lg:w-auto space-y-2 w-full hidden lg:items-center" data-name="nav-menu">
<div class="flex flex-col lg:flex-row"> <a href="#" class="hover:text-opacity-75 lg:px-6 lg:py-4 py-2 text-black">Сервера</a><a href="#" class="hover:text-opacity-75 lg:px-6 lg:py-4 py-2 text-black">Сервисы</a><a href="#" class="hover:text-opacity-75 lg:px-6 lg:py-4 py-2 text-black">Программы</a>
</div><a href="#" class="bg-primary-500 hover:bg-primary-700 inline-block px-6 py-2 rounded text-white">Особые</a>
</div>
</nav>
</div>
</header>
<main>
<section class="bg-secondary-500 text-white">
<div class="container mx-auto pb-24 pt-24 px-4 relative">
<div class="-mx-4 flex flex-wrap items-center space-y-6 lg:space-y-0">
<div class="px-4 w-full lg:w-6/12">
<h1 class="font-bold lg:text-7xl mb-4 sm:text-6xl text-5xl">Список</h1>
<p class="mb-6 text-opacity-50 text-white text-xl sm:pr-12">Здесь предполагается список серверов</p>
<p class="mb-6 text-opacity-50 text-white text-xl sm:pr-12"></p><a href="#" class="bg-primary-500 hover:bg-primary-700 inline-block px-6 py-2 rounded text-white">Открыть</a>
</div>
<div class="px-4 w-full lg:w-6/12">
<div class="poster relative" style="height: 50vh;"></div>
</div>
</div>
</div>
</section>
<svg viewBox="0 0 100 100" preserveAspectRatio="none" fill="currentColor" version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="160" class="bg-secondary-500 text-white">
<path d="M 100 100 V 20 L 0 100"/>
<path d="M 100 100 V 0 L 0 100" opacity="0.5"/>
</svg>
<div class="mx-auto py-4 w-9/12 lg:w-4/12">
<hr>
</div>
<section class="bg-secondary-500 font-light py-8 text-gray-500">
<div class="container mx-auto px-4 relative">
<div class="mb-6 text-center">
<h2 class="font-medium mb-1 text-primary-500">Blog</h2>
<h3 class="font-bold font-serif mb-4 text-4xl text-white">Статус</h3>
</div>
<div class="flex flex-wrap -mx-4 justify-center">
<div class="p-4 w-full md:w-6/12 lg:w-4/12">
<div class="bg-primary-500 flex flex-col h-full p-4 rounded shadow-lg"><a href="#" class="block hover:opacity-75"><img src="https://images.unsplash.com/photo-1508672019048-805c876b67e2?ixid=MXwyMDkyMnwwfDF8c2VhcmNofDJ8fHRyYXZlbHxlbnwwfHx8&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=700&h=480&fit=crop" class="w-full" alt="..." width="350" height="240"/></a>
<div class="p-4">
<h4 class="font-semibold leading-tight mb-2 text-gray-300 text-xs">Ноут</h4><a href="#" class="block hover:text-gray-300 text-white"><h3 class="font-bold leading-tight text-xl">itman-nb</h3><h3 class="font-bold leading-tight text-xl"></h3><h3 class="font-bold leading-tight text-gray-300 text-xl">192.168.0.111</h3></a>
</div>
</div>
</div>
<div class="p-4 w-full md:w-6/12 lg:w-4/12">
<div class="bg-primary-500 flex flex-col h-full p-4 rounded shadow-lg"><a href="#" class="block hover:opacity-75"><img src="https://images.unsplash.com/photo-1499363536502-87642509e31b?ixid=MXwyMDkyMnwwfDF8c2VhcmNofDE2fHx0cmF2ZWx8ZW58MHx8fA&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=700&h=480&fit=crop" class="w-full" alt="..." width="350" height="240"/></a>
<div class="p-4">
<h4 class="font-semibold leading-tight mb-2 text-gray-300 text-xs">Стационарный</h4>
<a href="#" class="block hover:text-gray-300 text-white"><h3 class="font-bold leading-tight text-xl">itman-pc</h3><h3 class="font-bold leading-tight text-xl">192.168.0.112</h3><p></p></a>
</div>
</div>
</div>
<div class="p-4 w-full md:w-6/12 lg:w-4/12">
<div class="bg-primary-500 flex flex-col h-full p-4 rounded shadow-lg"><a href="#" class="block hover:opacity-75"><img src="https://images.unsplash.com/photo-1471506480208-91b3a4cc78be?ixid=MXwyMDkyMnwwfDF8c2VhcmNofDUyfHx0cmF2ZWx8ZW58MHx8fA&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=700&h=480&fit=crop" class="w-full" alt="..." width="350" height="240"/></a>
<div class="p-4">
<h4 class="font-semibold leading-tight mb-2 text-gray-300 text-xs">Сервер</h4><a href="#" class="block hover:text-gray-300 text-white"><h3 class="font-bold leading-tight text-xl">xigmanas</h3><h3 class="font-bold leading-tight text-xl">192.168.0.105</h3><h3 class="font-bold leading-tight text-xl"></h3></a>
</div>
</div>
</div>
</div>
</div>
</section>
<svg viewBox="0 0 100 100" preserveAspectRatio="none" fill="currentColor" version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="160" class="bg-secondary-500 text-black">
<path d="M 100 100 V 20 L 0 100"/>
<path d="M 100 100 V 0 L 0 100" opacity="0.5"/>
</svg>
</main>
<footer class="bg-black pt-12 text-gray-300">
<div class="container mx-auto px-4 relative">
<div class="flex flex-wrap -mx-4">
<div class="w-full p-4 xl:w-4/12"> <a href="#" class="font-bold font-serif hover:text-opacity-75 inline-flex items-center leading-none mb-6 text-3xl text-primary-500 uppercase"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="2.5em" xml:space="preserve" fill="currentColor" viewBox="0 0 24 24" height="2.5em" class="mr-2">
<path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-14.243L7.757 12 12 16.243 16.243 12 12 7.757z"></path>
</svg> <span class="text-white"><p>TAD</p></span> </a>
<p class="mb-4 text-sm"> Duis pharetra venenatis felis, ut tincidunt ipsum consequat nec. Fusce et porttitor libero, eu aliquam nisi. Nam finibus ullamcorper semper. </p>
<div class="mb-6"> <a href="#" class="hover:text-primary-600">+1 234 567-890</a> <br> <a href="#" class="hover:text-primary-600">hello@fantico.com</a>
</div>
</div>
<div class="p-4 w-full sm:w-6/12 md:w-4/12 xl:w-2/12">
<h2 class="font-bold mb-8 text-lg text-primary-500 uppercase"> About </h2>
<ul>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Get Quote</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Business Deal</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Privacy Policy</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Terms of Service</a>
</li>
</ul>
</div>
<div class="p-4 w-full sm:w-6/12 md:w-4/12 xl:w-2/12">
<h2 class="font-bold mb-8 text-lg text-primary-500 uppercase"> Services </h2>
<ul>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Custom Cakes</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Special Cakes</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Birthday Cakes</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Wedding Cakes</a>
</li>
<li class="mb-4"> <a href="#" class="hover:text-primary-600">Graduation Cakes</a>
</li>
</ul>
</div>
<div class="p-4 w-full md:w-4/12 xl:w-4/12">
<h2 class="font-bold mb-8 text-lg text-primary-500 uppercase">Subscribe</h2>
<p class="mb-4"> Subscribe to our newsletter and get exclusive updates directly in your inbox. </p>
<form>
<div class="bg-white border-2 border-gray-400 flex items-center mb-6 overflow-hidden p-1">
<input class="appearance-none border-primary-600 flex-1 font-light outline-none p-2 text-gray-600 w-full" placeholder="Enter email..." type="email"/>
<button type="submit" class="bg-primary-500 font-medium hover:bg-primary-700 inline-block px-6 py-2 text-center text-white uppercase" aria-label="submit">
<svg viewBox="0 0 24 24" fill="currentColor" class="h-4 inline-block w-4">
<path d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z"/>
</svg>
</button>
</div>
</form>
<h2 class="font-bold mb-4 text-lg text-primary-500 uppercase">Get Social</h2>
<div class="flex-wrap inline-flex space-x-3"> <a href="#" aria-label="facebook" class="hover:text-primary-500"> <svg viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5">
<path d="M14 13.5h2.5l1-4H14v-2c0-1.03 0-2 2-2h1.5V2.14c-.326-.043-1.557-.14-2.857-.14C11.928 2 10 3.657 10 6.7v2.8H7v4h3V22h4v-8.5z"/>
</svg></a> <a href="#" aria-label="twitter" class="hover:text-primary-500"> <svg viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5">
<path d="M22.162 5.656a8.384 8.384 0 0 1-2.402.658A4.196 4.196 0 0 0 21.6 4c-.82.488-1.719.83-2.656 1.015a4.182 4.182 0 0 0-7.126 3.814 11.874 11.874 0 0 1-8.62-4.37 4.168 4.168 0 0 0-.566 2.103c0 1.45.738 2.731 1.86 3.481a4.168 4.168 0 0 1-1.894-.523v.052a4.185 4.185 0 0 0 3.355 4.101 4.21 4.21 0 0 1-1.89.072A4.185 4.185 0 0 0 7.97 16.65a8.394 8.394 0 0 1-6.191 1.732 11.83 11.83 0 0 0 6.41 1.88c7.693 0 11.9-6.373 11.9-11.9 0-.18-.005-.362-.013-.54a8.496 8.496 0 0 0 2.087-2.165z"/>
</svg></a> <a href="#" aria-label="instagram" class="hover:text-primary-500"> <svg viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5">
<path d="M12 2c2.717 0 3.056.01 4.122.06 1.065.05 1.79.217 2.428.465.66.254 1.216.598 1.772 1.153a4.908 4.908 0 0 1 1.153 1.772c.247.637.415 1.363.465 2.428.047 1.066.06 1.405.06 4.122 0 2.717-.01 3.056-.06 4.122-.05 1.065-.218 1.79-.465 2.428a4.883 4.883 0 0 1-1.153 1.772 4.915 4.915 0 0 1-1.772 1.153c-.637.247-1.363.415-2.428.465-1.066.047-1.405.06-4.122.06-2.717 0-3.056-.01-4.122-.06-1.065-.05-1.79-.218-2.428-.465a4.89 4.89 0 0 1-1.772-1.153 4.904 4.904 0 0 1-1.153-1.772c-.248-.637-.415-1.363-.465-2.428C2.013 15.056 2 14.717 2 12c0-2.717.01-3.056.06-4.122.05-1.066.217-1.79.465-2.428a4.88 4.88 0 0 1 1.153-1.772A4.897 4.897 0 0 1 5.45 2.525c.638-.248 1.362-.415 2.428-.465C8.944 2.013 9.283 2 12 2zm0 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6.5-.25a1.25 1.25 0 0 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"/>
</svg></a><a href="#" aria-label="linkedin" class="hover:text-primary-500"> <svg viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5">
<path d="M6.94 5a2 2 0 1 1-4-.002 2 2 0 0 1 4 .002zM7 8.48H3V21h4V8.48zm6.32 0H9.34V21h3.94v-6.57c0-3.66 4.77-4 4.77 0V21H22v-7.93c0-6.17-7.06-5.94-8.72-2.91l.04-1.68z"/>
</svg></a><a href="#" aria-label="youtube" class="hover:text-primary-500"> <svg viewBox="0 0 24 24" fill="currentColor" class="h-5 w-5">
<path d="M21.543 6.498C22 8.28 22 12 22 12s0 3.72-.457 5.502c-.254.985-.997 1.76-1.938 2.022C17.896 20 12 20 12 20s-5.893 0-7.605-.476c-.945-.266-1.687-1.04-1.938-2.022C2 15.72 2 12 2 12s0-3.72.457-5.502c.254-.985.997-1.76 1.938-2.022C6.107 4 12 4 12 4s5.896 0 7.605.476c.945.266 1.687 1.04 1.938 2.022zM10 15.5l6-3.5-6-3.5v7z"/>
</svg></a>
</div>
</div>
</div>
<div class="py-4">
<hr class="mb-4 opacity-25">
<div class="flex flex-wrap -mx-4 items-center">
<div class="px-4 py-2 w-full md:flex-1">
<p>&copy; 2002 - 2021. All Rights Reserved - Company Name</p>
</div>
<div class="px-4 py-2 w-full sm:w-auto"> <a href="#" class="hover:text-primary-500">Privacy Policy</a> | <a href="#" class="hover:text-primary-500">Terms of Use</a>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>

@ -0,0 +1,44 @@
<project>
<documents></documents>
<dmdesigns>
<dmdesign>
<dmdesignskill skill="tw.colors" harmony="">
<dmcolor key="gray" color="rgba(107,114,128,1)" shade-50="rgba(249,250,251,1)" shade-100="rgba(243,244,246,1)" shade-200="rgba(229,231,235,1)" shade-300="rgba(209,213,219,1)" shade-400="rgba(156,163,175,1)" shade-500="rgba(107,114,128,1)" shade-600="rgba(75,85,99,1)" shade-700="rgba(55,65,81,1)" shade-800="rgba(31,41,55,1)" shade-900="rgba(17,24,39,1)"/>
<dmcolor key="red" color="rgba(239,68,68,1)" shade-50="rgba(254,242,242,1)" shade-100="rgba(254,226,226,1)" shade-200="rgba(254,202,202,1)" shade-300="rgba(252,165,165,1)" shade-400="rgba(248,113,113,1)" shade-500="rgba(239,68,68,1)" shade-600="rgba(220,38,38,1)" shade-700="rgba(185,28,28,1)" shade-800="rgba(153,27,27,1)" shade-900="rgba(127,29,29,1)"/>
<dmcolor key="yellow" color="rgba(245,158,11,1)" shade-50="rgba(255,251,235,1)" shade-100="rgba(254,243,199,1)" shade-200="rgba(253,230,138,1)" shade-300="rgba(252,211,77,1)" shade-400="rgba(251,191,36,1)" shade-500="rgba(245,158,11,1)" shade-600="rgba(217,119,6,1)" shade-700="rgba(180,83,9,1)" shade-800="rgba(146,64,14,1)" shade-900="rgba(120,53,15,1)"/>
<dmcolor key="green" color="rgba(16,185,129,1)" shade-50="rgba(236,253,245,1)" shade-100="rgba(209,250,229,1)" shade-200="rgba(167,243,208,1)" shade-300="rgba(110,231,183,1)" shade-400="rgba(52,211,153,1)" shade-500="rgba(16,185,129,1)" shade-600="rgba(5,150,105,1)" shade-700="rgba(4,120,87,1)" shade-800="rgba(6,95,70,1)" shade-900="rgba(6,78,59,1)"/>
<dmcolor key="blue" color="rgba(59,130,246,1)" shade-50="rgba(239,246,255,1)" shade-100="rgba(219,234,254,1)" shade-200="rgba(191,219,254,1)" shade-300="rgba(147,197,253,1)" shade-400="rgba(96,165,250,1)" shade-500="rgba(59,130,246,1)" shade-600="rgba(37,99,235,1)" shade-700="rgba(29,78,216,1)" shade-800="rgba(30,64,175,1)" shade-900="rgba(30,58,138,1)"/>
<dmcolor key="indigo" color="rgba(99,102,241,1)" shade-50="rgba(238,242,255,1)" shade-100="rgba(224,231,255,1)" shade-200="rgba(199,210,254,1)" shade-300="rgba(165,180,252,1)" shade-400="rgba(129,140,248,1)" shade-500="rgba(99,102,241,1)" shade-600="rgba(79,70,229,1)" shade-700="rgba(67,56,202,1)" shade-800="rgba(55,48,163,1)" shade-900="rgba(49,46,129,1)"/>
<dmcolor key="purple" color="rgba(139,92,246,1)" shade-50="rgba(245,243,255,1)" shade-100="rgba(237,233,254,1)" shade-200="rgba(221,214,254,1)" shade-300="rgba(196,181,253,1)" shade-400="rgba(167,139,250,1)" shade-500="rgba(139,92,246,1)" shade-600="rgba(124,58,237,1)" shade-700="rgba(109,40,217,1)" shade-800="rgba(91,33,182,1)" shade-900="rgba(76,29,149,1)"/>
<dmcolor key="pink" color="rgba(236,72,153,1)" shade-50="rgba(253,242,248,1)" shade-100="rgba(252,231,243,1)" shade-200="rgba(251,207,232,1)" shade-300="rgba(249,168,212,1)" shade-400="rgba(244,114,182,1)" shade-500="rgba(236,72,153,1)" shade-600="rgba(219,39,119,1)" shade-700="rgba(190,24,93,1)" shade-800="rgba(157,23,77,1)" shade-900="rgba(131,24,67,1)"/>
<dmcolor key="primary" color="rgb(176,99,25)" shade-50="#f3e8dc" shade-100="#eaccb4" shade-200="#deb18d" shade-300="#d19667" shade-400="#c17c42" shade-500="rgb(176,99,25)" shade-600="#925216" shade-700="#744212" shade-800="#58320f" shade-900="#3e2309"/>
<dmcolor key="secondary" color="rgb(19,36,70)" shade-50="#dcdee3" shade-100="#b1b5c2" shade-200="#888da1" shade-300="#616881" shade-400="#3b4463" shade-500="rgb(19,36,70)" shade-600="#111f3a" shade-700="#10192e" shade-800="#0d1423" shade-900="#070d19"/>
<dmcolor key="color3" color="rgb(228,177,154)" shade-50="#fbf3f0" shade-100="#f7e6de" shade-200="#f3d8cd" shade-300="#eecbbc" shade-400="#e9beab" shade-500="rgb(228,177,154)" shade-600="#bd927f" shade-700="#967566" shade-800="#72594d" shade-900="#503e36"/>
<dmcolor key="color4" color="rgb(156,126,92)" shade-50="#f0ece7" shade-100="#e0d5c9" shade-200="#cfbead" shade-300="#bea891" shade-400="#ad9376" shade-500="rgb(156,126,92)" shade-600="#81684c" shade-700="#67533d" shade-800="#4e3f2e" shade-900="#372c20"/>
</dmdesignskill>
<dmdesignskill skill="fonts" family_2="Raleway" family_1="Fira Sans" h1_2="h1" h2_2="h2" h3_2="h3" h4_2="h4" h5_2="h5" h6_2="h6" h1_1 h2_1 h4_1 h3_1 h5_1 h6_1></dmdesignskill>
<dmdesignskill skill="background" image_for_colors image="https://images.unsplash.com/photo-1559526324-593bc073d938?ixid=MnwyMDkyMnwwfDF8c2VhcmNofDEwNnx8ZmluYW5jZXxlbnwwfHx8fDE2Mjg1Mzg2MDY&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=1200&fit=max" selector=".poster"></dmdesignskill>
<dmdesignskill skill="tailwind"></dmdesignskill>
</dmdesign>
<dmdesign active>
<dmdesignskill skill="tw.colors" harmony="">
<dmcolor key="gray" color="rgba(107,114,128,1)" shade-50="rgba(249,250,251,1)" shade-100="rgba(243,244,246,1)" shade-200="rgba(229,231,235,1)" shade-300="rgba(209,213,219,1)" shade-400="rgba(156,163,175,1)" shade-500="rgba(107,114,128,1)" shade-600="rgba(75,85,99,1)" shade-700="rgba(55,65,81,1)" shade-800="rgba(31,41,55,1)" shade-900="rgba(17,24,39,1)"/>
<dmcolor key="red" color="rgba(239,68,68,1)" shade-50="rgba(254,242,242,1)" shade-100="rgba(254,226,226,1)" shade-200="rgba(254,202,202,1)" shade-300="rgba(252,165,165,1)" shade-400="rgba(248,113,113,1)" shade-500="rgba(239,68,68,1)" shade-600="rgba(220,38,38,1)" shade-700="rgba(185,28,28,1)" shade-800="rgba(153,27,27,1)" shade-900="rgba(127,29,29,1)"/>
<dmcolor key="yellow" color="rgba(245,158,11,1)" shade-50="rgba(255,251,235,1)" shade-100="rgba(254,243,199,1)" shade-200="rgba(253,230,138,1)" shade-300="rgba(252,211,77,1)" shade-400="rgba(251,191,36,1)" shade-500="rgba(245,158,11,1)" shade-600="rgba(217,119,6,1)" shade-700="rgba(180,83,9,1)" shade-800="rgba(146,64,14,1)" shade-900="rgba(120,53,15,1)"/>
<dmcolor key="green" color="rgba(16,185,129,1)" shade-50="rgba(236,253,245,1)" shade-100="rgba(209,250,229,1)" shade-200="rgba(167,243,208,1)" shade-300="rgba(110,231,183,1)" shade-400="rgba(52,211,153,1)" shade-500="rgba(16,185,129,1)" shade-600="rgba(5,150,105,1)" shade-700="rgba(4,120,87,1)" shade-800="rgba(6,95,70,1)" shade-900="rgba(6,78,59,1)"/>
<dmcolor key="blue" color="rgba(59,130,246,1)" shade-50="rgba(239,246,255,1)" shade-100="rgba(219,234,254,1)" shade-200="rgba(191,219,254,1)" shade-300="rgba(147,197,253,1)" shade-400="rgba(96,165,250,1)" shade-500="rgba(59,130,246,1)" shade-600="rgba(37,99,235,1)" shade-700="rgba(29,78,216,1)" shade-800="rgba(30,64,175,1)" shade-900="rgba(30,58,138,1)"/>
<dmcolor key="indigo" color="rgba(99,102,241,1)" shade-50="rgba(238,242,255,1)" shade-100="rgba(224,231,255,1)" shade-200="rgba(199,210,254,1)" shade-300="rgba(165,180,252,1)" shade-400="rgba(129,140,248,1)" shade-500="rgba(99,102,241,1)" shade-600="rgba(79,70,229,1)" shade-700="rgba(67,56,202,1)" shade-800="rgba(55,48,163,1)" shade-900="rgba(49,46,129,1)"/>
<dmcolor key="purple" color="rgba(139,92,246,1)" shade-50="rgba(245,243,255,1)" shade-100="rgba(237,233,254,1)" shade-200="rgba(221,214,254,1)" shade-300="rgba(196,181,253,1)" shade-400="rgba(167,139,250,1)" shade-500="rgba(139,92,246,1)" shade-600="rgba(124,58,237,1)" shade-700="rgba(109,40,217,1)" shade-800="rgba(91,33,182,1)" shade-900="rgba(76,29,149,1)"/>
<dmcolor key="pink" color="rgba(236,72,153,1)" shade-50="rgba(253,242,248,1)" shade-100="rgba(252,231,243,1)" shade-200="rgba(251,207,232,1)" shade-300="rgba(249,168,212,1)" shade-400="rgba(244,114,182,1)" shade-500="rgba(236,72,153,1)" shade-600="rgba(219,39,119,1)" shade-700="rgba(190,24,93,1)" shade-800="rgba(157,23,77,1)" shade-900="rgba(131,24,67,1)"/>
<dmcolor key="primary" color="rgb(26,153,166)" shade-50="#ddf0f2" shade-100="#bcdee2" shade-200="#9ccdd3" shade-300="#79bbc4" shade-400="#53aab5" shade-500="rgb(26,153,166)" shade-600="#167f89" shade-700="#12656e" shade-800="#0e4d53" shade-900="#09363a"/>
<dmcolor key="secondary" color="rgb(32,18,121)" shade-50="#dedbeb" shade-100="#bab0d4" shade-200="#9786bd" shade-300="#745ea6" shade-400="#4e3890" shade-500="rgb(32,18,121)" shade-600="#1a1164" shade-700="#141050" shade-800="#0f0d3d" shade-900="#0b062a"/>
<dmcolor key="color3" color="rgb(244,228,252)" shade-50="#fdfbff" shade-100="#fcf6fe" shade-200="#faf2fe" shade-300="#f8edfd" shade-400="#f6e9fd" shade-500="rgb(244,228,252)" shade-600="#cabcd0" shade-700="#a196a6" shade-800="#7a727e" shade-900="#555058"/>
<dmcolor key="color4" color="rgb(112,122,137)" shade-50="#eaebed" shade-100="#d0d3d8" shade-200="#b7bcc4" shade-300="#9fa6b0" shade-400="#878f9c" shade-500="rgb(112,122,137)" shade-600="#5d6571" shade-700="#4a515b" shade-800="#383d45" shade-900="#272b30"/>
</dmdesignskill>
<dmdesignskill skill="fonts" family_2="Raleway" family_1="Fira Sans" h1_2="h1" h2_2="h2" h3_2="h3" h4_2="h4" h5_2="h5" h6_2="h6" h1_1 h2_1 h4_1 h3_1 h5_1 h6_1></dmdesignskill>
<dmdesignskill skill="background" image_for_colors image="https://images.unsplash.com/photo-1608222351212-18fe0ec7b13b?ixid=MnwyMDkyMnwwfDF8c2VhcmNofDEwN3x8ZmluYW5jZXxlbnwwfHx8fDE2Mjg2NDA1NTc&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=1200&fit=max" selector=".poster"></dmdesignskill>
<dmdesignskill skill="tailwind"></dmdesignskill>
</dmdesign>
</dmdesigns>
<dmlocked tw-colors-gray="true" tw-colors-red="true" tw-colors-yellow="true" tw-colors-green="true" tw-colors-blue="true" tw-colors-indigo="true" tw-colors-purple="true" tw-colors-pink="true" background-image="false" fonts-family_1="false" fonts-family_2="false"></dmlocked>
</project>

File diff suppressed because it is too large Load Diff

@ -29,6 +29,10 @@ func OpenDB(database string) *sqlx.DB {
// fmt.Printf("открываю БД nano-svelte\n")
username := os.Getenv("USERNAMEDB")
password := os.Getenv("PASSWORDDB")
if username == "" || password == "" {
fmt.Printf("Не установлены значения переменных: USERNAMEDB/PASSWORDDB")
os.Exit(0)
}
connstr := fmt.Sprintf("%s:%s@(xigmanas:3306)/%s", username, password, database)
db, err := sqlx.Open("mysql", connstr)
if err != nil {

Loading…
Cancel
Save