Created
January 21, 2020 12:06
-
-
Save Chitrank-Dixit/5dcb823ba8810ac61026b28e3f43dca2 to your computer and use it in GitHub Desktop.
response html for ygpartner edit partner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html>\n | |
<html lang="en"> | |
\n | |
<head> | |
\n | |
<meta charset="UTF-8"> | |
\n | |
<title>\n YGPartner - \n </title> | |
\n <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>\n | |
</head> | |
\n | |
<body> | |
\n \n | |
<div class="menu">\n <a href="/admin" id="home"> Partners </a>\n <a href="/admin/change-date" id="change-date"> Partner list change date </a>\n <a href="/admin/logout" id="logout">Logout test_user</a>\n </div> | |
\n \n \n | |
<form action="/admin" method="post" enctype="multipart/form-data" class=""> | |
\n | |
<div> | |
\n | |
<div id="logo"></div> | |
\n \n | |
<div class="create"><button name="create_new">Create New Partner</button></div> | |
\n \n\n \n | |
<h1>YGPartner</h1> | |
\n \n\n \n\n \n | |
<div> | |
\n | |
<div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 1 - Plan.net updated\n\n | |
<div class="right buttons">\n\n <a href="/admin?edit=1" class="edit"><img src="/static/pencil.png"/></a>\n \n\n </div> | |
\n\n | |
<div class="right">\n <small>\n \n client in production\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n \n <span class="label partner-type">Brandindex RLD</span>\n \n </div> | |
\n \n\n \n | |
<div class="inline campaigns">\n Campaigns:\n <span class="label campaigns">1</span>\n\n </div> | |
\n \n\n \n | |
<div class="sites inline">\n Mapping Sites:\n \n <span class="label mapping-site">yougov.de</span>\n \n </div> | |
\n \n\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 22:53\n </div> | |
\n \n\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:24\n </div> | |
\n \n \n | |
<div class="inline meta">\n Updated by: test_user\n </div> | |
\n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 2 - Adform\n\n | |
<div class="right buttons"> | |
\n\n <a href="/admin?edit=2" class="edit"><img src="/static/pencil.png"/></a>\n \n | |
<button name="2" id="partner_2" class="delete_confirm"\n onclick="return confirm(\'Are you sure you want to delete this?\');"> | |
\n | |
<div id="cross"></div> | |
\n | |
</button> | |
\n \n\n | |
</div> | |
\n\n | |
<div class="right">\n <small>\n \n draft\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n | |
<div class="sites inline">\n Mapping Sites:\n \n <span class="label mapping-site">yougov.co.uk</span>\n \n </div> | |
\n \n\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 22:53\n </div> | |
\n \n\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:23\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 3 - YG Tracker\n\n | |
<div class="right buttons"> | |
\n\n <a href="/admin?edit=3" class="edit"><img src="/static/pencil.png"/></a>\n \n | |
<button name="3" id="partner_3" class="delete_confirm"\n onclick="return confirm(\'Are you sure you want to delete this?\');"> | |
\n | |
<div id="cross"></div> | |
\n | |
</button> | |
\n \n\n | |
</div> | |
\n\n | |
<div class="right">\n <small>\n \n draft\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 22:53\n </div> | |
\n \n\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:23\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 5 - Test P0 2\n\n | |
<div class="right buttons">\n\n <a href="/admin?edit=5" class="edit"><img src="/static/pencil.png"/></a>\n \n\n </div> | |
\n\n | |
<div class="right">\n <small>\n \n client in production\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n\n \n | |
<div class="notes">\n notes 0\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 17:23\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created by: 2020-01-21 11:53:18.838531\n </div> | |
\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:23\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 6 - Test P1 1\n\n | |
<div class="right buttons">\n\n <a href="/admin?edit=6" class="edit"><img src="/static/pencil.png"/></a>\n \n\n </div> | |
\n\n | |
<div class="right">\n <small>\n \n internal\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n\n \n | |
<div class="notes">\n notes 1\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 17:23\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created by: 2020-01-21 11:53:18.83855\n </div> | |
\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:23\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 7 - Test P1 2\n\n | |
<div class="right buttons">\n\n <a href="/admin?edit=7" class="edit"><img src="/static/pencil.png"/></a>\n \n\n </div> | |
\n\n | |
<div class="right">\n <small>\n \n internal\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n\n \n | |
<div class="notes">\n notes 1\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 17:23\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created by: 2020-01-21 11:53:18.838565\n </div> | |
\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:23\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 8 - DoubleClicker\n\n | |
<div class="right buttons"> | |
\n\n <a href="/admin?edit=8" class="edit"><img src="/static/pencil.png"/></a>\n \n | |
<button name="8" id="partner_8" class="delete_confirm"\n onclick="return confirm(\'Are you sure you want to delete this?\');"> | |
\n | |
<div id="cross"></div> | |
\n | |
</button> | |
\n \n\n | |
</div> | |
\n\n | |
<div class="right">\n <small>\n \n draft\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n \n <span class="label partner-type">Brandindex RLD</span>\n \n </div> | |
\n \n\n \n\n \n\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 17:24\n </div> | |
\n \n\n \n | |
<div class="inline meta">\n Created by: test_user\n </div> | |
\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:24\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
<div class="partner-row"> | |
\n | |
<h2> | |
\n 14 - Universal Music\n\n | |
<div class="right buttons"> | |
\n\n <a href="/admin?edit=14" class="edit"><img src="/static/pencil.png"/></a>\n \n | |
<button name="14" id="partner_14" class="delete_confirm"\n onclick="return confirm(\'Are you sure you want to delete this?\');"> | |
\n | |
<div id="cross"></div> | |
\n | |
</button> | |
\n \n\n | |
</div> | |
\n\n | |
<div class="right">\n <small>\n \n draft\n \n </small>\n </div> | |
\n | |
</h2> | |
\n | |
<div class="partner-details"> | |
\n | |
<div class="inline types">\n Project type:\n \n <span class="label partner-type">Not set</span>\n \n \n </div> | |
\n \n\n \n\n \n\n \n\n \n | |
<div class="inline meta">\n Created at: 2020-01-21 17:24\n </div> | |
\n \n\n \n \n | |
<div class="inline meta">\n Updated at: 2020-01-21 17:24\n </div> | |
\n \n \n </td>\n\n | |
</div> | |
\n | |
</div> | |
\n \n | |
</div> | |
\n | |
</div> | |
\n\n | |
<style>\n h2 {\n font-size: 1em;\n font-weight: normal;\n text-align: left;\n margin: -5px -5px 5px -5px;\n padding: 10px !important;\n background-color: #efefef;\n }\n\n .right {\n display: inline-block;\n float: right;\n }\n\n .partner-row {\n border: 1px solid #eee;\n padding: 5px;\n margin: 5px;\n }\n\n .partner-row > h2 {\n border-bottom: 1px solid #efefef;\n }\n\n .partner-details {\n font-size: 0.9em;\n padding: 5px;\n text-align: left;\n line-height: 1.5em;\n }\n\n .partner-row:hover {\n background-color: #fafafa\n }\n\n .inline {\n display: inline-block;\n }\n\n .inline.meta {\n font-size: 0.8em;\n }\n\n .label {\n background-color: #777;\n color: white;\n padding: 2px 4px;\n font-size: 0.8em;\n border-radius: 2px;\n }\n\n .partner-details > .inline {\n border: 1px dotted #ddd;\n padding: 2px 5px;\n }\n\n .partner-details > .inline:hover {\n background-color: #ddd;\n }\n\n .right.buttons {\n margin: -5px 5px;\n }\n</style> | |
\n \n \n \n | |
</div> | |
\n | |
</form> | |
\n\n | |
<style>\n .menu {\n height: 2em;\n line-height: 2em;\n text-align: center;\n margin:0 0 10px;\n }\n .menu a {\n color: #0c2d72;\n text-decoration: none;\n font: bold 14px Arial, Helvetica, sans-serif;\n display:inline-block;\n padding:0 20px;\n border:1px solid #efefef;\n margin:0 5px;\n line-height:2em;\n }\n .menu a:hover{\n color: #ee3224;\n }\n select[readonly]{\n background: #eee;\n cursor:no-drop;\n }\n select[readonly] option{\n display:none;\n }\n \n body{\n background-color: #f3f3f3;\n text-align: center;\n font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n }\n .left-align{\n text-align: left;\n }\n td.partnername{\n width: 10%;\n }\n form{\n margin:0 50px;\n position: relative;\n width: auto;\n text-align: center;\n background-color: white;\n border: 2px solid #ededed;\n }\n form label{\n display: block;\n text-align: left;\n }\n form > div{\n padding: 20px;\n }\n form > div > div{\n margin: 10px 0\n }\n input, select{\n line-height: 1.5em;\n }\n h1{\n font-weight: normal;\n font-size: 1.5em;\n margin: 0;\n margin-bottom: 20px;\n }\n\n #logo{\n -ms-transform: rotate(270deg);\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n display: block;\n transition:all 0.5s ease;\n padding: 5px 15px 5px 150px;\n background-position: center center;\n background-repeat: no-repeat;\n background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22141%22%20height%3D%2230%22%20viewBox%3D%220%200%20141%2030%22%3E%3Cpath%20fill%3D%22%23C8C8C8%22%20d%3D%22M83.1%2018.8h6.8v3.7c-.9.7-2%201.3-3.2%201.8-1.3.5-2.5.7-3.7.7-2.5%200-4.5-.9-6.1-2.6-1.5-1.7-2.3-4.3-2.3-7.7%200-3.2.8-5.6%202.3-7.2C78.4%205.8%2080.5%205%2083%205c1.7%200%203.1.4%204.3%201.2%201.1.8%201.9%201.9%202.3%203.4l5.9-1.1c-.6-2.7-1.9-4.8-3.9-6.3C89.5.8%2086.7%200%2083%200c-2.8%200-5.1.5-7%201.4-2.5%201.3-4.3%203.1-5.6%205.4-1.3%202.3-1.9%205-1.9%208.1%200%202.8.6%205.4%201.7%207.7%201.1%202.4%202.8%204.2%205.1%205.5%202.3%201.3%204.9%201.9%208%201.9%202.4%200%204.8-.5%207.1-1.4%202.3-.9%204.1-1.9%205.4-3.1V14H83.1v4.8zM108.8%208c-2.1%200-3.9.5-5.6%201.4-1.7.9-3%202.2-3.9%204-.9%201.7-1.4%203.5-1.4%205.4%200%202.4.5%204.5%201.4%206.1.9%201.7%202.3%203%204%203.8%201.8.9%203.6%201.3%205.5%201.3%203.1%200%205.7-1%207.8-3.1%202.1-2.1%203.1-4.7%203.1-7.9s-1-5.8-3.1-7.8C114.6%209%20112%208%20108.8%208zm3.7%2015.8c-1%201.1-2.2%201.7-3.7%201.7s-2.7-.6-3.7-1.7-1.5-2.7-1.5-4.8c0-2.1.5-3.7%201.5-4.8%201-1.1%202.2-1.7%203.7-1.7s2.7.6%203.7%201.7%201.5%202.7%201.5%204.7c0%202.2-.5%203.8-1.5%204.9zm22.3-15.3l-4%2010.7-.6%201.8-.6%201.8-1.2-3.6-4-10.7h-5.9l8.5%2021h5l8.4-21h-5.6z%22%2F%3E%3Cpath%20fill%3D%22%23EF2D27%22%20d%3D%22M16.6%2029.5V17.3L27.3.5h-6.8L13.8%2012%206.9.5H0l10.7%2016.8v12.2h5.9zM23.3%2024.8c.9%201.7%202.3%203%204%203.8%201.8.9%203.6%201.3%205.5%201.3%203.1%200%205.7-1%207.8-3.1%202.1-2.1%203.1-4.7%203.1-7.9s-1-5.8-3.1-7.8C38.7%209%2036.1%208%2032.9%208c-2.1%200-3.9.5-5.6%201.4-1.7.9-3%202.2-3.9%204-.9%201.7-1.4%203.5-1.4%205.4%200%202.3.4%204.4%201.3%206zm5.9-10.6c1-1.1%202.2-1.7%203.7-1.7s2.7.6%203.7%201.7%201.5%202.7%201.5%204.7c0%202.1-.5%203.7-1.5%204.8-1%201.1-2.2%201.7-3.7%201.7s-2.7-.6-3.7-1.7-1.5-2.7-1.5-4.8c0-2%20.5-3.6%201.5-4.7zM65.3%2029.5v-21h-5.6v8.9c0%203-.1%204.9-.4%205.7-.3.8-.8%201.4-1.6%201.9s-1.6.8-2.6.8c-.8%200-1.5-.2-2.1-.6-.5-.4-.9-.9-1.1-1.6-.2-.7-.3-2.5-.3-5.4V8.5H46v13.3c0%202%20.3%203.5.8%204.7.5%201.1%201.3%202%202.4%202.6%201.1.6%202.4.9%203.8.9s2.7-.3%204-1c1.3-.6%202.3-1.5%203-2.7v3.1h5.3z%22%2F%3E%3C%2Fsvg%3E%0A");\n height: 30px;\n line-height: 30px;\n position: absolute;\n margin-left: -120px;\n margin-top: 40px;\n }\n .create{\n position: absolute;\n }\n .error{\n color: red;\n }\n #cross{\n width: 20px;\n height: 20px;\n background: linear-gradient(to bottom, transparent 35%, #d00 35%, #d00 65%, transparent 65%),\n linear-gradient(to right, transparent 35%, #d00 35%, #d00 65%, transparent 65%);\n -ms-transform: rotate(45deg);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n td.status{\n min-width: 140px;\n }\n .edit{\n -webkit-appearance: button;\n -moz-appearance: button;\n appearance: button;\n text-decoration: none;\n color: initial;\n padding: 1px 6px;\n }\n #new_partner_submit {\n position: absolute;\n right: 10px;\n bottom: 10px;\n }\n\n table > tr {\n padding: 1px 6px;\n }\n tr > td {\n padding: 2px 6px;\n text-align: center;\n }\n td > ul > li {\n padding: 0px 0px 5px;\n text-align: left;\n }\n li.hidden_domains {\n display: none;\n }\n #tr:nth-child(even) {\n # background-color: #f2f2f2;\n #}\n .action_col {\n width: 10%;\n }\n .half-width {\n width: 50%;\n }\n .edit-partner {\n padding: 10px 10px;\n }\n\n /* Tooltip container */\n .tooltip {\n position: relative;\n display: inline-block;\n float: right;\n }\n\n /* Tooltip text */\n .tooltip .tooltiptext {\n visibility: hidden;\n width: 120px;\n background-color: #555;\n color: #fff;\n text-align: center;\n padding: 5px 0;\n border-radius: 6px;\n\n /* Position the tooltip text */\n position: absolute;\n z-index: 1;\n bottom: 125%;\n left: 50%;\n margin-left: -60px;\n\n /* Fade in tooltip */\n opacity: 0;\n transition: opacity 0.3s;\n }\n\n /* Tooltip arrow */\n .tooltip .tooltiptext::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: #555 transparent transparent transparent;\n }\n\n /* Show the tooltip text when you mouse over the tooltip container */\n .tooltip:hover .tooltiptext {\n visibility: visible;\n opacity: 1;\n }\n\n .icon {\n height: 16px;\n width: 16px;\n }\n\n .edit_form, .new_form {\n width: 600px;\n }\n\n\n\n </style> | |
\n\n <script type="text/javascript">\n \n $(\'#new_partner_name\').keyup(function() {\n $(\'#new_partner_submit\').attr(\'disabled\', !$(\'#new_partner_name\').val());\n });\n $(document).ready(function () {\n $(".show_more").on("click", function (e) {\n e.stopPropagation();\n if($(\'.\' + $(this)[0].id + \'_hidden_domains\').is(\':visible\')) {\n $(\'.\' + $(this)[0].id + \'_hidden_domains\').hide();\n $(this).text("Show More");\n }\n else {\n $(\'.\' + $(this)[0].id + \'_hidden_domains\').show();\n $(this).text("Show Less");\n }\n });\n $(".add_country").on("click", function(e) {\n e.stopPropagation();\n obj = $(\'<input type="text" name="country_name" class="country-name" placeholder="Country for the partner" autofocus /> <br />\');\n obj.insertBefore(".add_country");\n obj.focus();\n\n\n });\n });\n\n\n\n </script>\n | |
</body> | |
\n | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment