conversations
listlengths
2
156
[ { "content": "Add legend to the map\n", "role": "system" }, { "content": "<ion-view title=\"Karte\">\n <ion-content class=\"has-header padding\" style=\"position:relative; height:500px\">\n <div id=\"map\" style=\"width:100%; height:100%\"></div>\n </ion-content>\n</ion-view>\n", "role": "user" }, { "content": "<ion-view title=\"Karte\">\n <ion-content class=\"has-header padding\" style=\"position:relative; height:500px\">\n <div class=\"item padding\" style=\"text-align: center\">\n <img src=\"img/markers/birke.gif\"> Birke\n <img src=\"img/markers/erle.gif\"> Erle\n <img src=\"img/markers/esche.gif\"> Esche\n <img src=\"img/markers/hasel.gif\"> Hasel\n </div>\n <div class=\"item\" style=\"height: 100%\">\n <div id=\"map\" style=\"width: 100%; height: 100%\"></div>\n </div>\n </ion-content>\n</ion-view>\n", "role": "assistant" } ]
[ { "content": "Disable line wrapping in table.\n", "role": "system" }, { "content": "{% extends \"template.html\" %}\n\n{% block body %}\n\n <h1>SWEETer-Cat</h1>\n\n <p>Bringing <a href=\"https://www.astro.up.pt/resources/sweet-cat/\">SWEET-Cat</a> to new sweets!</p>\n\n\n <table class=\"table table-hover table-responsive\">\n <thead>\n <tr>\n <th>Star</th>\n {% for column in columns %}\n <th>{{ column }}</th>\n {% endfor %}\n </tr>\n </thead>\n <tbody>\n {% for row in rows %}\n <tr>\n <th scope=\"row\">{{ row['Star'] }}</th>\n {% for column in columns %}\n <td>{{row[column]}}</td>\n {% endfor %}\n </tr>\n {% endfor %}\n </tbody>\n </table>\n\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"template.html\" %}\n\n{% block body %}\n\n <h1>SWEETer-Cat</h1>\n\n <p>Bringing <a href=\"https://www.astro.up.pt/resources/sweet-cat/\">SWEET-Cat</a> to new sweets!</p>\n\n\n <table class=\"table table-hover table-responsive\">\n <thead>\n <tr>\n <th>Star</th>\n {% for column in columns %}\n <th>{{ column }}</th>\n {% endfor %}\n </tr>\n </thead>\n <tbody>\n {% for row in rows %}\n <tr>\n <th scope=\"row\" style=\"white-space:nowrap;\">{{ row['Star'] }}</th>\n {% for column in columns %}\n <td style=\"white-space:nowrap;\">{{row[column]}}</td>\n {% endfor %}\n </tr>\n {% endfor %}\n </tbody>\n </table>\n\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Add error message to payment amount page\n", "role": "system" }, { "content": "{% extends \"layout.html\" %}\n\n{% block page_title %}\n Enter the amount you want to pay\n{% endblock %}\n\n{% block content %}\n\n<main id=\"content\" role=\"main\">\n <div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n\n <h1 class=\"heading-large\">\n Enter the amount you want to pay\n </h1>\n\n <form action=\"card-payment\">\n <div class=\"currency-input form-group\">\n <label class=\"form-label-bold\" for=\"payment-amount\">\n Payment amount\n <span class=\"visually-hidden\">in &pound;</span>\n </label>\n <div class=\"currency-input__inner\">\n <span class=\"currency-input__inner__unit\">&pound;</span>\n <input class=\"form-control\" aria-label=\"Enter amount in pounds\" name=\"payment-amount\" data-non-numeric type=\"text\" id=\"payment-amount\" value=\"{{protoPaymentAmount}}\" autofocus data-validate=\"required currency\">\n </div>\n </div>\n <button type=\"submit\" class=\"button\">\n Proceed to payment\n </button>\n </div>\n </form>\n\n </div>\n </div>\n</main>\n\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"layout.html\" %}\n\n{% block page_title %}\n Enter the amount you want to pay\n{% endblock %}\n\n{% block content %}\n\n<main id=\"content\" role=\"main\">\n <div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n\n <h1 class=\"heading-large\">\n Enter the amount you want to pay\n </h1>\n\n <form action=\"card-payment\">\n \n <fieldset data-required data-error=\"Write your payment reference number on your form\">\n \n <div class=\"heading-small error-legend\"></div>\n\n <div class=\"currency-input form-group\">\n <label class=\"form-label-bold\" for=\"payment-amount\">\n Payment amount\n <span class=\"visually-hidden\">in &pound;</span>\n </label>\n <div class=\"currency-input__inner\">\n <span class=\"currency-input__inner__unit\">&pound;</span>\n <input class=\"form-control\" aria-label=\"Enter amount in pounds\" name=\"payment-amount\" data-non-numeric type=\"text\" id=\"payment-amount\" value=\"{{protoPaymentAmount}}\" autofocus data-validate=\"required currency\">\n </div>\n </div>\n\n <button type=\"submit\" class=\"button\">\n Proceed to payment\n </button>\n </div>\n </fieldset>\n </form>\n\n </div>\n </div>\n</main>\n\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Use current bar not config bar name\n", "role": "system" }, { "content": "{# order confirmation email #}\n<!doctype html>\n<html>\n\t<head></head>\n\t<body>\n\t\t<h3>{{ greeting }} ordered one {{ recipe_name }}</h3>\n\t\t<div>{{ recipe_html |safe }}</div>\n\t\t<p>Your drink order as been acknowledged by the bartender on duty and should be ready shortly.</p>\n\t\t{% if venmo_link %}\n\t\t<p>If you're <a href=\"{{ venmo_link }}\">feeling generous</a> and want to tip, it's always appreciated!\n\t\t{% endif %}\n\t\t<p>Thanks for using Mix-Mind {{ config.BAR_NAME }}!<p>\n\t</body>\n</html>\n", "role": "user" }, { "content": "{# order confirmation email #}\n<!doctype html>\n<html>\n\t<head></head>\n\t<body>\n\t\t<h3>{{ greeting }} ordered one {{ recipe_name }}</h3>\n\t\t<div>{{ recipe_html |safe }}</div>\n\t\t<p>Your drink order as been acknowledged by the bartender on duty and should be ready shortly.</p>\n\t\t{% if venmo_link %}\n\t\t<p>If you're <a href=\"{{ venmo_link }}\">feeling generous</a> and want to tip, it's always appreciated!\n\t\t{% endif %}\n\t\t<p>Thanks for using Mix-Mind {{ g.current_bar.name }}<p>\n\t</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Remove needless <form> inside <p>\n", "role": "system" }, { "content": "<div class=\"row\" ng-controller=\"Camel.RestServiceController\">\n\n <div ng-show=\"selectedMBean\">\n\n <div class=\"row\" ng-show=\"data.length > 0\">\n <div class=\"pull-right\">\n <form class=\"form-inline no-bottom-margin\">\n <fieldset>\n <div class=\"control-group inline-block\">\n <input type=\"text\" class=\"search-query\" placeholder=\"Filter...\"\n ng-model=\"gridOptions.filterOptions.filterText\">\n </div>\n </fieldset>\n </form>\n </div>\n </div>\n\n <div class=\"row\" ng-show=\"data.length > 0\">\n <table class=\"table table-condensed table-striped\" hawtio-simple-table=\"gridOptions\"></table>\n </div>\n <div class=\"row well\" ng-show=\"data.length == 0\">\n <form>\n <p>There are no Rest Services registered in this CamelContext.</p>\n </form>\n </div>\n </div>\n\n <div ng-hide=\"selectedMBean\">\n <p class=\"text-center\"><i class=\"fa fa-spinner fa-spin\"></i></p>\n </div>\n\n</div>\n\n", "role": "user" }, { "content": "<div class=\"row\" ng-controller=\"Camel.RestServiceController\">\n\n <div ng-show=\"selectedMBean\">\n\n <div class=\"row\" ng-show=\"data.length > 0\">\n <div class=\"pull-right\">\n <form class=\"form-inline no-bottom-margin\">\n <fieldset>\n <div class=\"control-group inline-block\">\n <input type=\"text\" class=\"search-query\" placeholder=\"Filter...\"\n ng-model=\"gridOptions.filterOptions.filterText\">\n </div>\n </fieldset>\n </form>\n </div>\n </div>\n\n <div class=\"row\" ng-show=\"data.length > 0\">\n <table class=\"table table-condensed table-striped\" hawtio-simple-table=\"gridOptions\"></table>\n </div>\n <div class=\"row-fluid\" ng-show=\"data.length == 0\">\n <div class=\"span12\">\n <p class=\"well\">There are no Rest Services registered in this CamelContext.</p>\n </div>\n </div>\n </div>\n\n <div ng-hide=\"selectedMBean\">\n <p class=\"text-center\"><i class=\"fa fa-spinner fa-spin\"></i></p>\n </div>\n\n</div>\n", "role": "assistant" } ]
[ { "content": "Allow people to add more languages.", "role": "system" }, { "content": "<!doctype html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"chrome=1\">\n <title>What is a CodeRetreat?</title>\n\n <link rel=\"stylesheet\" href=\"../../css/styles.css\">\n <link rel=\"stylesheet\" href=\"../../flag/flags.css\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">\n</head>\n<body>\n\n<a href=\"http://uxebu.com/blog/2014/01/14/how-to-organize-an-event-day-by-day-our-js-coderetreat/\">\n <img class=\"flag flag-gb\" src=\"../../flag/blank.gif\">\n What’s a CodeRetreat?\n</a> [uxebu]<br>\n\n<a href=\"it.html\">\n <img class=\"flag flag-it\" src=\"../../flag/blank.gif\">\n Che cos’è un CodeRetreat?\n</a><br>\n\n</body>\n</html>\n\n", "role": "user" }, { "content": "<!doctype html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"chrome=1\">\n <title>What is a CodeRetreat?</title>\n\n <link rel=\"stylesheet\" href=\"../../css/styles.css\">\n <link rel=\"stylesheet\" href=\"../../flag/flags.css\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">\n</head>\n<body>\n\n<a href=\"http://uxebu.com/blog/2014/01/14/how-to-organize-an-event-day-by-day-our-js-coderetreat/\">\n <img class=\"flag flag-gb\" src=\"../../flag/blank.gif\">\n What’s a CodeRetreat?\n</a> [uxebu]<br>\n\n<a href=\"it.html\">\n <img class=\"flag flag-it\" src=\"../../flag/blank.gif\">\n Che cos’è un CodeRetreat?\n</a><br>\n\nMissing your language? Feel free to <a href=\"https://github.com/uxebu/jsCodeRetreat/tree/gh-pages/posts/what-is-a-coderetreat\">add it</a>.\n\n</body>\n</html>\n\n", "role": "assistant" } ]
[ { "content": "Set asset URL relative to base URL\n", "role": "system" }, { "content": "{% assign dateformatted = page.date | date: \"%d-%m-%Y\" %}\n{% assign imgpath = page.date | date: \"%d-%m-%Y\" %}\n\n<div>\n{% for myimage in site.static_files | where: \"image\", true %}\n {% if myimage.path contains dateformatted %}\n <img class=\"screenshot ingame\" src=\"{{ site.baseurl }}{{ myimage.path }}\">\n {% endif %}\n{% endfor %}\n</div>", "role": "user" }, { "content": "{% assign dateformatted = page.date | date: \"%d-%m-%Y\" %}\n{% assign imgpath = page.date | date: \"%d-%m-%Y\" %}\n\n<div>\n{% for myimage in site.static_files | where: \"image\", true %}\n {% if myimage.path contains dateformatted %}\n <img class=\"screenshot ingame\" src=\"/{{ site.baseurl }}{{ myimage.path }}\">\n {% endif %}\n{% endfor %}\n</div>", "role": "assistant" } ]
[ { "content": "Make under construction on download page\n", "role": "system" }, { "content": "download page", "role": "user" }, { "content": "<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-xs-12\">\n <h1>Under Construction</h1>\n </div>\n </div>\n</div>", "role": "assistant" } ]
[ { "content": "Use correct properties to print\n", "role": "system" }, { "content": "<ul class=\"agreement\">\n <li class=\"agreement-info\">\n <span class=\"agreement-year\">{{ vm.getAgreementYears() }}</span>\n </li>\n <li class=\"agreement-metadata\">\n <div>\n <scientilla-agreement-pis agreement=\"vm.agreement\"></scientilla-agreement-pis>\n </div>\n\n <h2 class=\"agreement-title has-action\"\n ng-click=\"vm.openDetails()\"\n ng-bind-html='vm.agreement | title'></h2>\n\n <ng-container ng-if=\"vm.agreement.agreementType\">\n {{ vm.agreement.projectData.agreementType }}\n </ng-container>\n\n <ul\n class=\"agreement-partners\"\n ng-if=\"vm.agreement.partners\"\n >\n <li ng-repeat=\"partner in vm.agreement.projectData.partners\">\n {{ partner }}\n </li>\n </ul>\n\n <ul class=\"agreement-actions\">\n <li\n ng-if=\"vm.agreement.verified.length\"\n class=\"agreement-verified\"\n uib-tooltip-html=\"vm.getVerifiedNamesHTML()\"\n tooltip-class=\"text-left\">\n <i class=\"fas fa-check\"></i> {{ vm.agreement.verified.length }}\n </li>\n </ul>\n </li>\n</ul>", "role": "user" }, { "content": "<ul class=\"agreement\">\n <li class=\"agreement-info\">\n <span class=\"agreement-year\">{{ vm.getAgreementYears() }}</span>\n </li>\n <li class=\"agreement-metadata\">\n <div>\n <scientilla-agreement-pis\n class=\"agreement-pis\"\n agreement=\"vm.agreement\"\n ></scientilla-agreement-pis>\n </div>\n\n <h2 class=\"agreement-title has-action\"\n ng-click=\"vm.openDetails()\"\n ng-bind-html='vm.agreement | title'></h2>\n\n <ng-container ng-if=\"vm.agreement.projectData.agreementType\">\n {{ vm.agreement.projectData.agreementType }}\n </ng-container>\n\n <ul\n class=\"agreement-partners\"\n ng-if=\"vm.agreement.projectData.partners\"\n >\n <li ng-repeat=\"partner in vm.agreement.projectData.partners\">\n {{ partner }}\n </li>\n </ul>\n\n <ul class=\"agreement-actions\">\n <li\n ng-if=\"vm.agreement.verified.length\"\n class=\"agreement-verified\"\n uib-tooltip-html=\"vm.getVerifiedNamesHTML()\"\n tooltip-class=\"text-left\">\n <i class=\"fas fa-check\"></i> {{ vm.agreement.verified.length }}\n </li>\n </ul>\n </li>\n</ul>", "role": "assistant" } ]
[ { "content": "Decrease timeout from 180 to 60\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>GUAW Test Page</title>\n <link href=\"../src/css/guaw.css\" rel=\"stylesheet\">\n </head>\n\n <body>\n <div id=\"widget-container\"></div>\n\n <script src=\"http://code.jquery.com/jquery-latest.min.js\"></script>\n <script src=\"../src/js/guaw.js\"></script>\n <script>\n $(function(){\n $('#widget-container').guaw({\n username: 'thebinarypenguin',\n timeout: 180,\n debug: true\n });\n });\n </script>\n </body>\n</html>", "role": "user" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>GUAW Test Page</title>\n <link href=\"../src/css/guaw.css\" rel=\"stylesheet\">\n </head>\n\n <body>\n <div id=\"widget-container\"></div>\n\n <script src=\"http://code.jquery.com/jquery-latest.min.js\"></script>\n <script src=\"../src/js/guaw.js\"></script>\n <script>\n $(function(){\n $('#widget-container').guaw({\n username: 'thebinarypenguin',\n timeout: 60,\n debug: true\n });\n });\n </script>\n </body>\n</html>", "role": "assistant" } ]
[ { "content": "Add six column container for activity types\n", "role": "system" }, { "content": "<template name=\"residentActivities\">\n <h2>\n {{_ \"residentActivities-header\" }}\n </h2>\n <div class=\"row\">\n {{> residentActivityTypesChart activities=activities }}\n </div>\n <!-- Nav tabs -->\n <ul class=\"nav nav-tabs\" role=\"tablist\">\n <li role=\"presentation\" class=\"active\">\n <a href=\"#chart\" aria-controls=\"chart\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-trend\" }}\n </a>\n </li>\n <li role=\"presentation\">\n <a href=\"#calendar\" aria-controls=\"calendar\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-calendar\" }}\n </a>\n </li>\n <li role=\"presentation\">\n <a href=\"#table\" aria-controls=\"table\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-table\" }}\n </a>\n </li>\n </ul>\n\n <!-- Tab panes -->\n <div class=\"tab-content\">\n <div role=\"tabpanel\" class=\"tab-pane active\" id=\"chart\">\n {{> residentActivityChart activities=activities }}\n </div>\n <div role=\"tabpanel\" class=\"tab-pane\" id=\"calendar\">\n {{> activityCalendar activities=activities }}\n </div>\n <div role=\"tabpanel\" class=\"tab-pane\" id=\"table\">\n {{> activityTable activities=activities }}\n </div>\n </div>\n</template>\n", "role": "user" }, { "content": "<template name=\"residentActivities\">\n <h2>\n {{_ \"residentActivities-header\" }}\n </h2>\n <div class=\"row\">\n <div class=\"col-md-6\">\n {{> residentActivityTypesChart activities=activities }}\n </div>\n </div>\n <!-- Nav tabs -->\n <ul class=\"nav nav-tabs\" role=\"tablist\">\n <li role=\"presentation\" class=\"active\">\n <a href=\"#chart\" aria-controls=\"chart\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-trend\" }}\n </a>\n </li>\n <li role=\"presentation\">\n <a href=\"#calendar\" aria-controls=\"calendar\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-calendar\" }}\n </a>\n </li>\n <li role=\"presentation\">\n <a href=\"#table\" aria-controls=\"table\" role=\"tab\" data-toggle=\"tab\">\n {{_ \"residentActivities-tabs-table\" }}\n </a>\n </li>\n </ul>\n\n <!-- Tab panes -->\n <div class=\"tab-content\">\n <div role=\"tabpanel\" class=\"tab-pane active\" id=\"chart\">\n {{> residentActivityChart activities=activities }}\n </div>\n <div role=\"tabpanel\" class=\"tab-pane\" id=\"calendar\">\n {{> activityCalendar activities=activities }}\n </div>\n <div role=\"tabpanel\" class=\"tab-pane\" id=\"table\">\n {{> activityTable activities=activities }}\n </div>\n </div>\n</template>\n", "role": "assistant" } ]
[ { "content": "Update description of example 9\n\nChange focus from using $timeout to dependency injection.\n", "role": "system" }, { "content": "<div>\n Was ist neu?\n <ul>\n <li>$timeout statt setTimeout</li>\n </ul>\n</div>\n<div>\n <p>\n Die spezielle AngularJS Funktion ersetzt setTimeout. Intern ruft diese Funktion <code>.$apply()</code> auf.\n </p>\n</div>\n", "role": "user" }, { "content": "<div>\n Was ist neu?\n <ul>\n <li>$timeout statt setTimeout</li>\n <li>Dependency Injection</li>\n </ul>\n</div>\n<div>\n <p>\n Die spezielle AngularJS Funktion ersetzt setTimeout. Intern ruft diese Funktion <code>$scope.$apply()</code>\n auf.\n <md-button class=\"md-fab md-primary md-mini\"\n href=\"https://github.com/angular/angular.js/blob/master/src/ng/timeout.js\"\n target=\"_blank\" aria-label=\"Source\" title=\"Source\">S</md-button>\n </p>\n <p>\n $timeout ist ein AngularJS <em>Service</em>, der an die Controller Funktion übergeben wird. AngularJS\n verwendet hierzu das <em>Dependency Injection</em> Designmuster. Anhand der Variablennamen übergibt AngularJS\n die vorher registrierten <em>Objekte</em> an die jeweilige JavaScript Funktion.\n </p>\n <p>\n Auch <code>$scope</code> wird per <em>Dependency Injection</em> an die Funktion übergeben. Es ist somit auch möglich einen\n Controller zu schreiben, der die <code>$scope</code> Variable gar nicht verwendet.\n </p>\n</div>\n", "role": "assistant" } ]
[ { "content": "Improve style of search input\n", "role": "system" }, { "content": "<div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-md-8\">\n <h2>Projects</h2>\n Search: <input ng-model=\"query\">\n <table class=\"table table-hover\">\n <thead>\n <tr>\n <th><a hre=\"#\" ng-click=\"order = 'name'\">Name</a></th>\n <th><a hre=\"#\" ng-click=\"order = 'description'\">Description</th>\n <th><a hre=\"#\" ng-click=\"order = 'active'\">Active</th>\n <th><a hre=\"#\" ng-click=\"order = 'created'\">Created</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"proj in projects | filter:query | orderBy:order\">\n <td>\n <a href=\"#/projects/{{proj.id}}\">\n {{proj.name}}\n </a>\n </td>\n <td>\n {{proj.description}}\n </td>\n <td>\n {{proj.active}}\n </td>\n <td>\n {{proj.created | date: 'short'}}\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</div>\n", "role": "user" }, { "content": "<div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-md-8\">\n <h2>Projects</h2>\n\n <form class=\"form-horizontal\" role=\"form\">\n <div class=\"form-group\">\n <label for=\"searchinput\" class=\"col-sm-1 control-label\">\n Search:\n </label>\n <div class=\"col-sm-3\">\n <input ng-model=\"query\" type=\"search\"\n class=\"form-control\" id=\"searchinput\"\n placeholder=\"search\">\n </div>\n </div>\n </form>\n <table class=\"table table-hover\">\n <thead>\n <tr>\n <th><a hre=\"#\" ng-click=\"order = 'name'\">Name</a></th>\n <th><a hre=\"#\" ng-click=\"order = 'description'\">Description</th>\n <th><a hre=\"#\" ng-click=\"order = 'active'\">Active</th>\n <th><a hre=\"#\" ng-click=\"order = 'created'\">Created</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"proj in projects | filter:query | orderBy:order\">\n <td>\n <a href=\"#/projects/{{proj.id}}\">\n {{proj.name}}\n </a>\n </td>\n <td>\n {{proj.description}}\n </td>\n <td>\n {{proj.active}}\n </td>\n <td>\n {{proj.created | date: 'short'}}\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Use {% load static %} instead of {% load staticfiles %}\n\nthe latter one is deprecated, see\nhttps://docs.djangoproject.com/en/dev/releases/2.1/#features-deprecated-in-2-1\n", "role": "system" }, { "content": "{% load staticfiles %}\n\n<!doctype html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title></title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700' rel='stylesheet' type='text/css'>\n <link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\">\n <link rel=\"stylesheet\" href=\"{% static \"css/reset.css\" %}\">\n <link rel=\"stylesheet\" href=\"{% static \"css/main.css\" %}\">\n </head>\n\n <body>\n\n <div id=\"nav-bar\">\n <div>\n <a href=\"\">\n gpodder.net\n </a>\n\n <input type=\"search\" name=\"q\" placeholder=\"Search\" />\n\n <a href=\"\">\n Discover\n </a>\n\n <a href=\"\">\n Subscriptions\n </a>\n\n <a href=\"\">\n Account\n </a>\n </div>\n </div>\n\n\n <div id=\"content\">\n\n {% block content %}{% endblock content %}\n\n </div>\n\n <footer>\n gpodder.net\n </footer>\n </body>\n</html>\n", "role": "user" }, { "content": "{% load static %}\n\n<!doctype html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title></title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700' rel='stylesheet' type='text/css'>\n <link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\">\n <link rel=\"stylesheet\" href=\"{% static \"css/reset.css\" %}\">\n <link rel=\"stylesheet\" href=\"{% static \"css/main.css\" %}\">\n </head>\n\n <body>\n\n <div id=\"nav-bar\">\n <div>\n <a href=\"\">\n gpodder.net\n </a>\n\n <input type=\"search\" name=\"q\" placeholder=\"Search\" />\n\n <a href=\"\">\n Discover\n </a>\n\n <a href=\"\">\n Subscriptions\n </a>\n\n <a href=\"\">\n Account\n </a>\n </div>\n </div>\n\n\n <div id=\"content\">\n\n {% block content %}{% endblock content %}\n\n </div>\n\n <footer>\n gpodder.net\n </footer>\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Rephrase text thanks to volunteers suggestions\n", "role": "system" }, { "content": "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_admin\" type=\"checkbox\">\n <label data-translate>Allow admin access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_custodian\" type=\"checkbox\">\n <label data-translate>Allow custodian access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_receiver\" type=\"checkbox\">\n <label data-translate>Allow recipient access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_whistleblower\" type=\"checkbox\">\n <label data-translate>Allow whistleblowers to perform submissions via HTTPS</label>\n <div data-ng-show=\"admin.node.tor2web_whistleblower\">\n <span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>\n </div>\n </div>\n <div class=\"form-group\">\n <input data-ng-init=\"admin.node.tor2web_unauth\" data-ng-model=\"admin.node.tor2web_unauth\" type=\"checkbox\">\n <label data-translate>Allow access of public resources via HTTPS</label>\n </div>\n </div>\n</div>\n", "role": "user" }, { "content": "<div class=\"row\">\n <div class=\"col-md-12\">\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_admin\" type=\"checkbox\">\n <label data-translate>Allow admin access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_custodian\" type=\"checkbox\">\n <label data-translate>Allow custodian access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_receiver\" type=\"checkbox\">\n <label data-translate>Allow recipient access via HTTPS</label>\n </div>\n <div class=\"form-group\">\n <input data-ng-model=\"admin.node.tor2web_whistleblower\" type=\"checkbox\">\n <label data-translate>Allow whistleblower submissions via HTTPS</label>\n <div data-ng-show=\"admin.node.tor2web_whistleblower\">\n <span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>\n </div>\n </div>\n <div class=\"form-group\">\n <input data-ng-init=\"admin.node.tor2web_unauth\" data-ng-model=\"admin.node.tor2web_unauth\" type=\"checkbox\">\n <label data-translate>Allow access of public resources via HTTPS</label>\n </div>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Use correct path name for tags.\n", "role": "system" }, { "content": "<div class=\"sidebar-container\">\n <h3 class=\"side-title\">Support Site</h3>\n <hr/>\n <ul class=\"sidebar-content\">\n <li>\n <a href=\"{{ site.baseurl }}/\">Home</a>\n </li>\n {% if site.categories %}\n <li class=\"collapsed active open\" data-toggle=\"collapse\" data-target=\"#categories\">\n <a href=\"#\">Categories</a>\n </li>\n <ul id=\"categories\" class=\"sub-menu collapse\">\n {% for category in site.categories %}\n <li><a href=\"{{ category | first | downcase | prepend: \"/\" | prepend: site.baseurl }}\">{{ category | first }}</a></li>\n {% endfor %}\n </ul>\n {% endif %}\n\n {% if site.tags %}\n <li class=\"collapsed active open\" data-toggle=\"collapse\" data-target=\"#tags\">\n <a href=\"#\">Tags</a>\n </li>\n <ul id=\"tags\" class=\"sub-menu collapse\">\n {% for tag in site.tags %}\n <li><a href=\"{{ tag | first | downcase | prepend: '/tag/' | prepend: site.baseurl }}\">{{ tag | first }}</a></li>\n {% endfor %}\n </ul>\n {% endif %}\n\n </ul>\n</div><!-- .sidebar-container -->\n", "role": "user" }, { "content": "<div class=\"sidebar-container\">\n <h3 class=\"side-title\">Support Site</h3>\n <hr/>\n <ul class=\"sidebar-content\">\n <li>\n <a href=\"{{ site.baseurl }}/\">Home</a>\n </li>\n {% if site.categories %}\n <li class=\"collapsed active open\" data-toggle=\"collapse\" data-target=\"#categories\">\n <a href=\"#\">Categories</a>\n </li>\n <ul id=\"categories\" class=\"sub-menu collapse\">\n {% for category in site.categories %}\n <li><a href=\"{{ category | first | downcase | prepend: \"/\" | prepend: site.baseurl }}\">{{ category | first }}</a></li>\n {% endfor %}\n </ul>\n {% endif %}\n\n {% if site.tags %}\n <li class=\"collapsed active open\" data-toggle=\"collapse\" data-target=\"#tags\">\n <a href=\"#\">Tags</a>\n </li>\n <ul id=\"tags\" class=\"sub-menu collapse\">\n {% for tag in site.tags %}\n <li><a href=\"{{ tag | first | prepend: '/tag/' | prepend: site.baseurl }}\">{{ tag | first }}</a></li>\n {% endfor %}\n </ul>\n {% endif %}\n\n </ul>\n</div><!-- .sidebar-container -->\n", "role": "assistant" } ]
[ { "content": "Use xhtml syntax in html template\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n\n<head>\n<meta charset=utf-8>\n<title></title>\n<meta name=author content=\"Tim Baumann\">\n<style>\n* { margin: 0; padding: 0; }\n\n#wrapper {\n margin: 0 auto;\n width: 800px;\n}\n</style>\n\n<body>\n<div id=wrapper>\n <h1></h1>\n</div>\n\n<script async defer>\n(function(win, doc, undefined) {\n})(window, document);\n</script>\n", "role": "user" }, { "content": "<!doctype html>\n<html>\n\n<head>\n <meta charset=\"utf-8\" />\n <title></title>\n <meta name=\"author\" content=\"Tim Baumann\" />\n <style>\n * { margin: 0; padding: 0; }\n\n #wrapper {\n margin: 0 auto;\n width: 800px;\n }\n </style>\n</head>\n\n<body>\n <div id=\"wrapper\">\n <h1></h1>\n </div>\n\n <script>\n (function () {\n })()\n </script>\n</body>\n\n</html>\n", "role": "assistant" } ]
[ { "content": "Fix bug in d3 include.\n", "role": "system" }, { "content": "{% extends 'base.html' %}\n\n{% block branding_tool_name %}Dashboard{% endblock %}\n\n{% block stylesheets %}\n{% endblock %}\n\n{% block scripts %}\n <script type=\"text/javascript\" src=\"static/lib/d3/js/d3-3.4.1-min.js\"></script>\n <script type=\"text/javascript\" src=\"static/lib/d3-cloud/js/d3-cloud.js\"></script>\n{% endblock %}\n\n{% block backbone_templates %}\n {% include 'progress.html' %}\n {% include 'login_view.html' %}\n {% include 'controls_view.html' %}\n {% include 'controls_signout_view.html' %}\n {% include 'query_list_view.html' %}\n {% include 'query_view.html' %}\n {% include 'media_select_view.html' %}\n {% include 'media_list_view.html' %}\n {% include 'media_list_item_view.html' %}\n {% include 'date_range_view.html' %}\n {% include 'keyword_view.html' %}\n {% include 'query_controls_view.html' %}\n {% include 'sentence_view.html' %}\n {% include 'histogram_view.html' %}\n {% include 'wordcount_view.html' %}\n{% endblock %}\n", "role": "user" }, { "content": "{% extends 'base.html' %}\n\n{% block branding_tool_name %}Dashboard{% endblock %}\n\n{% block stylesheets %}\n{% endblock %}\n\n{% block scripts %}\n <script type=\"text/javascript\" src=\"static/lib/d3/js/d3-3.4.1-min.js\"></script>\n <script type=\"text/javascript\" src=\"static/lib/d3-cloud/js/d3-cloud-civic.js\"></script>\n{% endblock %}\n\n{% block backbone_templates %}\n {% include 'progress.html' %}\n {% include 'login_view.html' %}\n {% include 'controls_view.html' %}\n {% include 'controls_signout_view.html' %}\n {% include 'query_list_view.html' %}\n {% include 'query_view.html' %}\n {% include 'media_select_view.html' %}\n {% include 'media_list_view.html' %}\n {% include 'media_list_item_view.html' %}\n {% include 'date_range_view.html' %}\n {% include 'keyword_view.html' %}\n {% include 'query_controls_view.html' %}\n {% include 'sentence_view.html' %}\n {% include 'histogram_view.html' %}\n {% include 'wordcount_view.html' %}\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Minor: Add top title to files.html\n", "role": "system" }, { "content": "{% extends \"project/base.html\" %}\n{% set page_title = _(\"Files\") %}\n\n{% block body %}\n\n{% from 'project/macros.html' import nav with context%}\n{{ nav('fonts') }}\n<h4>{{ _(\"Incoming Repository\") }}</h4>\n<a class=\"\" href=\"{{ url_for('project.bump', project_id = project.id )}}\">\n <button class=\"btn btn-large\" type=\"button\">Pull latest updates</button>\n</a>\n{% from 'project/macros.html' import filestree with context %}\n{{ filestree() }}\n\n{% if license %}\n<h4>{{ _(\"License File\") }}</h4>\n<pre>{{ license }}</pre>\n{% endif %}\n\n{% endblock %}\n\n{% block extrajs %}\n<script>\n$(document).ready(function(){\n $('.mothership').click(function(){\n $(this).children('ul').slideToggle();\n });\n $('.mother_of_glyphs').click(function(){\n event.stopPropagation();\n $(this).children('ul').slideToggle();\n });\n});\n</script>\n\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"project/base.html\" %}\n{% set page_title = _(\"Files\") %}\n\n{% block body %}\n\n{% from 'project/macros.html' import nav with context%}\n{{ nav('fonts') }}\n\n<h4>{{ _(\"Update Repository\") }}</h4>\n<a class=\"\" href=\"{{ url_for('project.bump', project_id = project.id )}}\">\n <button class=\"btn btn-large\" type=\"button\">Pull latest updates</button>\n</a>\n\n<h4>{{ _(\"Repository Files\") }}</h4>\n{% from 'project/macros.html' import filestree with context %}\n{{ filestree() }}\n\n{% if license %}\n<h4>{{ _(\"License File\") }}</h4>\n<pre>{{ license }}</pre>\n{% endif %}\n\n{% endblock %}\n\n{% block extrajs %}\n<script>\n$(document).ready(function(){\n $('.mothership').click(function(){\n $(this).children('ul').slideToggle();\n });\n $('.mother_of_glyphs').click(function(){\n event.stopPropagation();\n $(this).children('ul').slideToggle();\n });\n});\n</script>\n\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Drop paragraph about clicking activation link\n\nThis isn't relevant at this point in the sign-up journey.\n", "role": "system" }, { "content": "{% extends \"_base_page.html\" %}\n\n{% block page_title %}Create a supplier account – Digital Marketplace{% endblock %}\n\n{% block breadcrumb %}\n {%\n with items = [\n {\n \"link\": \"/\",\n \"label\": \"Digital Marketplace\"\n }\n ]\n %}\n {% include \"toolkit/breadcrumb.html\" %}\n {% endwith %}\n{% endblock %}\n\n{% block main_content %}\n\n<div class=\"start-page\">\n {%\n with heading = \"Create a supplier account\",\n smaller = True\n %}\n {% include \"toolkit/page-heading.html\" %}\n {% endwith %}\n <div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n <div class=\"dmspeak\">\n <p>If your company is not <a href=\"https://beta.companieshouse.gov.uk/\" rel=\"external\">registered with Companies House</a>,\n you’ll need to <a href=\"https://www.dnb.co.uk/duns-number/lookup/request-a-duns-number.html\" rel=\"external\">apply for a DUNS number</a>\n before you create a supplier account.\n </p>\n\n <p>\n This will take 3 to 5 days.\n </p>\n <br />\n <p>When you have set up your account we will send you a confirmation email. You must click on the link in the\n email to activate your supplier account.</p>\n </div>\n <br />\n <a href='{{ url_for(\".duns_number\") }}' class=\"button-save\" role=\"button\">Start</a>\n </div>\n </div>\n</div>\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"_base_page.html\" %}\n\n{% block page_title %}Create a supplier account – Digital Marketplace{% endblock %}\n\n{% block breadcrumb %}\n {%\n with items = [\n {\n \"link\": \"/\",\n \"label\": \"Digital Marketplace\"\n }\n ]\n %}\n {% include \"toolkit/breadcrumb.html\" %}\n {% endwith %}\n{% endblock %}\n\n{% block main_content %}\n\n<div class=\"start-page\">\n {%\n with heading = \"Create a supplier account\",\n smaller = True\n %}\n {% include \"toolkit/page-heading.html\" %}\n {% endwith %}\n <div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n <div class=\"dmspeak\">\n <p>If your company is not <a href=\"https://beta.companieshouse.gov.uk/\" rel=\"external\">registered with Companies House</a>,\n you’ll need to <a href=\"https://www.dnb.co.uk/duns-number/lookup/request-a-duns-number.html\" rel=\"external\">apply for a DUNS number</a>\n before you create a supplier account.\n </p>\n\n <p>\n This will take 3 to 5 days.\n </p>\n </div>\n <br />\n <a href='{{ url_for(\".duns_number\") }}' class=\"button-save\" role=\"button\">Start</a>\n </div>\n </div>\n</div>\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Call it a productivity suite\n", "role": "system" }, { "content": "<template name=\"Home\">\n\n <div class=\"welcome-message\">\n\n <div class=\"message\">\n\n <div class=\"text\">\n <a href=\"https://sandstorm.io\" target=\"blank\"><strong>Sandstorm.io</strong></a> is an\n <a href=\"https://github.com/sandstorm-io/sandstorm\" target=\"blank\"><strong>open source</strong></a> platform for\n servers.\n </div>\n\n </div>\n\n <div class=\"close-button\">\n <i class=\"icon-rejected_dark\"></i>\n </div>\n </div>\n <div class=\"text-banner\">\n Install any of the apps below with just one click.\n </div>\n\n <div class=\"main-section\">\n\n <div class=\"contents\">\n\n {{!-- TEMPORARY: Show all apps, implemented the same as \"featured apps\" on front page until\n we have enough apps to break the front page down by genre. --}}\n\n <div class=\"genre-name large\">\n {{#if stillWaitingOnApps}}\n Loading...\n {{else}}\n All Apps\n {{/if}}\n </div>\n\n <div class=\"genre-other-section\">\n {{> genreTableOther genre=\"All\"}}\n </div>\n\n{{!--\n {{#each genres}}\n\n {{> genreTable genre=this.name singleLine=true}}\n\n {{/each}}\n--}}\n\n </div>\n\n </div>\n\n <div class=\"load-more\"></div>\n\n</template>\n", "role": "user" }, { "content": "<template name=\"Home\">\n\n <div class=\"welcome-message\">\n\n <div class=\"message\">\n\n <div class=\"text\">\n <a href=\"https://sandstorm.io\" target=\"blank\"><strong>Sandstorm</strong></a> is a\n self-hostable web productivity suite.\n </div>\n\n </div>\n\n <div class=\"close-button\">\n <i class=\"icon-rejected_dark\"></i>\n </div>\n </div>\n <div class=\"text-banner\">\n Install any of the apps below with just one click.\n </div>\n\n <div class=\"main-section\">\n\n <div class=\"contents\">\n\n {{!-- TEMPORARY: Show all apps, implemented the same as \"featured apps\" on front page until\n we have enough apps to break the front page down by genre. --}}\n\n <div class=\"genre-name large\">\n {{#if stillWaitingOnApps}}\n Loading...\n {{else}}\n All Apps\n {{/if}}\n </div>\n\n <div class=\"genre-other-section\">\n {{> genreTableOther genre=\"All\"}}\n </div>\n\n{{!--\n {{#each genres}}\n\n {{> genreTable genre=this.name singleLine=true}}\n\n {{/each}}\n--}}\n\n </div>\n\n </div>\n\n <div class=\"load-more\"></div>\n\n</template>\n", "role": "assistant" } ]
[ { "content": "Fix for github new Jekyll crash\n", "role": "system" }, { "content": "\n<nav class=next-prev>\n\t<a href='{{page.previous}}'></a> <a href='{{page.next}}'></a>\n</nav>\n<footer class=\"container12\" style=\"border-top: 1px solid black;padding:10px 0\">\n\t<ul span=12 row>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"/contact.html\">Contact</a>\n\t\t\t</ul>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"\">Developers</a>\n\t\t\t</ul>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"\">More</a>\n\t\t\t</ul>\n\t</ul>\n</footer>\n", "role": "user" }, { "content": "\n<nav class=next-prev>\n\t<a href='{{page.previous.url}}'></a> <a href='{{page.next.url}}'></a>\n</nav>\n<footer class=\"container12\" style=\"border-top: 1px solid black;padding:10px 0\">\n\t<ul span=12 row>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"/contact.html\">Contact</a>\n\t\t\t</ul>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"\">Developers</a>\n\t\t\t</ul>\n\t\t<li span=3>\n\t\t\t<ul>\n\t\t\t\t<li><a href=\"\">More</a>\n\t\t\t</ul>\n\t</ul>\n</footer>\n", "role": "assistant" } ]
[ { "content": "Remove empty select option from code fixes dropdown\n", "role": "system" }, { "content": "<div>\n <br/>\n <mat-form-field appearance=\"fill\">\n <mat-label>Correct Fix</mat-label>\n <select matNativeControl (change)=\"changeFix($event)\">\n <option value=\"\"></option>\n <option *ngFor=\"let fix of randomFixes; index as i\" [value]=\"i\" \n [selected]=\"selectedFix === i\">Fix {{ i+1 }}</option>\n </select>\n </mat-form-field>\n <div *ngFor=\"let fix of randomFixes; index as i\" id=\"code\">\n <div *ngIf=\"selectedFix === i\">\n <td-ngx-text-diff [left]=\"snippet\"\n [right]=\"fix?.fix\"\n >\n </td-ngx-text-diff>\n </div>\n </div>\n</div>", "role": "user" }, { "content": "<div>\n <br/>\n <mat-form-field appearance=\"fill\">\n <mat-label>Correct Fix</mat-label>\n <select matNativeControl (change)=\"changeFix($event)\">\n <option *ngFor=\"let fix of randomFixes; index as i\" [value]=\"i\"\n [selected]=\"selectedFix === i\">Fix {{ i+1 }}</option>\n </select>\n </mat-form-field>\n <div *ngFor=\"let fix of randomFixes; index as i\" id=\"code\">\n <div *ngIf=\"selectedFix === i\">\n <td-ngx-text-diff [left]=\"snippet\"\n [right]=\"fix?.fix\"\n >\n </td-ngx-text-diff>\n </div>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Change how twitter works with AddThis\n", "role": "system" }, { "content": "<script>\n var addthis_config = {\n {% if data_ga_property %}\n data_ga_property: '{{ data_ga_property }}',\n data_ga_social: {{ data_ga_social|lower }},\n {% endif %} \n data_track_addressbar: {{ data_track_addressbar|lower }}, \n data_track_clickback: {{ data_track_clickback|lower }},\n ui_use_css: false,\n };\n\n var addthis_share = {\n {% if share_url %}\n url: '{{ share_url }}'\n {% endif %}\n url_transforms : {\n shorten: {\n twitter: 'bitly'\n },\n clean: true,\n }, \n shorteners : {\n bitly : {},\n }\n };\n</script>\n<script src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid={{ pubid }}\"></script>\n", "role": "user" }, { "content": "<script>\n var addthis_config = {\n {% if data_ga_property %}\n data_ga_property: '{{ data_ga_property }}',\n data_ga_social: {{ data_ga_social|lower }},\n {% endif %} \n data_track_addressbar: {{ data_track_addressbar|lower }}, \n data_track_clickback: {{ data_track_clickback|lower }},\n ui_use_css: false,\n };\n\n var addthis_share = {\n {% if share_url %}\n url: '{{ share_url }}'\n {% endif %}\n url_transforms : {\n shorten: {\n twitter: 'bitly'\n },\n clean: true,\n }, \n shorteners : {\n bitly : {},\n }\n passthrough : {\n twitter: {\n via: \"megaprojectske\"\n }\n }\n };\n</script>\n<script src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid={{ pubid }}\"></script>\n", "role": "assistant" } ]
[ { "content": "Remove extra screen width from mobile version\n", "role": "system" }, { "content": "<!doctype html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <title> Guestbook </title>\n <meta name=\"description\" content=\"An example application using a WS Nexus server\">\n <link rel=\"stylesheet\" href=\"main.css\">\n</head>\n\n<body>\n <h1> Guestbook </h1>\n <div class=\"input-container\">\n <input class=\"input-container__input\" id=\"server\" value='ws://127.0.0.1:3000' autofocus />\n <button class=\"input-container__button\" id=\"connect\"> Connect </button>\n </div>\n <div id=\"content\" style=\"display:none\">\n <ul id=\"name-list\"></ul>\n <div class=\"input-container\">\n <input class=\"input-container__input\" id=\"name-input\" placeholder=\"Name\" />\n <button class=\"input-container__button\" id=\"add\"> Add </button>\n </div>\n </div>\n <div id=\"status-container\">\n Status: <span id=\"status\"> No server connection </span>\n </div>\n <div id=\"watcher-container\" style=\"display:none\">\n Clients Connected: <span id=\"watchers\"></span>\n </div>\n\n <script src=\"../../ws-nexus-user.js\"></script>\n <script src=\"./Guestbook.js\"></script>\n <script src=\"./ui.js\"></script>\n</body>\n</html>\n", "role": "user" }, { "content": "<!doctype html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title> Guestbook </title>\n <meta name=\"description\" content=\"An example application using a WS Nexus server\">\n <link rel=\"stylesheet\" href=\"main.css\">\n</head>\n\n<body>\n <h1> Guestbook </h1>\n <div class=\"input-container\">\n <input class=\"input-container__input\" id=\"server\" value='ws://127.0.0.1:3000' autofocus />\n <button class=\"input-container__button\" id=\"connect\"> Connect </button>\n </div>\n <div id=\"content\" style=\"display:none\">\n <ul id=\"name-list\"></ul>\n <div class=\"input-container\">\n <input class=\"input-container__input\" id=\"name-input\" placeholder=\"Name\" />\n <button class=\"input-container__button\" id=\"add\"> Add </button>\n </div>\n </div>\n <div id=\"status-container\">\n Status: <span id=\"status\"> No server connection </span>\n </div>\n <div id=\"watcher-container\" style=\"display:none\">\n Clients Connected: <span id=\"watchers\"></span>\n </div>\n\n <script src=\"../../ws-nexus-user.js\"></script>\n <script src=\"./Guestbook.js\"></script>\n <script src=\"./ui.js\"></script>\n</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Include the site title in the page title.\n", "role": "system" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n\n <link rel=\"stylesheet\" href=\"{{ \"/assets/main.css\" | relative_url }}\">\n <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | absolute_url }}\">\n</head>\n", "role": "user" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ site.title | escape }} &gt; {{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n\n <link rel=\"stylesheet\" href=\"{{ \"/assets/main.css\" | relative_url }}\">\n <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | absolute_url }}\">\n</head>\n", "role": "assistant" } ]
[ { "content": "Add a title so it shows up more reasonably in the activity stream\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"UTF-8\">\n </head>\n <body>\n <h1 style=\"text-align: center; width: 100%; font-family: sans-serif; margin-top: 5em;\">\n <!-- Something animated would be nice here -->\n <!-- Has to be a GIF or something, can't be anything fancy, this page has to stay simple so it can be safely overwritten -->\n Connecting...\n </h1>\n <p>(If this sticks <a href=\"javascript:location.reload()\">reload</a>)</p>\n </body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"UTF-8\">\n <title>Spectating</title>\n </head>\n <body>\n <h1 style=\"text-align: center; width: 100%; font-family: sans-serif; margin-top: 5em;\">\n <!-- Something animated would be nice here -->\n <!-- Has to be a GIF or something, can't be anything fancy, this page has to stay simple so it can be safely overwritten -->\n Connecting...\n </h1>\n <p>(If this sticks <a href=\"javascript:location.reload()\">reload</a>)</p>\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Change the copyright to 2015\n", "role": "system" }, { "content": "<div class='popupSettings'>\n\t<h2 data-i18n=\"about.title\"></h2>\n\t<p class='okP firstLine copyrightText' data-i18n=\"about.copyright-begin\"></p>\n\t<p class='okP firstLine copyrightText' data-i18n=\"about.copyright-end\"></p>\n\t<p class='okP firstLine clearCookies'><a class='termsLink' href='' data-i18n=\"about.terms\"></a></p>\n\t<p class='okP firstLine aboutInfo'></p>\n\t<p class='okP firstLine acsInfo'></p>\n\t<p class='okP firstLine licenseInfo'>&copy;Alcatel-Lucent Enterprise - 2014</p>\n\t<button type=\"action\" id='closeBtn' class=\"centerButton\" data-i18n=\"error.close\"></button>\n</div>", "role": "user" }, { "content": "<div class='popupSettings'>\n\t<h2 data-i18n=\"about.title\"></h2>\n\t<p class='okP firstLine copyrightText' data-i18n=\"about.copyright-begin\"></p>\n\t<p class='okP firstLine copyrightText' data-i18n=\"about.copyright-end\"></p>\n\t<p class='okP firstLine clearCookies'><a class='termsLink' href='' data-i18n=\"about.terms\"></a></p>\n\t<p class='okP firstLine aboutInfo'></p>\n\t<p class='okP firstLine acsInfo'></p>\n\t<p class='okP firstLine licenseInfo'>&copy;Alcatel-Lucent Enterprise - 2015</p>\n\t<button type=\"action\" id='closeBtn' class=\"centerButton\" data-i18n=\"error.close\"></button>\n</div>", "role": "assistant" } ]
[ { "content": "Convert Android css hack to pure JS\n", "role": "system" }, { "content": "{% extends \"base.html\" %}\n\n{% load i18n %}\n{% load dc_forms %}\n\n{% block content %}\n\n<div class=\"card\">\n <h2 id=\"address_picker\">\n {% trans \"Choose Your Address / Street\" %}\n </h2>\n\n <form method=post class=\"form form-inline\">\n {% csrf_token %}\n {{ form|dc_form }}\n <button type=\"submit\" class=\"button\" id=\"submit-address\">\n {% trans \"Find my Polling Station\" %}\n </button>\n </form>\n</div>\n\n\n{% endblock content %}\n\n{% block in_page_javascript %}\n<script type=\"text/javascript\">\n var isAndroid = /(android)/i.test(navigator.userAgent);\n if (isAndroid) {\n $('.select_multirow').css('-webkit-appearance', 'menulist');\n }\n</script>\n{% endblock in_page_javascript %}\n", "role": "user" }, { "content": "{% extends \"base.html\" %}\n\n{% load i18n %}\n{% load dc_forms %}\n\n{% block content %}\n\n<div class=\"card\">\n <h2 id=\"address_picker\">\n {% trans \"Choose Your Address / Street\" %}\n </h2>\n\n <form method=post class=\"form form-inline\">\n {% csrf_token %}\n {{ form|dc_form }}\n <button type=\"submit\" class=\"button\" id=\"submit-address\">\n {% trans \"Find my Polling Station\" %}\n </button>\n </form>\n</div>\n\n\n{% endblock content %}\n\n{% block in_page_javascript %}\n<script type=\"text/javascript\">\n var isAndroid = /(android)/i.test(navigator.userAgent);\n if (isAndroid) {\n var elements = document.querySelectorAll('.select_multirow');\n var className = 'android_menu_list';\n Array.prototype.forEach.call(elements, function(el, i){\n if (el.classList) {\n el.classList.add(className);\n } else {\n el.className += ' ' + className;\n }\n });\n\n }\n</script>\n{% endblock in_page_javascript %}\n", "role": "assistant" } ]
[ { "content": "Use the correct distribution in the example\n", "role": "system" }, { "content": "<!doctype html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title>Blackjack</title>\n <meta name=\"description\" content=\"Blackjack\">\n <meta name=\"viewport\" content=\"width=device-width\">\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js\"></script>\n <script src=\"blackjack.min.js\"></script>\n</head>\n<body>\n\n\t<script type=\"text/javascript\">\n\t\t\n\t\t$(document).ready(function() {\n\t\t\t// Set the names for the dealer an player\n\t\t\tvar player = \"Player\";\n\t\t\tvar dealer = \"Dealer\";\n\t\t\tvar options = {\n\t\t\t\tnumberOfDecks: 1\n\t\t\t};\n\n\t\t\t$(\"#deal\").click(function() {\n\t\t\t\tvar game = new Blackjack.Game(player, dealer, options);\n\t\t\t\tgame.deal();\n\n\t\t\t\tvar shoe = game.getShoe();\n\t\t\t\tvar dealerCards = game.getDealer().getCards();\n\t\t\t\tvar playerCards = game.getPlayer().getCards();\t\t\t\n\t\t\t\t\n\t\t\t\tvar standStats = Blackjack.Probability.stand(shoe, dealerCards, playerCards, 3);\n\t\t\t\tvar hitStats = Blackjack.Probability.hit(shoe, dealerCards, playerCards, hitMaxPullCount);\n\t\t\t\tvar doubleStats = Blackjack.Probability.double(shoe, dealerCards, playerCards, 3);\n\n\t\t\t});\n\t\t});\n\n\t</script>\n</body>\n</html>", "role": "user" }, { "content": "<!doctype html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <title>Blackjack</title>\n <meta name=\"description\" content=\"Blackjack\">\n <meta name=\"viewport\" content=\"width=device-width\">\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js\"></script>\n <script src=\"blackjack-0.0.1.min.js\"></script>\n</head>\n<body>\n\n\t<script type=\"text/javascript\">\n\t\t\n\t\t$(document).ready(function() {\n\t\t\t// Set the names for the dealer and player\n\t\t\tvar player = \"Player\";\n\t\t\tvar dealer = \"Dealer\";\n\t\t\tvar options = {\n\t\t\t\tnumberOfDecks: 1\n\t\t\t};\n\n\t\t\t$(\"#deal\").click(function() {\n\t\t\t\tvar game = new Blackjack.Game(player, dealer, options);\n\t\t\t\tgame.deal();\n\n\t\t\t\tvar shoe = game.getShoe();\n\t\t\t\tvar dealerCards = game.getDealer().getCards();\n\t\t\t\tvar playerCards = game.getPlayer().getCards();\t\t\t\n\t\t\t\t\n\t\t\t\tvar standStats = Blackjack.Probability.stand(shoe, dealerCards, playerCards, 3);\n\t\t\t\tvar hitStats = Blackjack.Probability.hit(shoe, dealerCards, playerCards, hitMaxPullCount);\n\t\t\t\tvar doubleStats = Blackjack.Probability.double(shoe, dealerCards, playerCards, 3);\n\n\t\t\t});\n\t\t});\n\n\t</script>\n</body>\n</html>", "role": "assistant" } ]
[ { "content": "Fix link for confirm delete test run\n", "role": "system" }, { "content": "<h1 class=\"ui top attached header\"><%= testrun.get('name') %></h1>\n<div class=\"ui attached segment\">\n <div class='ui form' id=\"testrun-form\" data-parsley-validate>\n <div class=\"field\">\n <label>Name</label>\n <input name=\"name\" id=\"testrun-name-input\" placeholder=\"Name\" type=\"text\" value=\"<%= testrun.get('name') %>\" data-parsley-required=\"true\" data-parsley-length=\"[1,255]\" />\n </div>\n <div class=\"field\">\n <label>Description</label>\n <textarea name=\"description\" placeholder=\"Description\" id=\"testrun-description-input\" data-parsley-required=\"false\" data-parsley-length=\"[1,1000]\"><%= testrun.get('description') %></textarea>\n </div>\n <button class=\"positive ui left floated button\" id=\"testrun-btn\">\n Okay\n </button>\n <a href=\"javascript: window.history.back();\" class=\"ui left floated button\">\n Cancel\n </a>\n <a href=\"#/testplans/<%= testrun.get('tets_plan_id') %>/testruns/<%= testrun.get('id') %>/confirmDelete\" class=\"negative ui right floated button\">\n Delete\n </a>\n <br class='clearfix' />\n <br/> \n </div>\n</div>\n", "role": "user" }, { "content": "<h1 class=\"ui top attached header\"><%= testrun.get('name') %></h1>\n<div class=\"ui attached segment\">\n <div class='ui form' id=\"testrun-form\" data-parsley-validate>\n <div class=\"field\">\n <label>Name</label>\n <input name=\"name\" id=\"testrun-name-input\" placeholder=\"Name\" type=\"text\" value=\"<%= testrun.get('name') %>\" data-parsley-required=\"true\" data-parsley-length=\"[1,255]\" />\n </div>\n <div class=\"field\">\n <label>Description</label>\n <textarea name=\"description\" placeholder=\"Description\" id=\"testrun-description-input\" data-parsley-required=\"false\" data-parsley-length=\"[1,1000]\"><%= testrun.get('description') %></textarea>\n </div>\n <button class=\"positive ui left floated button\" id=\"testrun-btn\">\n Okay\n </button>\n <a href=\"javascript: window.history.back();\" class=\"ui left floated button\">\n Cancel\n </a>\n <a href=\"#/testplans/<%= testrun.get('test_plan_id') %>/testruns/<%= testrun.get('id') %>/confirmDelete\" class=\"negative ui right floated button\">\n Delete\n </a>\n <br class='clearfix' />\n <br/> \n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Move comment-form to top of comment feed\n", "role": "system" }, { "content": "<div class=\"platon-comments\">\n <div v-if=\"loading\" class=\"platon-loading\">Loading...</div>\n <platon-comment v-if=\"!loading\" v-for=\"comment in comments\" :comment=\"comment\"></platon-comment>\n <platon-comment-form v-if=\"!loading\" :comment=\"commentDraft\"></platon-comment-form>\n</div>\n", "role": "user" }, { "content": "<div class=\"platon-comments\">\n <div v-if=\"loading\" class=\"platon-loading\">Loading...</div>\n <platon-comment-form v-if=\"!loading\" :comment=\"commentDraft\"></platon-comment-form>\n <platon-comment v-if=\"!loading\" v-for=\"comment in comments\" :comment=\"comment\"></platon-comment>\n</div>\n", "role": "assistant" } ]
[ { "content": "Add missing closing div tag\n", "role": "system" }, { "content": "<div id=\"books\"><div class=\"container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <table class=\"table table-striped\">\n <thead>\n <tr>\n <th>Title</th>\n <th>Author</th>\n <th>ISBN</th>\n <th>Review</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"book in books track by book._id\">\n <td>{{book.title}}</td>\n <td>{{book.author}}</td>\n <td>{{book.isbn}}</td>\n <td>{{book.review}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n</div>\n", "role": "user" }, { "content": "<div id=\"books\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <table class=\"table table-striped\">\n <thead>\n <tr>\n <th>Title</th>\n <th>Author</th>\n <th>ISBN</th>\n <th>Review</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"book in books track by book._id\">\n <td>{{book.title}}</td>\n <td>{{book.author}}</td>\n <td>{{book.isbn}}</td>\n <td>{{book.review}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Add comment about whitespace for curious HTML peekers.\n", "role": "system" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n <meta name=\"description\" content=\"{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}\">\n\n <link rel=\"stylesheet\" href=\"{{ \"/assets/css/main.css\" | relative_url }}\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | absolute_url }}\">\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ site.title | escape }}\" href=\"{{ \"/feed.xml\" | relative_url }}\">\n\n {% if jekyll.environment == 'production' and site.google_analytics %}\n {% include google-analytics.html %}\n {% endif %}\n</head>\n", "role": "user" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n <meta name=\"description\" content=\"{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}\">\n\n <link rel=\"stylesheet\" href=\"{{ \"/assets/css/main.css\" | relative_url }}\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | absolute_url }}\">\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ site.title | escape }}\" href=\"{{ \"/feed.xml\" | relative_url }}\">\n\n {% if jekyll.environment == 'production' and site.google_analytics %}\n {% include google-analytics.html %}\n {% endif %}\n</head>\n\n<!-- Look at all that lovely whitespace. It'll be gone once Jekyll 3.5 is released with Liquid 4 support. -->", "role": "assistant" } ]
[ { "content": "Hide no monitors alert when loading fails\n", "role": "system" }, { "content": "<h1>Active Monitors</h1>\n<div *ngIf=\"isLoading\">\n Loading active monitors...\n</div>\n<div *ngIf=\"!isLoading && didLoadingFail\">\n <span class=\"text-danger\">Loading active monitors failed</span>\n</div>\n<div *ngIf=\"!hasMonitors()\" class=\"alert alert-warning\">\n No monitors available. <a [routerLink]=\"['/new-monitor']\">Create one now.</a>\n</div>\n<table *ngIf=\"shouldListMonitors()\" class=\"table table-condensed\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n <th>Frequency</th>\n <th>Is Active?</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let monitor of monitors\">\n <td>{{monitor.name}}</td>\n <td>{{monitor.type}}</td>\n <td>Every {{monitor.frequencyAmount}} {{monitor.frequencyPeriod}}</td>\n <td>{{getIsActiveText(monitor)}}</td>\n <td><a [routerLink]=\"['/monitor-details/' + monitor.id]\">Edit</a></td>\n <td><a href=\"#\" (click)=\"deleteMonitor(monitor)\">Delete</a></td>\n </tr>\n </tbody>\n</table>", "role": "user" }, { "content": "<h1>Active Monitors</h1>\n<div *ngIf=\"isLoading\">\n Loading active monitors...\n</div>\n<div *ngIf=\"!isLoading && didLoadingFail\">\n <span class=\"text-danger\">Loading active monitors failed</span>\n</div>\n<div *ngIf=\"!isLoading && !didLoadingFail && !hasMonitors()\" class=\"alert alert-warning\">\n No monitors available. <a [routerLink]=\"['/new-monitor']\">Create one now.</a>\n</div>\n<table *ngIf=\"shouldListMonitors()\" class=\"table table-condensed\">\n <thead>\n <tr>\n <th>Name</th>\n <th>Type</th>\n <th>Frequency</th>\n <th>Is Active?</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let monitor of monitors\">\n <td>{{monitor.name}}</td>\n <td>{{monitor.type}}</td>\n <td>Every {{monitor.frequencyAmount}} {{monitor.frequencyPeriod}}</td>\n <td>{{getIsActiveText(monitor)}}</td>\n <td><a [routerLink]=\"['/monitor-details/' + monitor.id]\">Edit</a></td>\n <td><a href=\"#\" (click)=\"deleteMonitor(monitor)\">Delete</a></td>\n </tr>\n </tbody>\n</table>", "role": "assistant" } ]
[ { "content": "Fix bad class names in QueryItem template\n", "role": "system" }, { "content": "<span class='name-label span6'>\n <%= data.name %>\n</span>\n<span class='owner span2'>\n <button class='.edit-query btn btn-mini'><i class=icon-edit></i> Edit</button>\n</span>\n<span class='owner span2'>\n <button class='.delete-query btn btn-mini'><i class=icon-trash></i> Delete</button>\n</span>\n<span class='owner span2'>\n <i class=icon-group> (<%= data.shared_users.length %>) </i>\n</span>\n<span class='non-owner span5'>\n shared with you by <em><%= data.user.username %></em>\n</span>\n", "role": "user" }, { "content": "<span class='name-label span6'>\n <%= data.name %>\n</span>\n<span class='owner span2'>\n <button class='edit-query btn btn-mini'><i class=icon-edit></i> Edit</button>\n</span>\n<span class='owner span2'>\n <button class='delete-query btn btn-mini'><i class=icon-trash></i> Delete</button>\n</span>\n<span class='owner span2'>\n <i class=icon-group> (<%= data.shared_users.length %>) </i>\n</span>\n<span class='non-owner span5'>\n shared with you by <em><%= data.user.username %></em>\n</span>\n", "role": "assistant" } ]
[ { "content": "Add links for review application.\n", "role": "system" }, { "content": "<h2>Welcome to the Honor Flight Web Application.</h2>\n<p>Make sure you are logged in using your account and then proceed to one of the following links:</p>\n<dl>\n <dt>\n <a href=\"/hf/_design/basic/index.html\" >Data Entry for Production Database</a>\n </dt>\n <dd>\n Work with the shared live data.\n </dd>\n <dt>\n Admin Screens for Production Database\n </dt>\n <dd>\n *** Comming Soon *** \n Do things like add new flights and bulk updates.\n </dd>\n <dt>\n <a href=\"/test/_design/basic/index.html\" >Data Entry for Test Database</a>\n </dt>\n <dd>\n A test area for development and training. \n Changes made here will eventually be discarded.\n </dd>\n</dl>\n", "role": "user" }, { "content": "<h2>Welcome to the Honor Flight Web Application.</h2>\n<p>Make sure you are logged in using your account and then proceed to one of the following links:</p>\n<dl>\n <dt>\n <a href=\"/hf/_design/basic/index.html\" >Data Entry for Production Database</a>\n </dt>\n <dd>\n Work with the shared live data.\n </dd>\n <dt>\n <a href=\"/hf_apps/_design/hf-app-review/index.html\" >Review Applications for Production</a>\n </dt>\n <dd>\n Review apps, edit, and decide to reject or accept into the production database.\n </dd>\n</dl>\n<dl>\n <dt>\n <a href=\"/test/_design/basic/index.html\" >Data Entry for Test Database</a>\n </dt>\n <dd>\n A test area for development and training. \n Changes made here will eventually be discarded.\n </dd>\n <dt>\n <a href=\"/apptest/_design/hf-app-review/index.html\" >Review Applications for Test</a>\n </dt>\n <dd>\n Review apps, edit, and decide to reject or accept into the test database.\n </dd>\n</dl>\n", "role": "assistant" } ]
[ { "content": "Add href to nav toggle (so mouse cursor changes)\n", "role": "system" }, { "content": "{% extends \"page_base.html\" %}\n{% load static %}\n{% load i18n %}\n{% load inventree_extras %}\n\n{% block page_title %}\n{% if part %}\n{% inventree_title %} | {% trans \"Part\" %} - {{ part.full_name }}\n{% elif category %}\n{% inventree_title %} | {% trans \"Part Category\" %} - {{ category }}\n{% else %}\n{% inventree_title %} | {% trans \"Part List\" %}\n{% endif %}\n{% endblock %}\n\n{% block breadcrumbs %}\n<a id='sidetree-toggle' class=\"breadcrumb-item\"><i class=\"fas fa-bars\"></i></a>\n{% if part %}\n{% include \"part/cat_link.html\" with category=part.category part=part %}\n{% else %}\n{% include 'part/cat_link.html' with category=category %}\n{% endif %}\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"page_base.html\" %}\n{% load static %}\n{% load i18n %}\n{% load inventree_extras %}\n\n{% block page_title %}\n{% if part %}\n{% inventree_title %} | {% trans \"Part\" %} - {{ part.full_name }}\n{% elif category %}\n{% inventree_title %} | {% trans \"Part Category\" %} - {{ category }}\n{% else %}\n{% inventree_title %} | {% trans \"Part List\" %}\n{% endif %}\n{% endblock %}\n\n{% block breadcrumbs %}\n<a href='#' id='sidetree-toggle' class=\"breadcrumb-item\"><i class=\"fas fa-bars\"></i></a>\n{% if part %}\n{% include \"part/cat_link.html\" with category=part.category part=part %}\n{% else %}\n{% include 'part/cat_link.html' with category=category %}\n{% endif %}\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Fix the wrong constraint js file\n", "role": "system" }, { "content": "<html>\n <head>\n <title>Constraint logic</title>\n <link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\n\n <link href=\"css/nv.d3.css\" rel=\"stylesheet\" type=\"text/css\">\n\t\t<script src=\"http://d3js.org/d3.v3.min.js\" charset=\"utf-8\"></script>\n <script src=\"js/nv.d3.js\"></script>\n <script src=\"js/mychart.js\"></script>\n </head>\n <body>\n <svg id=\"thegraph\"/>\n <div id=\"visibility\">\n <button id=\"edit\">go edit</button>\n <button id=\"save\">save</button>\n <button id=\"auto\">go auto</button>\n <button id=\"flips\">make number of flips not matter</button>\n <button id=\"manualreset\">manual reset</button>\n <input id=\"randomrange\" type=\"range\" max=\"60\" min=\"1\">\n </div>\n <div id=\"forsvg\"></div>\n <textarea id=\"data\" rows=\"8\" cols=\"40\"></textarea>\n <script src=\"constraint.js\" type=\"text/javascript\"></script>\n </body>\n</html>\n", "role": "user" }, { "content": "<html>\n <head>\n <title>Constraint logic</title>\n <link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\n\n <link href=\"css/nv.d3.css\" rel=\"stylesheet\" type=\"text/css\">\n\t\t<script src=\"http://d3js.org/d3.v3.min.js\" charset=\"utf-8\"></script>\n <script src=\"js/nv.d3.js\"></script>\n <script src=\"js/mychart.js\"></script>\n </head>\n <body>\n <svg id=\"thegraph\"/>\n <div id=\"visibility\">\n <button id=\"edit\">go edit</button>\n <button id=\"save\">save</button>\n <button id=\"auto\">go auto</button>\n <button id=\"flips\">make number of flips not matter</button>\n <button id=\"manualreset\">manual reset</button>\n <input id=\"randomrange\" type=\"range\" max=\"60\" min=\"1\">\n </div>\n <div id=\"forsvg\"></div>\n <textarea id=\"data\" rows=\"8\" cols=\"40\"></textarea>\n <script src=\"constraint_prod.js\" type=\"text/javascript\"></script>\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Update in the Hello World example\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>eBus:Hello World</title>\n <script src=\"../release/eBus.min.js\"></script>\n</head>\n<body>\n\n<script>\n (function (eBus) {\n var eBusInstance = new eBus();\n\n })(eBus);\n\n</script>\n\n</body>\n</html>", "role": "user" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>eBus:Hello World</title>\n <script src=\"../release/eBus.min.js\"></script>\n</head>\n<body>\n\n<script>\n (function (eBus) {\n var eBusInstance = new eBus();\n\n //argument could be an Object or an Array of Object\n eBusInstance.addListener({\n name: 'Listener_1', //optional ( if given it should be without space )\n event: ['First_Event', 'Second_Event'],\n routine: function (payload) {\n for(var i=0 ;i< payload.count; i++){\n console.info('Hello World');\n }\n },\n options: {\n target: 'First_Publisher',\n once: false,\n rememberPast : false\n }\n });\n\n // Hello World will be printed 2 times\n eBusInstance.trigger('First_Event', 'First_Publisher', {\n count : 2\n });\n\n // Hello World will be printed 0 times\n // Since the Listener 1 is only bound with target 'First_Publisher'\n eBusInstance.trigger('First_Event', void 0, {\n count : 1\n });\n\n // Removing the Listener_1 from First_Event\n eBusInstance.removeListener('Listener_1','First_Event');\n\n // Hello World will be printed 0 times\n // Since the Listener to First_Event was removed in the above line\n eBusInstance.trigger('First_Event', 'First_Publisher', {\n count : 2\n });\n\n })(eBus);\n\n</script>\n\n</body>\n</html>", "role": "assistant" } ]
[ { "content": "Make upload link go somewhere.\n", "role": "system" }, { "content": "<template name=\"Menu\">\n\n <nav class=\"menu-container\">\n\n <a class=\"menu-link {{inRouteCategory 'appMarket'}}\" href=\"{{getPath 'appMarket'}}\">\n <i class=\"icon-market\"></i>\n <div class=\"menu-text\">App Market</div>\n </a>\n\n {{#if false}}\n <a class=\"menu-link {{inRouteCategory 'installedApps'}}\" href=\"{{getPath 'installedApps'}}\">\n <i class=\"icon-apps\"></i>\n <div class=\"menu-text\">Install History</div>\n </a>\n {{/if}}\n\n <a class=\"menu-link {{inRouteCategory 'upload'}} hide-for-phone\" href=\"#\">\n <i class=\"icon-upload\"></i>\n <div class=\"menu-text\">Upload an App</div>\n </a>\n\n <a class=\"menu-link {{inRouteCategory 'login'}}\" href=\"{{getPath 'login'}}\">\n <i class=\"icon-my\"></i>\n <div class=\"menu-text\">{{#if currentUser}}{{currentUser.profile.name}}{{else}}Log In{{/if}}</div>\n </a>\n\n </nav>\n\n</template>\n", "role": "user" }, { "content": "<template name=\"Menu\">\n\n <nav class=\"menu-container\">\n\n <a class=\"menu-link {{inRouteCategory 'appMarket'}}\" href=\"{{getPath 'appMarket'}}\">\n <i class=\"icon-market\"></i>\n <div class=\"menu-text\">App Market</div>\n </a>\n\n {{#if false}}\n <a class=\"menu-link {{inRouteCategory 'installedApps'}}\" href=\"{{getPath 'installedApps'}}\">\n <i class=\"icon-apps\"></i>\n <div class=\"menu-text\">Install History</div>\n </a>\n {{/if}}\n\n <a class=\"menu-link {{inRouteCategory 'upload'}} hide-for-phone\"\n href=\"https://github.com/sandstorm-io/sandstorm/wiki/App-Market-Submission-Instructions\">\n <i class=\"icon-upload\"></i>\n <div class=\"menu-text\">Upload an App</div>\n </a>\n\n <a class=\"menu-link {{inRouteCategory 'login'}}\" href=\"{{getPath 'login'}}\">\n <i class=\"icon-my\"></i>\n <div class=\"menu-text\">{{#if currentUser}}{{currentUser.profile.name}}{{else}}Log In{{/if}}</div>\n </a>\n\n </nav>\n\n</template>\n", "role": "assistant" } ]
[ { "content": "Handle deletion events from table in app\n", "role": "system" }, { "content": "<template>\n <template if:true={isBatchMode}>\n <c-ge-batch-gift-entry-header\n batch-id={recordId}\n is-permission-error={isPermissionError}\n onbatchdryrun={handleBatchDryRun}\n onedit={handleEditBatch}\n onprocessbatch={handleProcessBatch}>\n </c-ge-batch-gift-entry-header>\n <br/>\n </template>\n\n <c-ge-form-renderer\n batch-id={recordId}\n onsubmit={handleSubmit}\n onsectionsretrieved={handleSectionsRetrieved}\n onpermissionerror={handlePermissionErrors}\n ontogglemodal={handleToggleModal}\n loading-text={loadingText}>\n </c-ge-form-renderer>\n\n <template if:false={isPermissionError}>\n <template if:true={isBatchMode}>\n <c-ge-batch-gift-entry-table\n title={giftsTableTitle}\n count={count}\n expected-count={expectedCountOfGifts}\n total={total}\n expected-total={expectedTotalBatchAmount}\n batch-id={recordId}\n onloaddata={handleLoadData}\n oncountchanged={handleCountChanged}\n ontotalchanged={handleTotalChanged}>\n </c-ge-batch-gift-entry-table>\n </template>\n </template>\n</template>", "role": "user" }, { "content": "<template>\n <template if:true={isBatchMode}>\n <c-ge-batch-gift-entry-header\n batch-id={recordId}\n is-permission-error={isPermissionError}\n onbatchdryrun={handleBatchDryRun}\n onedit={handleEditBatch}\n onprocessbatch={handleProcessBatch}>\n </c-ge-batch-gift-entry-header>\n <br/>\n </template>\n\n <c-ge-form-renderer\n batch-id={recordId}\n onsubmit={handleSubmit}\n onsectionsretrieved={handleSectionsRetrieved}\n onpermissionerror={handlePermissionErrors}\n ontogglemodal={handleToggleModal}\n loading-text={loadingText}>\n </c-ge-form-renderer>\n\n <template if:false={isPermissionError}>\n <template if:true={isBatchMode}>\n <c-ge-batch-gift-entry-table\n title={giftsTableTitle}\n count={count}\n expected-count={expectedCountOfGifts}\n total={total}\n expected-total={expectedTotalBatchAmount}\n batch-id={recordId}\n onloaddata={handleLoadData}\n ondelete={handleDelete}\n oncountchanged={handleCountChanged}\n ontotalchanged={handleTotalChanged}>\n </c-ge-batch-gift-entry-table>\n </template>\n </template>\n</template>", "role": "assistant" } ]
[ { "content": "Make link link to link\n\nFixes #1445\n", "role": "system" }, { "content": "{% extends \"base.html\" %}\n\n{% load pipeline %}\n\n\n{% block extra_css %}\n{% stylesheet 'official_documents' %}\n{% endblock %}\n\n{% block hero %}<h1>{{ object.document_type }}</h1>{% endblock hero %}\n\n{% block content %}\n<p>The document we cached from <a href=\"{{ object.get_absolute_url }}\">{{ object.source_url }}</a>\n contains information on {{ document_posts.count }}\n area{{ document_posts.count|pluralize }}.</p>\n\n<ul>\n {% for document in document_posts %}\n <li>\n <a href=\"{{ document.ballot.get_absolute_url }}\">\n {{ document.ballot.post.label }}</a>\n {{ document.ballot.cancelled_status_html }}\n {{ document.ballot.locked_status_html }}\n {% if not document.locked and not document.lock_suggested %}\n <a href=\"{{ document.ballot.get_bulk_add_url }}\" class=\"button tiny\">\n Add candidates</a>\n {% endif %}\n </li>\n {% endfor %}\n</ul>\n\n{% endblock content %}\n", "role": "user" }, { "content": "{% extends \"base.html\" %}\n\n{% load pipeline %}\n\n\n{% block extra_css %}\n{% stylesheet 'official_documents' %}\n{% endblock %}\n\n{% block hero %}<h1>{{ object.document_type }}</h1>{% endblock hero %}\n\n{% block content %}\n<p>The document we cached from <a href=\"{{ object.source_url }}\">{{ object.source_url }}</a>\n contains information on {{ document_posts.count }}\n area{{ document_posts.count|pluralize }}.</p>\n\n<ul>\n {% for document in document_posts %}\n <li>\n <a href=\"{{ document.ballot.get_absolute_url }}\">\n {{ document.ballot.post.label }}</a>\n {{ document.ballot.cancelled_status_html }}\n {{ document.ballot.locked_status_html }}\n {% if not document.locked and not document.lock_suggested %}\n <a href=\"{{ document.ballot.get_bulk_add_url }}\" class=\"button tiny\">\n Add candidates</a>\n {% endif %}\n </li>\n {% endfor %}\n</ul>\n\n{% endblock content %}\n", "role": "assistant" } ]
[ { "content": "Use 'trimmed' for blocktrans in multi-line strings\n\nblocktrans trimmed option removes newlines from contents of blocktrans\nand replaces any whitespace at the beginning and end of a line into\na single space. This makes translator life easier.\nIt was inspired by a previous patch:\nhttps://review.openstack.org/#/c/318896/\n\nChange-Id: Ia4f2d52aa42f4d6c84416903a87618ddff3fbd82\nCloses-Bug: #1583757\n", "role": "system" }, { "content": "{% extends \"horizon/common/_modal_form.html\" %}\n{% load i18n %}\n\n{% block modal-body-right %}\n <h3>{% trans \"Description:\" %}</h3>\n <p>{% blocktrans %} You can create a port for the network.\n If you specify device ID to be attached, the device specified will\n be attached to the port created.\n {% endblocktrans %}\n </p>\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"horizon/common/_modal_form.html\" %}\n{% load i18n %}\n\n{% block modal-body-right %}\n <h3>{% trans \"Description:\" %}</h3>\n <p>{% blocktrans trimmed %} You can create a port for the network.\n If you specify device ID to be attached, the device specified will\n be attached to the port created.\n {% endblocktrans %}\n </p>\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Add a persistent partition ID\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>Google Inbox</title>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"assets/app.css\">\n </head>\n <body>\n <div class=\"app\">\n <webview id=\"app-view\" class=\"app-view\" src=\"https://inbox.google.com\">\n </div>\n </body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <title>Google Inbox</title>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"assets/app.css\">\n </head>\n <body>\n <div class=\"app\">\n <webview id=\"app-view\" class=\"app-view\" src=\"https://inbox.google.com\" partition=\"persist:jbgoogleinbox\">\n </div>\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Remove link to home page on password reset complete\n\nhttps://www.kbsoftware.co.uk/crm/ticket/2111/\n", "role": "system" }, { "content": "{% extends 'dash/base.html' %}\n\n{% block sub_title %}\n Password reset complete\n{% endblock sub_title %}\n\n{% block sub_heading %}\n Your password has been reset...\n{% endblock sub_heading %}\n\n{% block content %}\n <div class=\"pure-g\">\n <div class=\"pure-u-1\">\n <p>\n Your password has been reset.\n </p>\n <p>\n <a href=\"{% url 'login' %}\">Click here to go to the login page...</a>\n </p>\n <p>\n <a href=\"{% url 'project.home' %}\">Click here to go to the home page...</a>\n </p>\n </div>\n </div>\n{% endblock content %}\n", "role": "user" }, { "content": "{% extends 'dash/base.html' %}\n\n{% block sub_title %}\n Password reset complete\n{% endblock sub_title %}\n\n{% block sub_heading %}\n Your password has been reset...\n{% endblock sub_heading %}\n\n{% block content %}\n <div class=\"pure-g\">\n <div class=\"pure-u-1\">\n <p>\n Your password has been reset.\n </p>\n <p>\n <a href=\"{% url 'login' %}\">Click here to go to the login page...</a>\n </p>\n </div>\n </div>\n{% endblock content %}\n", "role": "assistant" } ]
[ { "content": "Tidy head, make use of site.title.\n", "role": "system" }, { "content": "<!doctype html>\n<html class=\"home\">\n <head>\n <title>select2-bootstrap-css</title>\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\n <script src=\"http://ivaynberg.github.io/select2/select2-3.4.2/select2.js\"></script>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"http://ivaynberg.github.io/select2/select2-3.4.2/select2.css\"/>\n <link href=\"http://twbs.github.io/bootstrap/dist/css/bootstrap.css\" rel=\"stylesheet\">\n <link rel=\"stylesheet\" href=\"http://glyphicons.getbootstrap.com/css/bootstrap-glyphicons.css\">\n <link rel=\"stylesheet\" type=\"text/css\" href=\"select2-bootstrap.css\"/>\n <link rel=\"stylesheet\" href=\"gh-pages.css\">\n </head>\n <body>\n {{ content }}\n </body>\n</html>", "role": "user" }, { "content": "<!doctype html>\n<html class=\"home\">\n <head>\n <title>{{ site.title }}</title>\n <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\n <script src=\"http://ivaynberg.github.io/select2/select2-3.4.2/select2.js\"></script>\n <link rel=\"stylesheet\" href=\"http://ivaynberg.github.io/select2/select2-3.4.2/select2.css\">\n <link rel=\"stylesheet\" href=\"http://twbs.github.io/bootstrap/dist/css/bootstrap.css\">\n <link rel=\"stylesheet\" href=\"http://glyphicons.getbootstrap.com/css/bootstrap-glyphicons.css\">\n <link rel=\"stylesheet\" href=\"select2-bootstrap.css\">\n <link rel=\"stylesheet\" href=\"gh-pages.css\">\n </head>\n <body>\n {{ content }}\n </body>\n</html>", "role": "assistant" } ]
[ { "content": "[TASK] Reduce size of external media preview\n", "role": "system" }, { "content": "{namespace bk2k = BK2K\\BootstrapPackage\\ViewHelpers}\n\n<br>\n\n<bk2k:externalMedia url=\"{external_media_source}\" class=\"embed-responsive-item\">\n <f:if condition=\"{externalMedia}\">\n <f:then>\n <div class=\"embed-responsive embed-responsive-{external_media_ratio}\">\n <f:format.raw>{externalMedia}</f:format.raw>\n </div>\n </f:then>\n <f:else>\n <div class=\"alert alert-warning\">\n <f:translate key=\"externalmediaunsupported\" extensionName=\"bootstrap_package\" arguments=\"{0: '<strong>{external_media_source}</strong>'}\" />\n </div>\n </f:else>\n </f:if>\n</bk2k:externalMedia>", "role": "user" }, { "content": "{namespace bk2k = BK2K\\BootstrapPackage\\ViewHelpers}\n\n<br>\n\n<bk2k:externalMedia url=\"{external_media_source}\" class=\"embed-responsive-item\">\n <f:if condition=\"{externalMedia}\">\n <f:then>\n <div style=\"max-width: 400px;\">\n <div class=\"embed-responsive embed-responsive-{external_media_ratio}\">\n <f:format.raw>{externalMedia}</f:format.raw>\n </div>\n </div>\n </f:then>\n <f:else>\n <div class=\"alert alert-warning\">\n <f:translate key=\"externalmediaunsupported\" extensionName=\"bootstrap_package\" arguments=\"{0: '<strong>{external_media_source}</strong>'}\" />\n </div>\n </f:else>\n </f:if>\n</bk2k:externalMedia>", "role": "assistant" } ]
[ { "content": "Add sitename in title for posts\n", "role": "system" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <meta name=\"msvalidate.01\" content=\"7804C9A97D8D42178C32C4B2E11A418E\" />\n <title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title>\n\n <!-- CSS -->\n <link rel=\"stylesheet\" href=\"{{ site.baseurl }}/assets/css/main.css\" type=\"text/css\">\n\n <!-- Font -->\n <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\n <link href='//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css' rel='stylesheet' type='text/css'>\n\n\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS Feed for {{ site.name }}\" href=\"{{ site.baseurl }}/feed.xml\" />\n\n {% seo %}\n {% include google-analytics.html %}\n\n</head>\n", "role": "user" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <meta name=\"msvalidate.01\" content=\"7804C9A97D8D42178C32C4B2E11A418E\" />\n <title>{% if page.title %}{{ page.title}} | {{ site.name }}{% else %}{{ site.name }}{% endif %}</title>\n\n <!-- CSS -->\n <link rel=\"stylesheet\" href=\"{{ site.baseurl }}/assets/css/main.css\" type=\"text/css\">\n\n <!-- Font -->\n <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\n <link href='//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css' rel='stylesheet' type='text/css'>\n\n\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS Feed for {{ site.name }}\" href=\"{{ site.baseurl }}/feed.xml\" />\n\n {% seo %}\n {% include google-analytics.html %}\n\n</head>\n", "role": "assistant" } ]
[ { "content": "Include ga.html only when google_analytics key exist in config.\n", "role": "system" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n <meta name=\"description\" content=\"{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}\">\n\n <link rel=\"stylesheet\" href=\"{{ \"/css/main.css\" | prepend: site.baseurl }}\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}\">\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ site.title | escape }}\" href=\"{{ \"/feed.xml\" | prepend: site.baseurl | prepend: site.url }}\">\n {% if jekyll.environment == 'production' %}\n {% include ga.html %}\n {% endif %}\n</head>\n", "role": "user" }, { "content": "<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>\n <meta name=\"description\" content=\"{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}\">\n\n <link rel=\"stylesheet\" href=\"{{ \"/css/main.css\" | prepend: site.baseurl }}\">\n <link rel=\"canonical\" href=\"{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}\">\n <link rel=\"alternate\" type=\"application/rss+xml\" title=\"{{ site.title | escape }}\" href=\"{{ \"/feed.xml\" | prepend: site.baseurl | prepend: site.url }}\">\n {% if jekyll.environment == 'production' and site.google_analytics %}\n {% include ga.html %}\n {% endif %}\n</head>\n", "role": "assistant" } ]
[ { "content": "Adjust 'image' visualizer: don't stratch image if its width lower\n", "role": "system" }, { "content": "<wicket:panel>\n<img wicket:id=\"image\" width=\"100%\"/>\n</wicket:panel>", "role": "user" }, { "content": "<wicket:panel>\n<img wicket:id=\"image\" class=\"mw-100\"/>\n</wicket:panel>", "role": "assistant" } ]
[ { "content": "Make sure INS and DEL tags don't get escaped in interp titles\n", "role": "system" }, { "content": "{% comment %}\n Template for each level of the interpretation tree\n{% endcomment %}\n<section {% if not inline %}id=\"{{interp.markup_id}}\"{% endif %}>\n {% if inline %}\n <h5> {{ interp.header }}</h5>\n {% elif interp.section_header %}\n <h3 tabindex=\"0\"> {{ interp.header }}</h3>\n {% else %}\n <h4 class='interp-subheading' tabindex=\"0\"> {{ interp.header_markup|safe }} </h4>\n {% endif %}\n\n {%if interp.marked_up %}\n <p> \n {{interp.marked_up|safe}}\n </p>\n {% endif %}\n\n {% if interp.par_children %}\n <ol class=\"level-1\" type=\"1\">\n {% for par_child in interp.par_children %}\n {% with node=par_child %}\n {% include \"tree-with-wrapper.html\" %}\n {% endwith %}\n {% endfor %}\n </ol>\n {% endif %}\n\n {% if not inline and interp.header_children %}\n {% for header_child in interp.header_children %}\n {% with interp=header_child template_name=\"interp-tree.html\" %}\n {% include template_name %}\n {% endwith %}\n {% endfor %}\n {% endif %}\n</section>\n", "role": "user" }, { "content": "{% comment %}\n Template for each level of the interpretation tree\n{% endcomment %}\n<section {% if not inline %}id=\"{{interp.markup_id}}\"{% endif %}>\n {% if inline %}\n <h5> {{ interp.header|safe }}</h5>\n {% elif interp.section_header %}\n <h3 tabindex=\"0\"> {{ interp.header|safe }}</h3>\n {% else %}\n <h4 class='interp-subheading' tabindex=\"0\"> {{ interp.header_markup|safe }} </h4>\n {% endif %}\n\n {%if interp.marked_up %}\n <p> \n {{interp.marked_up|safe}}\n </p>\n {% endif %}\n\n {% if interp.par_children %}\n <ol class=\"level-1\" type=\"1\">\n {% for par_child in interp.par_children %}\n {% with node=par_child %}\n {% include \"tree-with-wrapper.html\" %}\n {% endwith %}\n {% endfor %}\n </ol>\n {% endif %}\n\n {% if not inline and interp.header_children %}\n {% for header_child in interp.header_children %}\n {% with interp=header_child template_name=\"interp-tree.html\" %}\n {% include template_name %}\n {% endwith %}\n {% endfor %}\n {% endif %}\n</section>\n", "role": "assistant" } ]
[ { "content": "Add link to posts in blogadmin post list\n", "role": "system" }, { "content": "{% extends \"admin_base.html\" %}\n\n{% block content %}\n\n{% include \"post/post_header.html\" %}\n\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>id</th>\n <th>title</th>\n <th>slug</th>\n <th>live</th>\n <th>page</th>\n <th>mytags</th>\n <th></th> \n </tr>\n </thead>\n <tbody>\n {% for post in posts %}\n <tr>\n <td>{{ post.id }}</td>\n <td><a href=\"/{{ post.slug }}/\">{{ post.title }}</a></td>\n <td>{{ post.slug }}</td>\n <td>{{ post.live }}</td>\n <td>{{ post.page }}</td>\n <td>{{ post.mytags }}</td>\n <td class=\"buttons\">\n <a class=\"btn btn-danger pull-right\" href=\"{% url \"delete_post\" post.id %}\"><i class=\"icon-trash icon-white\"></i> Delete</a>\n <a href=\"{% url \"edit_post\" post.id %}\" class=\"btn btn-primary pull-right\"><i class=\"icon-edit icon-white\"></i> Edit</a>\n </td>\n </tr>\n {% endfor %}\n </tbody>\n</table>\n\n{% endblock content %}\n", "role": "user" }, { "content": "{% extends \"admin_base.html\" %}\n\n{% block content %}\n\n{% include \"post/post_header.html\" %}\n\n<table class=\"table table-hover\">\n <thead>\n <tr>\n <th>id</th>\n <th>title</th>\n <th>slug</th>\n <th>live</th>\n <th>page</th>\n <th>mytags</th>\n <th></th> \n </tr>\n </thead>\n <tbody>\n {% for post in posts %}\n <tr>\n <td>{{ post.id }}</td>\n <td><a target=\"_blank\" href=\"/{{ post.slug }}/\">{{ post.title }}</a></td>\n <td>{{ post.slug }}</td>\n <td>{{ post.live }}</td>\n <td>{{ post.page }}</td>\n <td>{{ post.mytags }}</td>\n <td class=\"buttons\">\n <a class=\"btn btn-danger pull-right\" href=\"{% url \"delete_post\" post.id %}\"><i class=\"icon-trash icon-white\"></i> Delete</a>\n <a href=\"{% url \"edit_post\" post.id %}\" class=\"btn btn-primary pull-right\"><i class=\"icon-edit icon-white\"></i> Edit</a>\n </td>\n </tr>\n {% endfor %}\n </tbody>\n</table>\n\n{% endblock content %}\n", "role": "assistant" } ]
[ { "content": "Add close & minimize buttons", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n<head>\n\t<meta charset=\"UTF-8\">\n\t<title>BattlefieldCC</title>\n</head>\n<body>\n\t<h1>Battlefield Command and Control</h1>\n <script src=\"\"></script>\n</body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n<head>\n\t<meta charset=\"UTF-8\">\n\t<title>Revive Network Command and Control</title>\n</head>\n<body>\n\t<div class=\"titlebar\">\n\t\t<div class=\"window-buttons float-right\">\n\t\t\t<div id=\"minimize-window\"></div>\n\t\t\t<div id=\"close-window\"></div>\n\t\t</div>\n\t</div>\n\t\n\t<h1>ReviveCC</h1>\n\t\n <script src=\"js/wincontrol.js\"></script>\n</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Add color to td cells border\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Table</title>\n\t\t<!-- global styling - applies to all the tables with in the html page --> \n\t\t<style> \n\t\t\ttable {\n\t\t\t\tborder:1px black solid;\n\t\t\t}\n\t\t\t\n\t\t\ttable th{\n\t\t\t\tborder:1px black solid;\n\t\t\t}\n\t\t\t\n\t\t\ttable td{\n\t\t\t\tborder:1px black solid;\n\t\t\t}\n\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<table>\n\t\t\n\t\t\t<tr>\n\t\t\t\t<th>Player Name</th>\n\t\t\t\t<th>Shots</th>\n\t\t\t\t<th>Points</th>\n\t\t\t\t<th>Free Throws</th>\n\t\t\t\t<th>Rebounds</th>\n\t\t\t\t<th>Steals</th>\n\t\t\t\t<th>Assists</th>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Jason Bourne</td>\n\t\t\t\t<td>32</td>\n\t\t\t\t<td>18</td>\n\t\t\t\t<td>7/10</td>\n\t\t\t\t<td>6</td>\n\t\t\t\t<td>2</td>\n\t\t\t\t<td>4</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Tony Stark</td>\n\t\t\t\t<td>24</td>\n\t\t\t\t<td>17</td>\n\t\t\t\t<td>6/12</td>\n\t\t\t\t<td>5</td>\n\t\t\t\t<td>8</td>\n\t\t\t\t<td>13</td>\n\t\t\t</tr>\n\n\t\t</table>\t\t\n\n\t</body>\n</html>", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Table</title>\n\t\t<!-- global styling - applies to all the tables with in the html page --> \n\t\t<style> \n\t\t\ttable {\n\t\t\t\tborder:1px black solid;\n\t\t\t}\n\t\t\t\n\t\t\ttable th{\n\t\t\t\tborder:1px black solid;\n\t\t\t}\n\t\t\t\n\t\t\ttable td{\n\t\t\t\tborder:1px #345567 solid;\n\t\t\t}\n\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<table>\n\t\t\n\t\t\t<tr>\n\t\t\t\t<th>Player Name</th>\n\t\t\t\t<th>Shots</th>\n\t\t\t\t<th>Points</th>\n\t\t\t\t<th>Free Throws</th>\n\t\t\t\t<th>Rebounds</th>\n\t\t\t\t<th>Steals</th>\n\t\t\t\t<th>Assists</th>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Jason Bourne</td>\n\t\t\t\t<td>32</td>\n\t\t\t\t<td>18</td>\n\t\t\t\t<td>7/10</td>\n\t\t\t\t<td>6</td>\n\t\t\t\t<td>2</td>\n\t\t\t\t<td>4</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Tony Stark</td>\n\t\t\t\t<td>24</td>\n\t\t\t\t<td>17</td>\n\t\t\t\t<td>6/12</td>\n\t\t\t\t<td>5</td>\n\t\t\t\t<td>8</td>\n\t\t\t\t<td>13</td>\n\t\t\t</tr>\n\n\t\t</table>\t\t\n\n\t</body>\n</html>", "role": "assistant" } ]
[ { "content": "Add top margin to feedback footer\n", "role": "system" }, { "content": "---\nlayout: default\n---\n\n<section class='page-section blog-post strong-headers'>\n <div class='container-narrow'>\n <h1>{{ page.title }}</h1>\n\n <div class=\"who-when mt-1 mb-4\">\n <span class=\"octicon octicon-calendar pr-2\"></span><time>{{ page.date | date: '%B %d, %Y' }}</time>\n <a href=\"https://github.com/{{ page.author }}\" class=\"author-link ml-3\"><img src=\"https://github.com/{{ page.author }}.png?size=36\" alt=\"{{ page.author }}\" class=\"avatar mr-2\">{{ page.author }}</a>\n <a href=\"{{ site.baseurl }}/feed.xml\" class=\"author-link ml-3\">\n <span class=\"octicon octicon-rss mr-1\"></span>\n <span class=\"label\">RSS Feed</span>\n </a>\n </div>\n\n {{ content }}\n\n <div class=\"bg-shade p-4 rounded-1\">\n <p>Have feedback on this post? Let <a target=\"_blank\" href=\"https://twitter.com/{{ site.twitter_username }}\">@{{ site.twitter_username }}</a> know on Twitter.</p>\n <p>Need help or found a bug? <a target=\"_blank\" href=\"{{ site.baseurl }}/contact\">Contact us</a>.</p>\n </div>\n </div>\n</section>\n", "role": "user" }, { "content": "---\nlayout: default\n---\n\n<section class='page-section blog-post strong-headers'>\n <div class='container-narrow'>\n <h1>{{ page.title }}</h1>\n\n <div class=\"who-when mt-1 mb-4\">\n <span class=\"octicon octicon-calendar pr-2\"></span><time>{{ page.date | date: '%B %d, %Y' }}</time>\n <a href=\"https://github.com/{{ page.author }}\" class=\"author-link ml-3\"><img src=\"https://github.com/{{ page.author }}.png?size=36\" alt=\"{{ page.author }}\" class=\"avatar mr-2\">{{ page.author }}</a>\n <a href=\"{{ site.baseurl }}/feed.xml\" class=\"author-link ml-3\">\n <span class=\"octicon octicon-rss mr-1\"></span>\n <span class=\"label\">RSS Feed</span>\n </a>\n </div>\n\n {{ content }}\n\n <div class=\"bg-shade mt-4 p-4 rounded-1\">\n <p>Have feedback on this post? Let <a target=\"_blank\" href=\"https://twitter.com/{{ site.twitter_username }}\">@{{ site.twitter_username }}</a> know on Twitter.</p>\n <p>Need help or found a bug? <a target=\"_blank\" href=\"{{ site.baseurl }}/contact\">Contact us</a>.</p>\n </div>\n </div>\n</section>\n", "role": "assistant" } ]
[ { "content": "Change title to \"My Cat Buddy\"\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html ng-app='cat-buddy'>\n <head>\n <meta charset=\"utf-8\" />\n <title>Cat Buddy</title>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"styles/style.css\" />\n </head>\n <body>\n <h1>My Cat Buddy</h1>\n <nav>\n <a href=\"#/search/cats\">Find a Cat Buddy!</a>\n <a href=\"#/saved/cats\">Saved Cat Buddies</a>\n </nav>\n <!-- the ng-view directive is where our templates will be loaded into when naviagted to -->\n <div ng-view></div>\n\n <script type=\"text/javascript\" src=\"lib/jquery/dist/jquery.min.js\"></script>\n <script type=\"text/javascript\" src=\"lib/angular/angular.js\"></script>\n <script type=\"text/javascript\" src=\"lib/angular-route/angular-route.js\"></script>\n <script type=\"text/javascript\" src=\"lib/ngInfiniteScroll/build/ng-infinite-scroll.min.js\"></script>\n\n <script src=\"app/config/petfinder.js\"></script>\n <script src=\"app/services/services.js\"></script>\n <script src=\"app/search/cat/searchCats.js\"></script>\n <script src=\"app/saved/cat/savedCats.js\"></script>\n <script src=\"app/client.js\"></script>\n </body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html ng-app='cat-buddy'>\n <head>\n <meta charset=\"utf-8\" />\n <title>My Cat Buddy</title>\n <link rel=\"stylesheet\" type=\"text/css\" href=\"styles/style.css\" />\n </head>\n <body>\n <h1>My Cat Buddy</h1>\n <nav>\n <a href=\"#/search/cats\">Find a Cat Buddy!</a>\n <a href=\"#/saved/cats\">Saved Cat Buddies</a>\n </nav>\n <!-- the ng-view directive is where our templates will be loaded into when naviagted to -->\n <div ng-view></div>\n\n <script type=\"text/javascript\" src=\"lib/jquery/dist/jquery.min.js\"></script>\n <script type=\"text/javascript\" src=\"lib/angular/angular.js\"></script>\n <script type=\"text/javascript\" src=\"lib/angular-route/angular-route.js\"></script>\n <script type=\"text/javascript\" src=\"lib/ngInfiniteScroll/build/ng-infinite-scroll.min.js\"></script>\n\n <script src=\"app/config/petfinder.js\"></script>\n <script src=\"app/services/services.js\"></script>\n <script src=\"app/search/cat/searchCats.js\"></script>\n <script src=\"app/saved/cat/savedCats.js\"></script>\n <script src=\"app/client.js\"></script>\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Add first line title link to string version\n", "role": "system" }, { "content": "{% macro format(title, title_link) -%}\n\n {% set address = formatted(title) %}\n\n {% if address.structured %}\n\n <div itemscope itemtype=\"http://schema.org/PostalAddress\">\n <span itemprop=\"streetAddress\">\n {% if title_link %}\n <h2 class=\"heading-medium collapse-top\"><a href=\"/property/{{ title_link }}\">\n {% endif %}\n {{ address.structured.house_no }} {{ address.structured.street_name }}\n {% if title_link %}\n </a></h2>\n {% else %}\n <br>\n {% endif %}\n </span>\n <span itemprop=\"addressLocality\">\n {{ address.structured.town }}<br>\n </span>\n <span itemprop=\"addressRegion\">\n {% if address.structured.postal_county %}\n {{ address.structured.postal_county }}<br>\n {% endif %}\n {% if address.structured.region_name %}\n {{ address.structured.region_name }}<br>\n {% endif %}\n </span>\n <span itemprop=\"postalCode\">\n {{ address.structured.postcode }}<br>\n </span>\n {% if address.structured.country %}\n <span itemprop=\"addressCountry\">\n {{ address.structured.country }}\n </span>\n {% endif %}\n </div>\n\n {% else %}\n\n {% for item in address.string.get_fields() %}\n {{ item }}<br>\n {% endfor %}\n\n {% endif %}\n\n{%- endmacro %}\n", "role": "user" }, { "content": "{% macro format(title, title_link) -%}\n\n {% set address = formatted(title) %}\n\n {% if address.structured %}\n\n <div itemscope itemtype=\"http://schema.org/PostalAddress\">\n <span itemprop=\"streetAddress\">\n {% if title_link %}\n <h2 class=\"heading-medium collapse-top\"><a href=\"/property/{{ title_link }}\">\n {% endif %}\n {{ address.structured.house_no }} {{ address.structured.street_name }}\n {% if title_link %}\n </a></h2>\n {% else %}\n <br>\n {% endif %}\n </span>\n <span itemprop=\"addressLocality\">\n {{ address.structured.town }}<br>\n </span>\n <span itemprop=\"addressRegion\">\n {% if address.structured.postal_county %}\n {{ address.structured.postal_county }}<br>\n {% endif %}\n {% if address.structured.region_name %}\n {{ address.structured.region_name }}<br>\n {% endif %}\n </span>\n <span itemprop=\"postalCode\">\n {{ address.structured.postcode }}<br>\n </span>\n {% if address.structured.country %}\n <span itemprop=\"addressCountry\">\n {{ address.structured.country }}\n </span>\n {% endif %}\n </div>\n\n {% else %}\n\n {% for item in address.string.get_fields() %}\n {% if loop.first and title_link %}\n <h2 class=\"heading-medium collapse-top\">\n <a href=\"/property/{{ title_link }}\">{{ item }}</a>\n </h2>\n {% endif %}\n {{ item }}<br>\n {% endfor %}\n\n {% endif %}\n\n{%- endmacro %}\n", "role": "assistant" } ]
[ { "content": "Add link to password reset form\n", "role": "system" }, { "content": "{% extends \"base.html\" %}\n\n{% block title %}Log in{% endblock %}\n\n{% block content %}\n\n<div class=\"login-header\">\n <h1>Log in</h1>\n</div>\n\n<form class=login-form method=\"post\" action=\"?next={{ next|default:\"/\" }}\">{% csrf_token %}\n\n <div class=\"field-group {%if form.username.errors %}error{% endif %}\">\n <label class=field-label>Username:</label>\n <div class=fields>\n {{ form.username }}\n\n {% if form.username.errors %}\n <div class=error-message>\n {{form.username.errors|join:\", \"}}\n </div>\n {% endif %}\n </div>\n </div>\n\n <div class=\"field-group {%if form.password.errors %}error{%endif%}\">\n <label class=field-label>Password:</label>\n <div class=fields>\n {{ form.password }}\n\n {% if form.password.errors %}\n <div class=error-message>\n {{form.password.errors|join:\", \"}}\n </div>\n {% endif %}\n </div>\n </div>\n\n <span class=\"float-left\">Not registered?\n <a href=\"/accounts/register/\">Sign up</a>\n </span>\n<input class=\"button float-right\" type=\"submit\" value=\"Log in\" />\n</form>\n\n{% endblock %}\n\n", "role": "user" }, { "content": "{% extends \"base.html\" %}\n\n{% block title %}Log in{% endblock %}\n\n{% block content %}\n\n<div class=\"login-header\">\n <h1>Log in</h1>\n</div>\n\n<form class=login-form method=\"post\" action=\"?next={{ next|default:\"/\" }}\">{% csrf_token %}\n\n <div class=\"field-group {%if form.username.errors %}error{% endif %}\">\n <label class=field-label>Username:</label>\n <div class=fields>\n {{ form.username }}\n\n {% if form.username.errors %}\n <div class=error-message>\n {{form.username.errors|join:\", \"}}\n </div>\n {% endif %}\n </div>\n </div>\n\n <div class=\"field-group {%if form.password.errors %}error{%endif%}\">\n <label class=field-label>Password:</label>\n <div class=fields>\n {{ form.password }}\n\n {% if form.password.errors %}\n <div class=error-message>\n {{form.password.errors|join:\", \"}}\n </div>\n {% endif %}\n </div>\n </div>\n\n <span class=\"float-left\">\n <p>\n <a href=\"/accounts/password/reset/\">Forgot password?</a>\n </p>\n <p>Not registered?\n <a href=\"/accounts/register/\">Sign up</a>\n </p>\n </span>\n\n <input class=\"button float-right\" type=\"submit\" value=\"Log in\" />\n</form>\n\n{% endblock %}\n\n", "role": "assistant" } ]
[ { "content": "Format the data access choices properly\n", "role": "system" }, { "content": "{% extends 'dataedit/dataview.html' %}\n{% load staticfiles %}\n{% block title %} How to access our data {% endblock %}\n\n{% block data_content %}\n<h3> How to access the database? </h3>\n <table style=\"width:90%\">\n <tr>\n <td width=\"40%\">\n <a href=\"/dataedit/schemas\">\n <img src=\"{% static 'dataedit/dataview.png' %}\"/>\n </a>\n </td>\n <td width=\"10%\">\n\n </td>\n <td width=\"40%\">\n <a href=\"http://oep-data-interface.readthedocs.io/en/latest/api/how_to.html\">\n <img src=\"{% static 'dataedit/api.png' %}\"/>\n </a>\n </td>\n </tr>\n <tr>\n <td width=\"40%\">\n Use the OEP-Dataview if you want to browse data and get an\n overview on what kind of datasets are available on the OEP and\n how they are structured. The OEP features functionalities for\n different views on datasets, such as graphs and maps.\n </td>\n <td width=\"10%\">\n\n </td>\n <td width=\"40%\">\n Use the OEP-API if you want to use the data published on this\n platform for your own purpose. You may also add new datasets to\n the platform, create new tables and much more.\n </td>\n </tr>\n </table>\n\n{% endblock %}", "role": "user" }, { "content": "{% extends 'dataedit/dataview.html' %}\n{% load staticfiles %}\n{% block title %} How to access our data {% endblock %}\n\n{% block data_content %}\n <h3> How to access the database? </h3>\n <div style=\"clear: left; float: left; position: relative; left: 50%;\">\n <table style=\"float: left; position: relative; right: 50%;\">\n <tr>\n <td style=\"width:440px;padding-right:50px\">\n <a href=\"/dataedit/schemas\">\n <img src=\"{% static 'dataedit/dataview.png' %}\"/>\n </a>\n </td>\n <td>\n <a href=\"http://oep-data-interface.readthedocs.io/en/latest/api/how_to.html\">\n <img src=\"{% static 'dataedit/api.png' %}\"/>\n </a>\n </td>\n </tr>\n <tr>\n <td style=\"width:440px;padding-right:50px;vertical-align: text-top;\" >\n Use the OEP-Dataview if you want to browse data and get an\n overview on what kind of datasets are available on the OEP and\n how they are structured. The OEP features functionalities for\n different views on datasets, such as graphs and maps.\n </td>\n <td style=\"width:440px;vertical-align: text-top;\">\n Use the OEP-API if you want to use the data published on this\n platform for your own purpose. You may also add new datasets to\n the platform, create new tables and much more.\n </td>\n </tr>\n </table>\n </div>\n{% endblock %}", "role": "assistant" } ]
[ { "content": "Fix semantic markup in articles\n", "role": "system" }, { "content": "<!----*- engine:go -*--->\n<!DOCTYPE html>\n{{ template \"partials/head.html\" . }}\n{{ template \"partials/header.html\" . }}\n\n<main>\n <article>\n <header class=\"article-header\">\n <h1>{{ .Title }}</h1>\n <p><time datetime=\"{{ .Date.Format \"2006-01-02T15:04:05Z07:00\" }}\">{{ upper (.Date.Format \"January 2, 2006\") }}</time></p>\n </header>\n </article>\n {{ .Content }}\n</main>\n\n{{ template \"partials/footer.html\" . }}\n</html>\n", "role": "user" }, { "content": "<!----*- engine:go -*--->\n<!DOCTYPE html>\n{{ template \"partials/head.html\" . }}\n{{ template \"partials/header.html\" . }}\n\n<main>\n <article>\n <header class=\"article-header\">\n <h1>{{ .Title }}</h1>\n <p><time datetime=\"{{ .Date.Format \"2006-01-02T15:04:05Z07:00\" }}\">{{ upper (.Date.Format \"January 2, 2006\") }}</time></p>\n </header>\n\n {{ .Content }}\n\n </article>\n</main>\n\n{{ template \"partials/footer.html\" . }}\n</html>\n", "role": "assistant" } ]
[ { "content": "Move topic application homepage text within conditional\n", "role": "system" }, { "content": "{% extends \"topics/base.html\" %}\n\n{% load i18n %}\n{% load static %}\n{% load django_bootstrap_breadcrumbs %}\n\n{% block breadcrumbs %}\n {{ block.super }}\n {% breadcrumb \"Topics\" \"topics:index\" %}\n{% endblock breadcrumbs %}\n\n{% block content %}\n <h1>{% trans \"Topics\" %}</h1>\n <p>Open a topic to see all related unit plans, lessons, curriculum integrations, and programming exercises.</p>\n\n {% if all_topics %}\n <div class=\"card-deck\">\n {% for topic in all_topics %}\n <a class=\"card text-center\" href=\"{% url 'topics:topic' topic.slug %}\">\n <img class=\"img-fluid card-img\" src=\"{% if topic.icon %}{% static topic.icon %}{% else %}http://placehold.it/238x200{% endif %}\">\n <div class=\"card-block\">\n <h4 class=\"card-title\">{{ topic.name }}</h4>\n </div>\n </a>\n {% endfor %}\n </div>\n {% else %}\n <p>No topics are available.</p>\n {% endif %}\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"topics/base.html\" %}\n\n{% load i18n %}\n{% load static %}\n{% load django_bootstrap_breadcrumbs %}\n\n{% block breadcrumbs %}\n {{ block.super }}\n {% breadcrumb \"Topics\" \"topics:index\" %}\n{% endblock breadcrumbs %}\n\n{% block content %}\n <h1>{% trans \"Topics\" %}</h1>\n\n {% if all_topics %}\n <p>Open a topic to see all related unit plans, lessons, curriculum integrations, and programming exercises.</p>\n <div class=\"card-deck\">\n {% for topic in all_topics %}\n <a class=\"card text-center\" href=\"{% url 'topics:topic' topic.slug %}\">\n <img class=\"img-fluid card-img\" src=\"{% if topic.icon %}{% static topic.icon %}{% else %}http://placehold.it/238x200{% endif %}\">\n <div class=\"card-block\">\n <h4 class=\"card-title\">{{ topic.name }}</h4>\n </div>\n </a>\n {% endfor %}\n </div>\n {% else %}\n <p>No topics are available.</p>\n {% endif %}\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Bring in the question querying syntax here too\n", "role": "system" }, { "content": "{% for choice in field.choices if choice.value in data[field.field_name] %}\n<a href=\"/dataset?{{field.field_name}}={{choice.value}}\">{{choice.label}}</a>{% if not loop.last %},<br>{% endif %}\n{% endfor %}\n", "role": "user" }, { "content": "{% for choice in field.choices if choice.value in data[field.field_name] %}\n<a href='/dataset?q={{field.field_name}}:\"[\\\"{{choice.value}}\\\"]\"'>{{choice.label}}</a>{% if not loop.last %},<br>{% endif %}\n{% endfor %}\n", "role": "assistant" } ]
[ { "content": "UI: Add documentation links to `About` page\n", "role": "system" }, { "content": "<h1>About</h1>\n\n<p class=\"index-page--subtitle\">\n Spring XD is a unified, distributed, and extensible system for data ingestion,\n real time analytics, batch processing, and data export. The project's goal is to\n simplify the development of big data applications.\n</p>\n", "role": "user" }, { "content": "<h1>About</h1>\n\n<p class=\"index-page--subtitle\">\n Spring XD is a unified, distributed, and extensible system for data ingestion,\n real time analytics, batch processing, and data export. The project's goal is to\n simplify the development of big data applications.\n</p>\n\n<h2>Need Help or Found an Issue?</h2>\n\n<table class=\"table table-hover\">\n <tbody>\n <tr>\n <td>Project Page</td><td><a target=\"_blank\" href=\"http://projects.spring.io/spring-xd/\">http://projects.spring.io/spring-xd/</a></td>\n </tr>\n <tr>\n <td>Sources</td><td><a target=\"_blank\" href=\"https://github.com/spring-projects/spring-xd/\">https://github.com/spring-projects/spring-xd/</a></td>\n </tr>\n <tr>\n <td>Documentation</td><td><a target=\"_blank\" href=\"http://docs.spring.io/spring-xd/docs/1.0.x/reference/html/\">http://docs.spring.io/spring-xd/docs/1.0.x/reference/html/</a></td>\n </tr>\n <tr>\n <td>API Docs</td><td><a target=\"_blank\" href=\"http://docs.spring.io/spring-xd/docs/1.0.x/api/\">http://docs.spring.io/spring-xd/docs/1.0.x/api/</a></td>\n </tr>\n <tr>\n <td>Support Forum</td><td><a target=\"_blank\" href=\"http://stackoverflow.com/questions/tagged/spring-xd\">http://stackoverflow.com/questions/tagged/spring-xd</a></td>\n </tr>\n <tr>\n <td>Issue Tracker</td><td><a target=\"_blank\" href=\"https://jira.spring.io/browse/XD\">https://jira.spring.io/browse/XD</a></td>\n </tr>\n </tbody>\n</table>\n\n", "role": "assistant" } ]
[ { "content": "Change Blogs to Blog in generalTitle\n", "role": "system" }, { "content": "{{ $.Scratch.Set \"generalTitle\" .Title }}\n{{ if and (.IsNode) (eq .Data.Plural \"categories\") }}\n {{ if ne .Data.Plural (lower .Title) }}\n {{ $.Scratch.Add \"generalTitle\" \" Posts - \" }}\n {{ else }}\n {{ $.Scratch.Add \"generalTitle\" \" - \" }}\n {{ end }}\n{{ else }}\n {{ $.Scratch.Add \"generalTitle\" \" - \" }}\n{{ end }}\n{{ $.Scratch.Add \"generalTitle\" .Site.Title }}\n", "role": "user" }, { "content": "{{ $.Scratch.Set \"generalTitle\" .Title }}\n{{ if eq ($.Scratch.Get \"generalTitle\") \"Blogs\" }}\n {{ $.Scratch.Set \"generalTitle\" \"Blog\" }}\n{{ end }}\n{{ if and (.IsNode) (eq .Data.Plural \"categories\") }}\n {{ if ne .Data.Plural (lower .Title) }}\n {{ $.Scratch.Add \"generalTitle\" \" Posts - \" }}\n {{ else }}\n {{ $.Scratch.Add \"generalTitle\" \" - \" }}\n {{ end }}\n{{ else }}\n {{ $.Scratch.Add \"generalTitle\" \" - \" }}\n{{ end }}\n{{ $.Scratch.Add \"generalTitle\" .Site.Title }}\n", "role": "assistant" } ]
[ { "content": "Fix a small typo ('autmation')", "role": "system" }, { "content": "{% extends 'material/frontend/base.html' %}\n{% load static %}\n\n{% block title %}Viewflow - business process autmation with python and django{% endblock %}\n\n{% block css %}\n{{ block.super }}\n<link href=\"{% static 'demo/css/shepherd-theme-arrows.css' %}\" rel=\"stylesheet\">\n{% endblock %}\n\n{% block js %}\n{{ block.super }}\n<script src=\"{% static 'demo/js/shepherd.js' %}\" type=\"text/javascript\"></script>\n<script src=\"{% static 'demo/js/jquery.cookie.js' %}\" type=\"text/javascript\"></script>\n{% endblock %}\n\n{% block top_menu_extra %}\n<li id=\"login_as_menu\"><a class=\"dropdown-button\" href=\"#!\" data-activates=\"user-login-as-menu\"><i class=\"mdi-navigation-arrow-drop-down right\"></i>Login As</a></li>\n<ul id=\"user-login-as-menu\" class=\"dropdown-content\" style=\"min-width:200px\">\n {% for user in users %}\n <li><a class=\"no-pjax\" href=\"{% url 'login_as' %}?user_pk={{ user.pk }}\">{{ user }}</a></li>\n {% endfor %}\n</ul>\n{% endblock %}\n\n\n{% block main %}\n{{ block.super }}\n{% include 'demo/wizard.html' %}\n{% endblock %}\n", "role": "user" }, { "content": "{% extends 'material/frontend/base.html' %}\n{% load static %}\n\n{% block title %}Viewflow - business process automation with python and django{% endblock %}\n\n{% block css %}\n{{ block.super }}\n<link href=\"{% static 'demo/css/shepherd-theme-arrows.css' %}\" rel=\"stylesheet\">\n{% endblock %}\n\n{% block js %}\n{{ block.super }}\n<script src=\"{% static 'demo/js/shepherd.js' %}\" type=\"text/javascript\"></script>\n<script src=\"{% static 'demo/js/jquery.cookie.js' %}\" type=\"text/javascript\"></script>\n{% endblock %}\n\n{% block top_menu_extra %}\n<li id=\"login_as_menu\"><a class=\"dropdown-button\" href=\"#!\" data-activates=\"user-login-as-menu\"><i class=\"mdi-navigation-arrow-drop-down right\"></i>Login As</a></li>\n<ul id=\"user-login-as-menu\" class=\"dropdown-content\" style=\"min-width:200px\">\n {% for user in users %}\n <li><a class=\"no-pjax\" href=\"{% url 'login_as' %}?user_pk={{ user.pk }}\">{{ user }}</a></li>\n {% endfor %}\n</ul>\n{% endblock %}\n\n\n{% block main %}\n{{ block.super }}\n{% include 'demo/wizard.html' %}\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Improve wording around cte email alerts.\n", "role": "system" }, { "content": "{% if current_user.is_authenticated() %}\n {% if current_user.gets_alerts_for(committee.id) %}\n <div class=\"email-alert-box subscribed\">\n <p>You're subscribed to our free email alerts for this committee.</p>\n <a class=\"btn btn-default\" href=\"{{ url_for('email_alerts') }}\">Manage email alerts</a>\n </div>\n\n {% else %}\n\n <form action=\"{{ url_for('user_committee_alert', committee_id=committee.id) }}\" method=\"POST\">\n <input type=\"hidden\" name=\"csrf_token\" value=\"{{ csrf_token() }}\">\n <input type=\"hidden\" name=\"next\" value=\"{{ request.url }}\">\n <div class=\"email-alert-box\">\n <p>Get <a href=\"{{ url_for('email_alerts') }}\">free email alerts</a> for this committee.</p>\n <button class=\"btn btn-success\" type=\"submit\">Subscribe to {{ committee.name }}</button>\n </div>\n </form>\n {% endif %}\n{% else %}\n <div class=\"email-alert-box\">\n <p>Get <a href=\"{{ url_for('email_alerts') }}\">free email alerts</a> for this committee.</p>\n <a class=\"btn btn-success\" href=\"{{ url_for('security.register', next=request.path, utm_source='cte-alert-box') }}\">Sign up for alerts</a>\n </div>\n{% endif %}\n", "role": "user" }, { "content": "{% if current_user.is_authenticated() %}\n {% if current_user.gets_alerts_for(committee.id) %}\n <div class=\"email-alert-box subscribed\">\n <p>You're subscribed to our free email alerts for this committee.</p>\n <a class=\"btn btn-default\" href=\"{{ url_for('email_alerts') }}\">Manage your alerts</a>\n </div>\n\n {% else %}\n\n <form action=\"{{ url_for('user_committee_alert', committee_id=committee.id) }}\" method=\"POST\">\n <input type=\"hidden\" name=\"csrf_token\" value=\"{{ csrf_token() }}\">\n <input type=\"hidden\" name=\"next\" value=\"{{ request.url }}\">\n <div class=\"email-alert-box\">\n <p>\n <button class=\"btn btn-success\" type=\"submit\">Create an alert</button>\n </p>\n\n Get <a href=\"{{ url_for('email_alerts') }}\">free email alerts</a> when we add new information for this committee.\n </div>\n </form>\n {% endif %}\n{% else %}\n <div class=\"email-alert-box\">\n <p>\n <a class=\"btn btn-success\" href=\"{{ url_for('security.register', next=request.path, utm_source='cte-alert-box') }}\">Sign up for alerts</a>\n </p>\n Get <a href=\"{{ url_for('email_alerts') }}\">free email alerts</a> when we add new information for this committee.\n </div>\n{% endif %}\n", "role": "assistant" } ]
[ { "content": "Add appropriate icons for contact\n", "role": "system" }, { "content": "<footer class=\"footer\">\n <div class=\"container\">\n <div class=\"content has-text-centered\">\n <a href=\"https://www.google.com/maps/place/Community+Forge/@40.4375754,-79.8767188,17z/data=!4m13!1m7!3m6!1s0x8834edd4b31f453f:0xcee6a30003d7ca5!2s1256+Franklin+Ave,+Pittsburgh,+PA+15221!3b1!8m2!3d40.4375713!4d-79.8745301!3m4!1s0x8834edd4b327d2ab:0xae980a0df55b07a0!8m2!3d40.4375713!4d-79.8745301\" target=\"_blank\">\n 1256 Franklin Ave, Pittsburgh, PA 15221\n </a>\n <p>© 2017 Community Forge</p>\n </div>\n </div>\n</footer>\n", "role": "user" }, { "content": "<footer class=\"footer\">\n <div class=\"container\">\n <div class=\"content columns\">\n <div class=\"column\">\n <a href=\"{{ site.url }}/contact\">\n <i class=\"fa fa-envelope\"></i> Contact Us\n </a>\n </div>\n <div class=\"has-text-centered column\">\n <a href=\"https://www.google.com/maps/place/Community+Forge/@40.4375754,-79.8767188,17z/data=!4m13!1m7!3m6!1s0x8834edd4b31f453f:0xcee6a30003d7ca5!2s1256+Franklin+Ave,+Pittsburgh,+PA+15221!3b1!8m2!3d40.4375713!4d-79.8745301!3m4!1s0x8834edd4b327d2ab:0xae980a0df55b07a0!8m2!3d40.4375713!4d-79.8745301\" target=\"_blank\">\n 1256 Franklin Ave, Pittsburgh, PA 15221\n </a>\n <p>© 2017 Community Forge</p>\n </div>\n <div class=\"has-text-right column\">\n </div>\n </div>\n </div>\n</footer>\n", "role": "assistant" } ]
[ { "content": "Add in code for project-megaphone\n\nhttps://github.com/tfrce/project-megaphone", "role": "system" }, { "content": "---\ntheme :\n name : twitter\n---\n{% include JB/setup %}\n{% include themes/twitter/default.html %}\n", "role": "user" }, { "content": "---\ntheme :\n name : twitter\n---\n{% include JB/setup %}\n{% include themes/twitter/default.html %}\n<!--[if gt IE 8]>\n<script> \n (function(){\n var e = document.createElement('script'); e.type='text/javascript'; e.async = true;\n e.src = document.location.protocol + '//d1ux67szpr7bp0.cloudfront.net/project-megaphone/widget.min.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s);\n })();\n</script>\n<![endif]-->\n", "role": "assistant" } ]
[ { "content": "Add nostalgia link to menu\n", "role": "system" }, { "content": "<!DOCTYPE html5>\n<html>\n<head>\n\t<title>{{ page.title }}</title>\n\t<meta charset=\"utf-8\" />\n\t<meta name=\"description\" content=\"Codemania - New Zealand&#39;s premier developer conference\" />\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/stylesheets/styles.css\" media=\"screen\" />\n</head>\n<body class=\"lunchBox\">\n\n\t<div id=\"mainBody\">\n\t\t{{ content }}\n\t</div>\n\n\t<div id=\"menu\">\n\t\t<ul class=\"nav\">\n\t\t\t<li>\n\t\t\t\t<a id=\"topLink\" href=\"/\" class=\"navLink\">HOME</a>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n\n <script src=\"//code.jquery.com/jquery-1.9.1.min.js\"></script>\n</body>", "role": "user" }, { "content": "<!DOCTYPE html5>\n<html>\n<head>\n\t<title>{{ page.title }}</title>\n\t<meta charset=\"utf-8\" />\n\t<meta name=\"description\" content=\"Codemania - New Zealand&#39;s premier developer conference\" />\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"/stylesheets/styles.css\" media=\"screen\" />\n</head>\n<body class=\"lunchBox\">\n\n\t<div id=\"mainBody\">\n\t\t{{ content }}\n\t</div>\n\n\t<div id=\"menu\">\n\t\t<ul class=\"nav\">\n\t\t\t<li>\n\t\t\t\t<a id=\"topLink\" href=\"/\" class=\"navLink\">HOME</a>\n\t\t\t</li>\n\t\t\t<li>\n\t\t\t\t<a href=\"/nostalgia.html\" class=\"navLink\">NOSTALGIA</a>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n\n <script src=\"//code.jquery.com/jquery-1.9.1.min.js\"></script>\n</body>", "role": "assistant" } ]
[ { "content": "Add previous and backwards buttons to sections\n", "role": "system" }, { "content": "<div layout=\"column\" flex layout-margin>\n\n <h1>{{ctrl.section.name}}</h1>\n\n <div ng-include=\"ctrl.readme\" flex layout-padding></div>\n\n <div layout-padding>\n <div ng-repeat=\"example in ctrl.section.examples\">\n <a ui-sref=\"example({exampleNumber: example.id})\">Example {{ example.id }}: {{ example.message }}</a>\n </div>\n </div>\n</div>\n", "role": "user" }, { "content": "<div layout=\"column\" flex layout-margin>\n\n <h1>{{ctrl.section.name}}</h1>\n\n <div ng-include=\"ctrl.readme\" flex layout-padding></div>\n\n <div layout-padding>\n <div ng-repeat=\"example in ctrl.section.examples\">\n <a ui-sref=\"example({exampleNumber: example.id})\">Example {{ example.id }}: {{ example.message }}</a>\n </div>\n </div>\n\n <div layout-margin>\n <md-button class=\"md-primary md-raised\" ng-href=\"{{ ctrl.previous }}\">Previous</md-button>\n <md-button class=\"md-primary md-raised\" ng-href=\"{{ ctrl.next }}\">Next</md-button>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Add bookmark form to frontpage\n", "role": "system" }, { "content": "{% extends \"layout.html\" %}\n{% block body %}\n <p>\n Hello World\n </p>\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"layout.html\" %}\n{% block body %}\n <form action=\"/add_bookmark/\" method=\"post\">\n <label for=\"short\">Short</label>\n <input type=\"text\" name=\"short\" value=\"\">\n <label for=\"link\">Link</label>\n <input type=\"text\" name=\"link\" value=\"\">\n <input type=\"submit\" value=\"Submit\">\n </form>\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Fix absolute path for insert-tab.html template.\n", "role": "system" }, { "content": "<div ui-view>\n <div ng-controller=\"ConfigController\" class=\"jumbotron standard-width\" style=\"height: 60px;\">\n <h3 style=\"margin-top: -10px;\">RHQ-Metrics Data Explorer</h3>\n <h6 style=\"margin-top: -5px;\">A tool for exploring RHQ-Metrics</h6>\n <button class=\"btn btn-xs\" style=\"float:right;margin-top:-60px;margin-right:-60px;\" ng-click=\"vm.openConfig()\">\n <i class=\"glyphicon glyphicon-cog\"></i>\n </button>\n <ng-include src=\"'views/config-dialog.html'\"></ng-include>\n </div>\n\n\n <tabset style=\"margin-top: -25px;\">\n <tab ui-sref=\"insert\">\n <tab-heading>\n <i class=\"glyphicon glyphicon-save\"></i> Populate Data\n </tab-heading>\n\n <ng-include src=\"'/views/insert-tab.html'\"></ng-include>\n </tab>\n\n <tab ui-sref=\"chart\">\n <tab-heading>\n <i class=\"glyphicon glyphicon-dashboard\"></i> Charting\n </tab-heading>\n\n <ng-include src=\"'views/chart-tab.html'\"></ng-include>\n\n </tab>\n\n </tabset>\n\n\n</div>\n\n", "role": "user" }, { "content": "<div ui-view>\n <div ng-controller=\"ConfigController\" class=\"jumbotron standard-width\" style=\"height: 60px;\">\n <h3 style=\"margin-top: -10px;\">RHQ-Metrics Data Explorer</h3>\n <h6 style=\"margin-top: -5px;\">A tool for exploring RHQ-Metrics</h6>\n <button class=\"btn btn-xs\" style=\"float:right;margin-top:-60px;margin-right:-60px;\" ng-click=\"vm.openConfig()\">\n <i class=\"glyphicon glyphicon-cog\"></i>\n </button>\n <ng-include src=\"'views/config-dialog.html'\"></ng-include>\n </div>\n\n\n <tabset style=\"margin-top: -25px;\">\n <tab ui-sref=\"insert\">\n <tab-heading>\n <i class=\"glyphicon glyphicon-save\"></i> Populate Data\n </tab-heading>\n\n <ng-include src=\"'views/insert-tab.html'\"></ng-include>\n </tab>\n\n <tab ui-sref=\"chart\">\n <tab-heading>\n <i class=\"glyphicon glyphicon-dashboard\"></i> Charting\n </tab-heading>\n\n <ng-include src=\"'views/chart-tab.html'\"></ng-include>\n\n </tab>\n\n </tabset>\n\n\n</div>\n\n", "role": "assistant" } ]
[ { "content": "Replace hardcoded paths for svgs\n\nConvert hardcoded paths to dynamic via calls to \"url_for\"", "role": "system" }, { "content": "{% extends \"base.html\" %}\n{% block content %}\n\n<div class=\"row\">\n\t<div class=\"large-6 columns\">\n\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"/image/top_users.svg\"/>\n\t\t</figure>\n\t</div>\n\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"/image/top_passwords.svg\"/>\n\t\t</figure>\n\t</div>\n\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"/image/top_combos.svg\"/>\n\t\t</figure>\n\t</div>\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"/image/top_sessions.svg\"/>\n\t\t</figure>\n\t</div>\n\n</div>\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"base.html\" %}\n{% block content %}\n\n<div class=\"row\">\n\t<div class=\"large-6 columns\">\n\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"{{ url_for('graph_users') }}\"/>\n\t\t</figure>\n\t</div>\n\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"{{ url_for('graph_passwords') }}\"/>\n\t\t</figure>\n\t</div>\n\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"{{ url_for('graph_combos') }}\"/>\n\t\t</figure>\n\t</div>\n\t<div class=\"large-6 columns\">\n\t\t<figure>\n\t\t\t<embed type=\"image/svg+xml\" src=\"{{ url_for('graph_top_attackers') }}\"/>\n\t\t</figure>\n\t</div>\n\n</div>\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Make canvas reactive using bootstrap\n", "role": "system" }, { "content": "<canvas id=\"HexCanvas\" width=\"1000\" height=\"700\"></canvas>\n\n<script>\n var hexagonGrid = new HexagonGrid(\"HexCanvas\", 50);\n hexagonGrid.drawHexGrid(6, 300, 300);\n</script>\n", "role": "user" }, { "content": "<canvas id=\"HexCanvas\" width=\"1000\" height=\"700\" class='img-responsive' style=\"border: 1px solid black;\"></canvas>\n\n<script>\n var hexagonGrid = new HexagonGrid(\"HexCanvas\", 50);\n hexagonGrid.drawHexGrid(6, 300, 300);\n</script>\n", "role": "assistant" } ]
[ { "content": "Update PDF download link to final tex build", "role": "system" }, { "content": "<div id=\"download\">\n <p class=\"center\">\n Read The Book\n </p>\n <p class=\"center\">\n <a href=\"//book.costoffreedom.cc/\"><button class=\"button-download button\">HTML</button></a>\n <a href=\"https://www.gitbook.com/download/pdf/book/costoffreedom/costoffreedom-book\"><button class=\"button-download button\">PDF</button></a>\n <a href=\"https://www.gitbook.com/download/epub/book/costoffreedom/costoffreedom-book\"><button class=\"button-download button\">EPUB</button></a>\n </p>\n</div>\n", "role": "user" }, { "content": "<div id=\"download\">\n <p class=\"center\">\n Read The Book\n </p>\n <p class=\"center\">\n <a href=\"//book.costoffreedom.cc/\"><button class=\"button-download button\">HTML</button></a>\n <a href=\"https://github.com/costoffreedom/costoffreedom-book/raw/master/costoffreedom-final.pdf\"><button class=\"button-download button\">PDF</button></a>\n <a href=\"https://www.gitbook.com/download/epub/book/costoffreedom/costoffreedom-book\"><button class=\"button-download button\">EPUB</button></a>\n </p>\n</div>\n", "role": "assistant" } ]
[ { "content": "Correct capitalization to match my files.\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n<head>\n<script id=\"vertex-shader\" type=\"x-shader/x-vertex\">\nattribute vec4 vPosition;\n\nvoid\nmain()\n{\n gl_Position = vPosition;\n}\n</script>\n\n<script id=\"fragment-shader\" type=\"x-shader/x-fragment\">\nprecision mediump float;\n\nvoid\nmain()\n{\n gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}\n</script>\n\n<script type=\"text/javascript\" src=\"../Common/webgl-utils.js\"></script>\n<script type=\"text/javascript\" src=\"../Common/initShaders.js\"></script>\n<script type=\"text/javascript\" src=\"triangle.js\"></script>\n</head>\n\n<body>\n<canvas id=\"gl-canvas\" width=\"512\" height=\"512\">\nOops ... your browser doesn't support the HTML5 canvas element\n</canvas>\n</body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n<head>\n<script id=\"vertex-shader\" type=\"x-shader/x-vertex\">\nattribute vec4 vPosition;\n\nvoid\nmain()\n{\n gl_Position = vPosition;\n}\n</script>\n\n<script id=\"fragment-shader\" type=\"x-shader/x-fragment\">\nprecision mediump float;\n\nvoid\nmain()\n{\n gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}\n</script>\n\n<script type=\"text/javascript\" src=\"../common/webgl-utils.js\"></script>\n<script type=\"text/javascript\" src=\"../common/initShaders.js\"></script>\n<script type=\"text/javascript\" src=\"triangle.js\"></script>\n</head>\n\n<body>\n<canvas id=\"gl-canvas\" width=\"512\" height=\"512\">\nOops ... your browser doesn't support the HTML5 canvas element\n</canvas>\n</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Update css import location to fit upcoming bs-custom-component change.\n", "role": "system" }, { "content": "<link rel=\"import\" href=\"../../bower-components/polymer/polymer.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/font-roboto/roboto.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/iron-flex-layout/iron-flex-layout-classes.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/paper-material/paper-material.html\" />\n<link rel=\"import\" href=\"../../bower-components/paper-spinner/paper-spinner.html\" />\n<link rel=\"import\" href=\"../../bower-components/paper-styles/color.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/neon-animation/neon-animation-runner-behavior.html\" />\n<link rel=\"import\" href=\"../../bower-components/neon-animation/animations/reverse-ripple-animation.html\" />\n\n<dom-module id=\"splash-screen\">\n\t<link rel=\"import\" type=\"css\" href=\"splash-screen.css\" />\n\t<style is=\"custom-style\" include=\"iron-flex iron-positioning\"></style>\n\t<template>\n\t\t<div class=\"fit layout vertical center-center\">\n\t\t\t<paper-material id=\"card\" class=\"loading\" animated=\"true\" elevation=\"0\">\n\t\t\t\t<h2 id=\"title\" class=\"loading\">Loading <%= appName %>!</h2>\n\t\t\t\t<paper-spinner id=\"spinner\" class=\"minimised\"></paper-spinner>\n\t\t\t</paper-material>\n\t\t</div>\n\t</template>\n\t<script src=\"splash-screen.js\"></script>\n</dom-module>\n", "role": "user" }, { "content": "<link rel=\"import\" href=\"../../bower-components/polymer/polymer.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/font-roboto/roboto.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/iron-flex-layout/iron-flex-layout-classes.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/paper-material/paper-material.html\" />\n<link rel=\"import\" href=\"../../bower-components/paper-spinner/paper-spinner.html\" />\n<link rel=\"import\" href=\"../../bower-components/paper-styles/color.html\" />\n\n<link rel=\"import\" href=\"../../bower-components/neon-animation/neon-animation-runner-behavior.html\" />\n<link rel=\"import\" href=\"../../bower-components/neon-animation/animations/reverse-ripple-animation.html\" />\n\n<dom-module id=\"splash-screen\">\n\t<template>\n\t\t<link rel=\"import\" type=\"css\" href=\"splash-screen.css\" />\n\t\t<style is=\"custom-style\" include=\"iron-flex iron-positioning\"></style>\n\n\t\t<div class=\"fit layout vertical center-center\">\n\t\t\t<paper-material id=\"card\" class=\"loading\" animated=\"true\" elevation=\"0\">\n\t\t\t\t<h2 id=\"title\" class=\"loading\">Loading <%= appName %>!</h2>\n\t\t\t\t<paper-spinner id=\"spinner\" class=\"minimised\"></paper-spinner>\n\t\t\t</paper-material>\n\t\t</div>\n\t</template>\n\t<script src=\"splash-screen.js\"></script>\n</dom-module>\n", "role": "assistant" } ]
[ { "content": "Fix hocr template WRT ocr_page title\n", "role": "system" }, { "content": "<?xml version='1.0' encoding='UTF-8'?>\n<!DOCTYPE html \n PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'\n 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n<html xmlns='http://www.w3.org/1999/xhtml'>\n<head>\n <meta name='ocr-id' value='{{ocrid}}'>\n <meta name='ocr-recognized' value='lines text'>\n <meta name='DC.creator' value='{{dc_creator}}'>\n <meta name='DC.title' value='{{dc_title}}'>\n <meta name='DC.publisher' value='{{dc_publisher}}'>\n</head>\n<body>\n <div class='ocr_page' id='page_1' title='file {{file}}' title='bbox {{bbox.0}} {{bbox.1}} {{bbox.2}} {{bbox.3}}'>\n {% for line in lines %}<span class='ocr_line' id='line_{{line.index}}' title='bbox {{line.bbox.0}} {{line.bbox.1}} {{line.bbox.2}} {{line.bbox.3}}'>{{line.text}}<br></span>\n {% endfor %}\n </div>\n</body>\n</html>\n", "role": "user" }, { "content": "<?xml version='1.0' encoding='UTF-8'?>\n<!DOCTYPE html \n PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'\n 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n<html xmlns='http://www.w3.org/1999/xhtml'>\n<head>\n <meta name='ocr-id' value='{{ocrid}}'>\n <meta name='ocr-recognized' value='lines text'>\n <meta name='DC.creator' value='{{dc_creator}}'>\n <meta name='DC.title' value='{{dc_title}}'>\n <meta name='DC.publisher' value='{{dc_publisher}}'>\n</head>\n<body>\n <div class='ocr_page' id='page_1' title='file {{file}}; bbox {{bbox.0}} {{bbox.1}} {{bbox.2}} {{bbox.3}}'>\n {% for line in lines %}<span class='ocr_line' id='line_{{line.index}}' title='bbox {{line.bbox.0}} {{line.bbox.1}} {{line.bbox.2}} {{line.bbox.3}}'>{{line.text}}<br></span>\n {% endfor %}\n </div>\n</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Add title to page served\n", "role": "system" }, { "content": "<html>\n<head>\n <script>\n function getHeaders() {\n\tvar req = new XMLHttpRequest();\n\treq.open('GET', document.location, false);\n\treq.send(null);\n\t\n\t// associate array to store all values\n\tvar data = new Object();\n\t\n\t// get all headers in one call and parse each item\n\tvar headers = req.getAllResponseHeaders().toLowerCase();\n\tvar aHeaders = headers.split('\\n');\n\tvar i =0;\n\tfor (i= 0; i < aHeaders.length; i++) {\n\t var thisItem = aHeaders[i];\n\t var key = thisItem.substring(0, thisItem.indexOf(':'));\n\t var value = thisItem.substring(thisItem.indexOf(':')+1);\n\t data[key] = value;\n\t}\t \n\n\t// get referer\n\tvar referer = document.referrer;\n\tdata[\"Referer\"] = referer;\n\n\t//get useragent\n\tvar useragent = navigator.userAgent;\n\tdata[\"UserAgent\"] = useragent;\n\n\t\n\t//extra code to display the values in html\n\tvar display = \"\";\n\tfor(var key in data) {\n\t if (key != \"\")\n\t\tdisplay += \"<b>\" + key + \"</b> : \" + data[key] + \"<br>\";\n\t}\n\tdocument.getElementById(\"dump\").innerHTML = display; \n }\t\n </script>\n</head>\n<body onload=\"getHeaders();\">\n\n <div id=\"dump\">\n data comes here\n </div>\n</body>\n</html>", "role": "user" }, { "content": "<html>\n<head>\n <script>\n function getHeaders() {\n\tvar req = new XMLHttpRequest();\n\treq.open('GET', document.location, false);\n\treq.send(null);\n\t\n\t// associate array to store all values\n\tvar data = new Object();\n\t\n\t// get all headers in one call and parse each item\n\tvar headers = req.getAllResponseHeaders().toLowerCase();\n\tvar aHeaders = headers.split('\\n');\n\tvar i =0;\n\tfor (i= 0; i < aHeaders.length; i++) {\n\t var thisItem = aHeaders[i];\n\t var key = thisItem.substring(0, thisItem.indexOf(':'));\n\t var value = thisItem.substring(thisItem.indexOf(':')+1);\n\t data[key] = value;\n\t}\t \n\n\t// get referer\n\tvar referer = document.referrer;\n\tdata[\"Referer\"] = referer;\n\n\t//get useragent\n\tvar useragent = navigator.userAgent;\n\tdata[\"UserAgent\"] = useragent;\n\n\t\n\t//extra code to display the values in html\n\tvar display = \"\";\n\tfor(var key in data) {\n\t if (key != \"\")\n\t\tdisplay += \"<b>\" + key + \"</b> : \" + data[key] + \"<br>\";\n\t}\n\tdocument.getElementById(\"dump\").innerHTML = display; \n }\t\n </script>\n</head>\n<body onload=\"getHeaders();\">\n\t\n\t<h2> Response headers: </h2>\n\t\n <div id=\"dump\">\n data comes here\n </div>\n</body>\n</html>", "role": "assistant" } ]
[ { "content": "Fix construction of Pages url again\n", "role": "system" }, { "content": "---\ntitle: My Repositories\nlayout: default\npermalink: repos.html\n---\n\n{% if site.github.public_repositories.size > 0 %}\n <ul>\n {% assign repos = site.github.public_repositories | sort:\"updated_at\" | reverse %}\n {% for repo in repos %}\n {% if repo.has_pages %}\n {% assign repo_url = \"https://solvaholic.github.io/\"{{ repo.name }}\"/\" %}\n {% else %}\n {% assign repo_url = repo.html_url %}\n {% endif %}\n <li>\n <strong><a href=\"{{ repo_url }}\">{{ repo.name }}</a></strong> / udpated <time datetime=\"{{ repo.updated_at | date_to_xmlschema }}\">{{ repo.updated_at | date: '%b %-d, %Y'}}</time>\n {% if repo.fork %}\n <br /><i>This repository is forked from somewhere</i>\n {% endif %}\n {% if repo.description.size > 0 %}\n <br />{{ repo.description }}\n {% endif %}\n </li>\n {% endfor %}\n </ul>\n{% else %}\n No repos yet!\n{% endif %}\n\n<!---\nThinking this through\n\n* If repo.has_pages then link to Pages URL\n* Pages URL may be repos.homepage\n* html_url, homepage, and pushed_at may also be interesting\n--->\n", "role": "user" }, { "content": "---\ntitle: My Repositories\nlayout: default\npermalink: repos.html\n---\n\n{% if site.github.public_repositories.size > 0 %}\n <ul>\n {% assign repos = site.github.public_repositories | sort:\"updated_at\" | reverse %}\n {% for repo in repos %}\n {% if repo.has_pages %}\n {% assign repo_url = \"https://solvaholic.github.io/\" | append: repo.name %}\n {% else %}\n {% assign repo_url = repo.html_url %}\n {% endif %}\n <li>\n <strong><a href=\"{{ repo_url }}\">{{ repo.name }}</a></strong> / udpated <time datetime=\"{{ repo.updated_at | date_to_xmlschema }}\">{{ repo.updated_at | date: '%b %-d, %Y'}}</time>\n {% if repo.fork %}\n <br /><i>This repository is forked from somewhere</i>\n {% endif %}\n {% if repo.description.size > 0 %}\n <br />{{ repo.description }}\n {% endif %}\n </li>\n {% endfor %}\n </ul>\n{% else %}\n No repos yet!\n{% endif %}\n\n<!---\nThinking this through\n\n* If repo.has_pages then link to Pages URL\n* Pages URL may be repos.homepage\n* html_url, homepage, and pushed_at may also be interesting\n--->\n", "role": "assistant" } ]
[ { "content": "Fix width of textbox on letter contact details page\n", "role": "system" }, { "content": "{% extends \"withnav_template.html\" %}\n{% from \"components/textbox.html\" import textbox %}\n{% from \"components/checkbox.html\" import checkbox %}\n{% from \"components/page-footer.html\" import page_footer %}\n{% from \"components/form.html\" import form_wrapper %}\n\n{% block service_page_title %}\n Add a new address\n{% endblock %}\n\n{% block maincolumn_content %}\n\n <h1 class=\"heading-large\">\n Add a new address\n </h1>\n <div class=\"grid-row\">\n {% call form_wrapper() %}\n {{ textbox(\n form.letter_contact_block,\n label='This will appear as the ‘sender’ address on your letters.'|safe,\n hint='10 lines maximum',\n width='1-1',\n rows=10,\n highlight_tags=True\n ) }}\n {% if not first_contact_block %}\n <div class=\"form-group\">\n {{ checkbox(form.is_default) }}\n </div>\n {% endif %}\n {{ page_footer(\n 'Add',\n back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id),\n back_link_text='Back'\n ) }}\n {% endcall %}\n </div>\n\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"withnav_template.html\" %}\n{% from \"components/textbox.html\" import textbox %}\n{% from \"components/checkbox.html\" import checkbox %}\n{% from \"components/page-footer.html\" import page_footer %}\n{% from \"components/form.html\" import form_wrapper %}\n\n{% block service_page_title %}\n Add a new address\n{% endblock %}\n\n{% block maincolumn_content %}\n\n <h1 class=\"heading-large\">\n Add a new address\n </h1>\n <div class=\"grid-row\">\n <div class=\"column-whole\">\n {% call form_wrapper() %}\n {{ textbox(\n form.letter_contact_block,\n label='This will appear as the ‘sender’ address on your letters.'|safe,\n hint='10 lines maximum',\n width='1-2',\n rows=10,\n highlight_tags=True\n ) }}\n {% if not first_contact_block %}\n <div class=\"form-group\">\n {{ checkbox(form.is_default) }}\n </div>\n {% endif %}\n {{ page_footer(\n 'Add',\n back_link=None if request.args.get('from_template') else url_for('.service_letter_contact_details', service_id=current_service.id),\n back_link_text='Back'\n ) }}\n {% endcall %}\n </div>\n </div>\n\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Fix Iframe Apiary in container\n", "role": "system" }, { "content": "---\ntitle: OnCrawl API\nkeywords: mydoc\nsidebar: other\ntoc: false\npermalink: p1_landing_page.html\nfolder: product1\n---\n\n\n\n <!-- Embed Seed -->\n <script src=\"https://api.apiary.io/seeds/embed.js\"></script>\n\n <!-- /Embed Seed -->\n\n\n <!-- Embed -->\n <script>\n var embed = new Apiary.Embed({\n subdomain: 'oncrawlv1',\n theme: {\n tableOfContents: {\n\n section: {\n item: {\n backgroundColor: '#FFC0CB',\n\n $hover: {\n backgroundColor: '#FFC0CB'\n },\n\n $selected: {\n backgroundColor: 'black'\n }\n }\n }\n }\n }\n });\n </script>\n <!-- /Embed -->\n\n\n", "role": "user" }, { "content": "---\ntitle: OnCrawl API\nkeywords: mydoc\nsidebar: other\ntoc: false\npermalink: p1_landing_page.html\nfolder: product1\n---\n\n\n\n <!-- Embed Seed -->\n <script src=\"https://api.apiary.io/seeds/embed.js\"></script>\n\n <!-- /Embed Seed -->\n\n\n <!-- Embed -->\n <script>\n var embed = new Apiary.Embed({\n subdomain: 'oncrawlv1',\n element: 'body > div > div.col-md-12',\n theme: {\n tableOfContents: {\n\n section: {\n item: {\n backgroundColor: '#FFC0CB',\n\n $hover: {\n backgroundColor: '#FFC0CB'\n },\n\n $selected: {\n backgroundColor: 'black'\n }\n }\n }\n }\n }\n });\n </script>\n <!-- /Embed -->\n\n\n", "role": "assistant" } ]
[ { "content": "Add a tooltip for inactive layers\n", "role": "system" }, { "content": "<div class=\"layerpicker-layer\">\n <button\n class=\"{{layerClass}}\"\n {% if isDisabled %} disabled {% endif %}\n >\n {{ layerDisplay }}\n </button>\n {% if not isDisabled and legendMapping %}\n <a\n tabindex=\"-1\"\n role=\"button\"\n data-html=\"true\"\n data-toggle=\"popover\"\n class=\"layerpicker-info\"\n data-layer-help-icon=\"{{layerDisplay}}\"\n >\n </a>\n {% endif %}\n</div>\n", "role": "user" }, { "content": "<div class=\"layerpicker-layer\">\n <button\n class=\"{{layerClass}}\"\n {% if isDisabled %}title=\"This layer is unavailable at this location\" disabled {% endif %}\n >\n {{ layerDisplay }}\n </button>\n {% if not isDisabled and legendMapping %}\n <a\n tabindex=\"-1\"\n role=\"button\"\n data-html=\"true\"\n data-toggle=\"popover\"\n class=\"layerpicker-info\"\n data-layer-help-icon=\"{{layerDisplay}}\"\n >\n </a>\n {% endif %}\n</div>\n", "role": "assistant" } ]
[ { "content": "Fix value attribute to use template helper\n", "role": "system" }, { "content": "<template name=\"newFeeling\">\n <div class=\"modal fade\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">\n <i class=\"fa fa-stethoscope\"></i>&nbsp;\n Record new feeling</h4>\n </div>\n\n\n {{# if Template.subscriptionsReady }}\n\n {{# autoForm id=\"newFeelingForm\" type=\"insert\" collection=\"Feelings\" }}\n <div class=\"modal-body\">\n <div id=\"selected-feeling\" class=\"feeling- clearfix text-center\">\n <img src=\"/images/{{ selectedFeeling }}.svg\" />\n <figcaption class=\"text-center\">{{ selectedFeeling }}</figcaption>\n </div>\n\n {{> afQuickField\n name=\"residentId\"\n options=residentOptions\n label=\"Resident\"\n }}\n {{> afQuickField name=\"feeling\" type=\"hidden\" value=\"selectedFeeling\"}}\n </div>\n\n <div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-success\">Save</button>\n <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cancel</button>\n </div>\n {{/ autoForm }}\n {{ else }}\n {{> spinner }}\n {{/ if }}\n </div>\n </div>\n </div>\n</template>\n", "role": "user" }, { "content": "<template name=\"newFeeling\">\n <div class=\"modal fade\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">\n <i class=\"fa fa-stethoscope\"></i>&nbsp;\n Record new feeling</h4>\n </div>\n\n\n {{# if Template.subscriptionsReady }}\n\n {{# autoForm id=\"newFeelingForm\" type=\"insert\" collection=\"Feelings\" }}\n <div class=\"modal-body\">\n <div id=\"selected-feeling\" class=\"feeling- clearfix text-center\">\n <img src=\"/images/{{ selectedFeeling }}.svg\" />\n <figcaption class=\"text-center\">{{ selectedFeeling }}</figcaption>\n </div>\n\n {{> afQuickField\n name=\"residentId\"\n options=residentOptions\n label=\"Resident\"\n }}\n {{> afQuickField\n name=\"feeling\"\n type=\"hidden\"\n value=selectedFeeling\n }}\n </div>\n\n <div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-success\">Save</button>\n <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cancel</button>\n </div>\n {{/ autoForm }}\n {{ else }}\n {{> spinner }}\n {{/ if }}\n </div>\n </div>\n </div>\n</template>\n", "role": "assistant" } ]
[ { "content": "Add google analytics to docs page", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <title>Julz</title>\n <meta name=\"description\" content=\"\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n {{content-for \"head\"}}\n\n <link rel=\"stylesheet\" href=\"{{rootURL}}assets/vendor.css\">\n <link rel=\"stylesheet\" href=\"{{rootURL}}assets/julz.css\">\n\n {{content-for \"head-footer\"}}\n </head>\n <body>\n {{content-for \"body\"}}\n\n <script src=\"{{rootURL}}assets/vendor.js\"></script>\n <script src=\"{{rootURL}}assets/julz.js\"></script>\n\n {{content-for \"body-footer\"}}\n </body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <title>Julz</title>\n <meta name=\"description\" content=\"\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n {{content-for \"head\"}}\n\n <link rel=\"stylesheet\" href=\"{{rootURL}}assets/vendor.css\">\n <link rel=\"stylesheet\" href=\"{{rootURL}}assets/julz.css\">\n\n <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\n\n ga('create', 'UA-90729526-2', 'auto');\n ga('send', 'pageview');\n\n </script>\n\n {{content-for \"head-footer\"}}\n </head>\n <body>\n {{content-for \"body\"}}\n\n <script src=\"{{rootURL}}assets/vendor.js\"></script>\n <script src=\"{{rootURL}}assets/julz.js\"></script>\n\n {{content-for \"body-footer\"}}\n </body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Replace haven't with have not", "role": "system" }, { "content": "{% extends \"withoutnav_template.html\" %}\n{% from \"components/textbox.html\" import textbox %}\n{% from \"components/page-footer.html\" import page_footer %}\n{% from \"components/form.html\" import form_wrapper %}\n\n{% block per_page_title %}\n Sign in\n{% endblock %}\n\n{% block maincolumn_content %}\n\n<div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n\n {% if again %}\n <h1 class=\"heading-large\">You need to sign in again</h1>\n {% if other_device %}\n <p>\n We signed you out because you logged in to Notify on another device.\n </p>\n {% else %}\n <p>\n We signed you out because you haven’t used Notify for a while.\n </p>\n {% endif %}\n {% else %}\n <h1 class=\"heading-large\">Sign in</h1>\n <p>\n If you do not have an account, you can\n <a href=\"{{ url_for('.register') }}\">create one now</a>.\n </p>\n {% endif %}\n\n {% call form_wrapper(autocomplete=True) %}\n {{ textbox(form.email_address, autocomplete='email') }}\n {{ textbox(form.password, autocomplete='current-password') }}\n {{ page_footer(\"Continue\", secondary_link=url_for('.forgot_password'), secondary_link_text=\"Forgot your password?\") }}\n {% endcall %}\n </div>\n</div>\n\n{% endblock %}\n", "role": "user" }, { "content": "{% extends \"withoutnav_template.html\" %}\n{% from \"components/textbox.html\" import textbox %}\n{% from \"components/page-footer.html\" import page_footer %}\n{% from \"components/form.html\" import form_wrapper %}\n\n{% block per_page_title %}\n Sign in\n{% endblock %}\n\n{% block maincolumn_content %}\n\n<div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n\n {% if again %}\n <h1 class=\"heading-large\">You need to sign in again</h1>\n {% if other_device %}\n <p>\n We signed you out because you logged in to Notify on another device.\n </p>\n {% else %}\n <p>\n We signed you out because you have not used Notify for a while.\n </p>\n {% endif %}\n {% else %}\n <h1 class=\"heading-large\">Sign in</h1>\n <p>\n If you do not have an account, you can\n <a href=\"{{ url_for('.register') }}\">create one now</a>.\n </p>\n {% endif %}\n\n {% call form_wrapper(autocomplete=True) %}\n {{ textbox(form.email_address, autocomplete='email') }}\n {{ textbox(form.password, autocomplete='current-password') }}\n {{ page_footer(\"Continue\", secondary_link=url_for('.forgot_password'), secondary_link_text=\"Forgot your password?\") }}\n {% endcall %}\n </div>\n</div>\n\n{% endblock %}\n", "role": "assistant" } ]
[ { "content": "Fix project dialog horizental scroll\n\n1. Get rid of horizental scroll bar of peoject detail dialogs by wrapping images to a row then div col-12", "role": "system" }, { "content": "<md-dialog aria-label=\"Project details\">\r\n <form ng-cloak>\r\n\r\n <md-toolbar>\r\n <div class=\"md-toolbar-tools\">\r\n <span flex></span>\r\n <md-button class=\"md-icon-button\" ng-click=\"cancel();\" aria-label=\"close dialog\">\r\n <span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\"></span>\r\n </md-button>\r\n </div>\r\n </md-toolbar>\r\n\r\n <md-dialog-content>\r\n <div class=\"md-dialog-content font_raleway\">\r\n <div class=\"row\">\r\n <div ng-repeat=\"pimgsrc in projectImgsrc track by $index\"\r\n ng-class=\"{'row padding_bottom_20px':$index%2==1}\">\r\n <img class=\"col-sm-6\" ng-src=\"{{pimgsrc}}\" alt=\"{{pimgsrc}}\"\r\n ng-click=\"showImage(pimgsrc, $event)\">\r\n </div>\r\n </div>\r\n <h3 ng-bind=\"(projectCategory)+' for '+(projectTitle)\"></h3>\r\n <div ng-if=\"projectDemosrc!=''\">\r\n <span class=\"ti-share\"></span>&nbsp;&nbsp;\r\n <a ng-href=\"{{trustSrc(projectDemosrc[1])}}\" ng-bind=\"'view on '+projectDemosrc[0]\" target=\"_blank\"></a>\r\n </div>\r\n <ul>\r\n <li ng-repeat=\"ptask in projectTask\" ng-bind=\"ptask\"></li>\r\n </ul>\r\n </div>\r\n </md-dialog-content>\r\n\r\n </form>\r\n</md-dialog>\r\n", "role": "user" }, { "content": "<md-dialog aria-label=\"Project details\">\r\n <form ng-cloak>\r\n\r\n <md-toolbar>\r\n <div class=\"md-toolbar-tools col-sm-12\">\r\n <span flex></span>\r\n <md-button class=\"md-icon-button\" ng-click=\"cancel();\" aria-label=\"close dialog\">\r\n <span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\"></span>\r\n </md-button>\r\n </div>\r\n </md-toolbar>\r\n\r\n <md-dialog-content>\r\n <div class=\"md-dialog-content font_raleway\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12\">\r\n <div ng-repeat=\"pimgsrc in projectImgsrc track by $index\"\r\n ng-class=\"{'row padding_bottom_20px':$index%2==1}\">\r\n <img class=\"col-sm-6\" ng-src=\"{{pimgsrc}}\" alt=\"{{pimgsrc}}\"\r\n ng-click=\"showImage(pimgsrc, $event)\">\r\n </div>\r\n </div>\r\n </div>\r\n <h3 ng-bind=\"(projectCategory)+' for '+(projectTitle)\"></h3>\r\n <div ng-if=\"projectDemosrc!=''\">\r\n <span class=\"ti-share\"></span>&nbsp;&nbsp;\r\n <a ng-href=\"{{trustSrc(projectDemosrc[1])}}\" ng-bind=\"'view on '+projectDemosrc[0]\" target=\"_blank\"></a>\r\n </div>\r\n <ul>\r\n <li ng-repeat=\"ptask in projectTask\" ng-bind=\"ptask\"></li>\r\n </ul>\r\n </div>\r\n </md-dialog-content>\r\n\r\n </form>\r\n</md-dialog>\r\n", "role": "assistant" } ]
[ { "content": "Make the \"save search\" dialog a little prettier\n", "role": "system" }, { "content": "<div>\n <p>\n <strong>Query:</strong><br/>\n {{ model.query }}\n </p>\n\n <p>\n <strong>Name:</strong><br/>\n <input ng-model=\"model.name\" type=\"text\" name=\"queryName\" ng-change=\"model.disableSubmitButton = model.name.length === 0\"/>\n </p>\n</div>", "role": "user" }, { "content": "<div>\n <p>\n <strong>Query:</strong><br/>\n {{ model.query }}\n </p>\n\n <p>\n <strong>Name:</strong><br/>\n <input style=\"width: 100%\" ng-model=\"model.name\" type=\"text\" name=\"queryName\" ng-change=\"model.disableSubmitButton = model.name.length === 0\"/>\n </p>\n</div>\n", "role": "assistant" } ]
[ { "content": "Revert \"fixed javascript path for sample game\"\n\nThis reverts commit 8521c84cafbb428b20e1831280d8c9197760a3c0.\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n\t<head>\n\t</head>\n\t<body>\n\t\t<script type=\"text/javascript\" src=\"../../build/Excalibur.js\"></script>\n\t\t<script type=\"text/javascript\" src=\"../ts/game.js\"></script>\n\t</body>\t\n\n</html>", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n\t<head>\n\t</head>\n\t<body>\n\t\t<script type=\"text/javascript\" src=\"../../js/Excalibur.js\"></script>\n\t\t<script type=\"text/javascript\" src=\"../ts/game.js\"></script>\n\t</body>\t\n\n</html>", "role": "assistant" } ]
[ { "content": "Fix wrong order in the text\n", "role": "system" }, { "content": "<form class=\"rubric-template\" id=\"inputtype_${id}\">\n <h3>Rubric</h3>\n % if view_only:\n <p>Select the criteria you feel best represents this submission in each category.</p>\n % else:\n <p>The highlighted selection best matches how the student feels you performed in each category.</p>\n % endif\n <table class=\"rubric\">\n % for i in range(len(categories)):\n <% category = categories[i] %>\n <tr>\n <th>${category['description']}</th>\n % for j in range(len(category['options'])):\n <% option = category['options'][j] %>\n <td>\n % if view_only:\n <div class=\"view-only\">\n ${option['text']}\n <div class=\"grade\">[${option['points']} points]</div>\n </div>\n % else:\n <input type=\"radio\" class=\"score-selection\" name=\"score-selection-${i}\" id=\"score-${i}-${j}\" value=\"${option['points']}\"/>\n <label for=\"score-${i}-${j}\">${option['text']}</label>\n % endif\n </td>\n % endfor\n </tr>\n % endfor\n </table>\n</form>\n", "role": "user" }, { "content": "<form class=\"rubric-template\" id=\"inputtype_${id}\">\n <h3>Rubric</h3>\n % if view_only:\n <p>The highlighted selection matches how the grader feels you performed in each category.</p>\n % else:\n <p>Select the criteria you feel best represents this submission in each category.</p>\n % endif\n <table class=\"rubric\">\n % for i in range(len(categories)):\n <% category = categories[i] %>\n <tr>\n <th>${category['description']}</th>\n % for j in range(len(category['options'])):\n <% option = category['options'][j] %>\n <td>\n % if view_only:\n <div class=\"view-only\">\n ${option['text']}\n <div class=\"grade\">[${option['points']} points]</div>\n </div>\n % else:\n <input type=\"radio\" class=\"score-selection\" name=\"score-selection-${i}\" id=\"score-${i}-${j}\" value=\"${option['points']}\"/>\n <label for=\"score-${i}-${j}\">${option['text']}</label>\n % endif\n </td>\n % endfor\n </tr>\n % endfor\n </table>\n</form>\n", "role": "assistant" } ]
[ { "content": "Order sensors by sensor_id descending\n", "role": "system" }, { "content": "<div>\n <a href=\"#\" ng-click=\"unitClicked()\">{{$ctrl.unit.description}}</a>\n <ul class=\"list-group\" ng-show=\"$ctrl.expanded || $ctrl.unit.expanded\">\n <li ng-repeat=\"sensor in $ctrl.unit.sensors | filter:query | orderBy:'id'\" class=\"list-group-item\">\n <a ng-if=\"$ctrl.viewMode == 'sensors'\" href=\"#\" ng-click=\"sensorClicked(sensor)\">\n <b>{{sensor.sensor_name}}</b> <translate>measure</translate> {{sensor.phenomenon_name}}</a>\n <a ng-if=\"$ctrl.viewMode == 'phenomena'\" href=\"#\" ng-click=\"sensorClicked(sensor)\">\n {{sensor.phenomenon_name}}</a>\n <span class=\"badge badge-light badge-pill float-right\">{{sensor.lastObservationValue}} {{sensor.uom}}</span>\n </li>\n </ul>\n</div>\n", "role": "user" }, { "content": "<div>\n <a href=\"#\" ng-click=\"unitClicked()\">{{$ctrl.unit.description}}</a>\n <ul class=\"list-group\" ng-show=\"$ctrl.expanded || $ctrl.unit.expanded\">\n <li ng-repeat=\"sensor in $ctrl.unit.sensors | filter:query | orderBy:'-sensor_id'\" class=\"list-group-item\">\n <a ng-if=\"$ctrl.viewMode == 'sensors'\" href=\"#\" ng-click=\"sensorClicked(sensor)\">\n <b>{{sensor.sensor_name}}</b> <translate>measure</translate> {{sensor.phenomenon_name}}</a>\n <a ng-if=\"$ctrl.viewMode == 'phenomena'\" href=\"#\" ng-click=\"sensorClicked(sensor)\">\n {{sensor.phenomenon_name}}</a>\n <span class=\"badge badge-light badge-pill float-right\">{{sensor.lastObservationValue}} {{sensor.uom}}</span>\n </li>\n </ul>\n</div>\n", "role": "assistant" } ]
[ { "content": "Add admin actions to reinitialize stats", "role": "system" }, { "content": "<app-common-top-bar active=\"admin\"></app-common-top-bar>\n\n<div class=\"container-fluid\">\n <div class=\"row\">\n <app-admin-left-menu active=\"actions\" class=\"col-lg-2 col-md-3 col-sm-3\"></app-admin-left-menu>\n \n <div class=\"col-lg-10 col-md-9 col-sm-9 col-xs-12 main\">\n <div class=\"container\">\n <div class=\"row text-center\">\n <h1 translate>Run an action</h1>\n \n <select class=\"form-select\" [(ngModel)]=\"adminActions\">\n <option value=\"\" translate>\n Select an action\n </option>\n <option value=\"Diamondrun\" translate>\n Run the diamond\n </option>\n <option value=\"HonnorRanking\" translate>\n Run the Honnor Ranking\n </option>\n </select>\n \n <div class=\"btn btn-primary\" (click)=\"run()\">\n Run\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-bottom-bar></app-common-bottom-bar>\n", "role": "user" }, { "content": "<app-common-top-bar active=\"admin\"></app-common-top-bar>\n\n<div class=\"container-fluid\">\n <div class=\"row\">\n <app-admin-left-menu active=\"actions\" class=\"col-lg-2 col-md-3 col-sm-3\"></app-admin-left-menu>\n \n <div class=\"col-lg-10 col-md-9 col-sm-9 col-xs-12 main\">\n <div class=\"container\">\n <div class=\"row text-center\">\n <h1 translate>Run an action</h1>\n \n <select class=\"form-select\" [(ngModel)]=\"adminActions\">\n <option value=\"\" translate>Select an action</option>\n <option value=\"Diamondrun\" translate>Run the diamond</option>\n <option value=\"HonnorRanking\" translate>\n Run the Honnor Ranking\n </option>\n <option value=\"reinitStatsDaily\" translate>\n Reinitialize daily stats\n </option>\n <option value=\"reinitStatsWeekly\" translate>\n Reinitialize weekly stats\n </option>\n </select>\n \n <div class=\"btn btn-primary\" (click)=\"run()\">\n Run\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-bottom-bar></app-common-bottom-bar>\n", "role": "assistant" } ]
[ { "content": "Change account ID, it was wrong, 5 instead 1\n", "role": "system" }, { "content": "{% extends \"!layout.html\" %}\n\n{% block footer %}\n{{ super() }}\n\n<script type=\"text/javascript\">\n var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-21651960-1']);\n _gaq.push(['_trackPageview']);\n\n (function() {\n var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n })();\n</script>\n{% endblock %}", "role": "user" }, { "content": "{% extends \"!layout.html\" %}\n\n{% block footer %}\n{{ super() }}\n\n<script type=\"text/javascript\">\n var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-21651960-5']);\n _gaq.push(['_trackPageview']);\n\n (function() {\n var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n })();\n</script>\n{% endblock %}", "role": "assistant" } ]
[ { "content": "Call loaded when loading has been done.\n", "role": "system" }, { "content": "<div class=\"row\">\n\n <div class=\"col-md-6\">\n\n <div class=\"output row\" id=\"output\" style=\"padding-left: 30px; margin-bottom: 5px;\" ng-include src=\"template\"></div>\n\n <div clas=\"row\">\n \n <div ui-ace=\"{\n useWrapMode : true,\n showGutter: true,\n theme:'twilight',\n mode: 'javascript',\n onLoad: aceLoaded,\n onChange: aceChanged\n }\">\n </div>\n \n </div>\n\n </div>\n\n <div class=\"guide col-md-6\" id=\"guide\">\n <table class=\"table table-hover table-condensed\">\n <thead>\n <tr>\n <th>Tehtävä</th>\n <th>Valmis</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"element in guide\">\n <td>{{element.text}}</td>\n <td>\n <button class=\"btn btn-success\" ng-click=\"assess(numLeft, varLeft, numRight, varRight, varX)\" ng-show=\"! element.done\" data-loading-text=\"Tarkistan\" >Tarkista</button>\n <span class=\"glyphicon glyphicon-ok\" ng-show=\"element.done\"></span>\n </td>\n </tr>\n </tbody>\n </table>\n \n <div ng-include=\"'partials/javascript.html'\">\n \n </div>\n \n </div>", "role": "user" }, { "content": "<div class=\"row\">\n\n <div class=\"col-md-6\">\n\n <div class=\"output row\" id=\"output\" style=\"padding-left: 30px; margin-bottom: 5px;\" ng-include src=\"template\" onLoad=\"loaded()\" ></div>\n\n <div clas=\"row\">\n \n <div ui-ace=\"{\n useWrapMode : true,\n showGutter: true,\n theme:'twilight',\n mode: 'javascript',\n onLoad: aceLoaded,\n onChange: aceChanged\n }\">\n </div>\n \n </div>\n\n </div>\n\n <div class=\"guide col-md-6\" id=\"guide\">\n <table class=\"table table-hover table-condensed\">\n <thead>\n <tr>\n <th>Tehtävä</th>\n <th>Valmis</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat=\"element in guide\">\n <td>{{element.text}}</td>\n <td>\n <button class=\"btn btn-success\" ng-click=\"assess(numLeft, varLeft, numRight, varRight, varX)\" ng-show=\"! element.done\" data-loading-text=\"Tarkistan\" >Tarkista</button>\n <span class=\"glyphicon glyphicon-ok\" ng-show=\"element.done\"></span>\n </td>\n </tr>\n </tbody>\n </table>\n \n <div ng-include=\"'partials/javascript.html'\">\n \n </div>\n \n </div>", "role": "assistant" } ]
[ { "content": "Add email link to masthead", "role": "system" }, { "content": "<div class=\"blog-masthead\">\n <div class=\"container\">\n <nav class=\"blog-nav\">\n <a class=\"blog-nav-item {{ active.home }}\" href=\"/\">Home</a>\n <a class=\"blog-nav-item\" href=\"http://wiki.hacksburg.org\">Wiki</a>\n <a class=\"blog-nav-item {{ active.about }}\" href=\"/about.html\">About</a>\n </nav>\n </div>\n</div>\n", "role": "user" }, { "content": "<div class=\"blog-masthead\">\n <div class=\"container\">\n <nav class=\"blog-nav\">\n <a class=\"blog-nav-item {{ active.home }}\" href=\"/\">Home</a>\n <a class=\"blog-nav-item\" href=\"http://wiki.hacksburg.org\">Wiki</a>\n <a class=\"blog-nav-item {{ active.about }}\" href=\"/about.html\">About</a>\n <a class=\"blog-nav-item\" href=\"mailto:[email protected]\">Email</a>\n </nav>\n </div>\n</div>\n", "role": "assistant" } ]
[ { "content": "Use contains rather than =\n", "role": "system" }, { "content": "<ul>\n <li><a href=\"{{ '/docs/cheat-sheet/' | prepend: site.baseurl }}latest\">cheat sheet</a></li>\n <li><a href=\"{{ '/docs/api/' | prepend: site.baseurl }}{{ site.onyx_version }}\">api docs</a></li>\n <li>user guide</li>\n <ul>\n {% for page in site.pages %}\n {% if page.categories contains 'user-guide-page' and page.path contains 'latest' %}\n <li class=\"docs-section\"><a href=\"{{ page.url | prepend: site.baseurl }}\">{{ page.title}}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n <li> Production\n <ul>\n {% for page in site.pages %}\n {% if page.categories contains 'user-guide-page' and page.user_guide_category = 'production' and page.path contains 'latest' %}\n <li class=\"docs-section\"><a href=\"{{ page.url | prepend: site.baseurl }}\">{{ page.title}}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n\n</ul>\n", "role": "user" }, { "content": "<ul>\n <li><a href=\"{{ '/docs/cheat-sheet/' | prepend: site.baseurl }}latest\">cheat sheet</a></li>\n <li><a href=\"{{ '/docs/api/' | prepend: site.baseurl }}{{ site.onyx_version }}\">api docs</a></li>\n <li>user guide</li>\n <ul>\n {% for page in site.pages %}\n {% if page.categories contains 'user-guide-page' and page.path contains 'latest' %}\n <li class=\"docs-section\"><a href=\"{{ page.url | prepend: site.baseurl }}\">{{ page.title}}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n <li> Production\n <ul>\n {% for page in site.pages %}\n {% if page.categories contains 'user-guide-page' and page.user_guide_category contains 'production' and page.path contains 'latest' %}\n <li class=\"docs-section\"><a href=\"{{ page.url | prepend: site.baseurl }}\">{{ page.title}}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n\n</ul>\n", "role": "assistant" } ]
[ { "content": "Update the text to match the example; fix some linting nasties\n", "role": "system" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <script src=\"../../src/gladius.js\"></script>\n <script src=\"collision-cubes.js\"></script>\n </head>\n <body>\n Rotate the cube with W,A,S,D. Speed it up by holding SHIFT. \n <P>\n \t<canvas id=\"test-canvas\" width=\"500\" height=\"500\"></canvas>\n \t</body>\n \t<div id=\"out\"></div>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html>\n <head>\n <title>Collision Cubes Gladius Example</title>\n <script src=\"../../src/gladius.js\"></script>\n <script src=\"collision-cubes.js\"></script>\n </head>\n <body>\n Move the left-hand cube using A and D. \n <P>\n \t<canvas id=\"test-canvas\" width=\"500\" height=\"500\"></canvas>\n <div id=\"out\"></div>\n \t</body>\n</html>\n", "role": "assistant" } ]
[ { "content": "Add publish button (to be implemented later).\n", "role": "system" }, { "content": "<div layout=\"column\">\n <div layout=\"row\" layout-align=\"start center\">\n <h3 class=\"md-title\" style=\"padding-right: 30px\">Dataset: {{$ctrl.dataset.title}}</h3>\n <md-button class=\"md-primary\" ng-click=\"$ctrl.selectSamples()\">add samples</md-button>\n <md-button class=\"md-primary\" ng-click=\"$ctrl.selectFiles()\">add files</md-button>\n <md-button class=\"md-primary\">add processes</md-button>\n </div>\n\n <div layout=\"row\" flex style=\"max-height: 70vh\">\n <md-content layout=\"row\" layout-wrap layout-align=\"start stretch\" flex>\n <div layout=\"column\">\n <mc-dataset-samples ng-show=\"$ctrl.dataset.samples.length\"\n samples=\"$ctrl.dataset.samples\"></mc-dataset-samples>\n\n <mc-dataset-files ng-show=\"$ctrl.dataset.samples.length\" files=\"$ctrl.dataset.files\"></mc-dataset-files>\n\n <mc-dataset-processes ng-show=\"$ctrl.dataset.processes.length\"\n processes=\"$ctrl.dataset.processes\"></mc-dataset-processes>\n </div>\n </md-content>\n </div>\n</div>", "role": "user" }, { "content": "<div layout=\"column\">\n <div layout=\"row\" layout-align=\"start center\">\n <h3 class=\"md-title\" style=\"padding-right: 30px\">Dataset: {{$ctrl.dataset.title}}</h3>\n <md-button class=\"md-primary\" ng-click=\"$ctrl.selectSamples()\">add samples</md-button>\n <md-button class=\"md-primary\" ng-click=\"$ctrl.selectFiles()\">add files</md-button>\n <md-button class=\"md-primary\">add processes</md-button>\n <md-button class=\"md-primary\">publish</md-button>\n </div>\n\n <div layout=\"row\" flex style=\"max-height: 70vh\">\n <md-content layout=\"row\" layout-wrap layout-align=\"start stretch\" flex>\n <div layout=\"column\">\n <mc-dataset-samples ng-show=\"$ctrl.dataset.samples.length\"\n samples=\"$ctrl.dataset.samples\"></mc-dataset-samples>\n\n <mc-dataset-files ng-show=\"$ctrl.dataset.samples.length\" files=\"$ctrl.dataset.files\"></mc-dataset-files>\n\n <mc-dataset-processes ng-show=\"$ctrl.dataset.processes.length\"\n processes=\"$ctrl.dataset.processes\"></mc-dataset-processes>\n </div>\n </md-content>\n </div>\n</div>", "role": "assistant" } ]
[ { "content": ":wrench: Use staging js in staging environment", "role": "system" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta\n name=\"viewport\"\n content=\"width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1, maximum-scale=1\"\n />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta charset=\"UTF-8\" />\n <title>ChaynsComponents - Examples</title>\n <!-- css styles -->\n <script\n src=\"https://api.chayns-static.space/css/v4/compatibility/compatibility.min.js\"\n version=\"4.2\"\n ></script>\n </head>\n <body>\n <div id=\"app\" class=\"tapp\"></div>\n <div id=\"portal-example\"></div>\n\n <script src=\"https://polyfillsvc.tobit.com/polyfill.min.js?flags=gated&features=default,Object.assign,fetch,Array.prototype.forEach\"></script>\n <!-- chayns js -->\n <script src=\"https://api.chayns-static.space/js/v4.0/chayns.min.js\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js\"></script>\n </body>\n</html>\n", "role": "user" }, { "content": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta\n name=\"viewport\"\n content=\"width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1, maximum-scale=1\"\n />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta charset=\"UTF-8\" />\n <title>ChaynsComponents - Examples</title>\n <!-- css styles -->\n <script\n src=\"https://api.chayns-static.space/css/v4/compatibility/compatibility.min.js\"\n version=\"4.2\"\n ></script>\n </head>\n <body>\n <script>\n const s = document.createElement(\"script\");\n s.type = \"text/javascript\";\n if(location.href.includes(\"isStaging\")){\n s.src = \"https://api.chayns-static.space/js/staging/v4.0/chayns.min.js\";\n }else{\n s.src = \"https://api.chayns-static.space/js/v4.0/chayns.min.js\";\n }\n document.body.append(s);\n </script>\n\n <div id=\"app\" class=\"tapp\"></div>\n <div id=\"portal-example\"></div>\n\n <script src=\"https://polyfillsvc.tobit.com/polyfill.min.js?flags=gated&features=default,Object.assign,fetch,Array.prototype.forEach\"></script>\n <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js\"></script>\n </body>\n</html>\n", "role": "assistant" } ]