UNPKG

generator-trowel

Version:

A yeoman generator to create trowel repository

27 lines (21 loc) 5.91 kB
<html> <head> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700' rel='stylesheet' type='text/css'> <style>body { font-family: 'Open Sans', sans-serif; }</style> <link rel="stylesheet" href="style.css" charset="utf-8"> </head> <body> <h1 style="color: #210D34;"> <svg xmlns="http://www.w3.org/2000/svg" width="100" height="18" viewBox="0 0 751.657 133.168"> <title>Trowel</title> <path fill="currentColor" d="M219.244 81.42c8.83-8.593 13.246-19.544 13.246-32.85 0-7.654-1.53-14.6-4.592-20.842-3.062-6.24-6.948-11.185-11.657-14.835-4.7-3.65-9.68-6.527-14.92-8.47-5.24-1.943-10.33-2.996-15.27-2.996H147.9c-3.77 0-6.773.434-9.01 1.142-2.238.7-3.828 1.98-4.77 3.74-.944 1.76-1.586 3.35-1.764 4.7-.175 1.35-.35 3.41-.35 6.11v98.02c0 2.23.113 3.92.175 5.03.06 1.12.4 2.47.93 4.06.53 1.58 1.35 2.8 2.41 3.61 1.06.82 2.6 1.53 4.61 2.12 2 .59 4.54.88 7.6.88 3.77 0 6.77-.35 9.01-1.06 2.24-.71 3.83-1.95 4.77-3.71.94-1.77 1.29-3.33 1.46-4.69.18-1.35.05-3.38.05-6.09V95.4h22.68l5.48-.38c4.95 11.77 8.71 20.59 11.3 26.478 1.06 2.472 1.92 4.292 2.56 5.47.65 1.18 1.71 2.33 3.18 3.44 1.48 1.12 3.21 1.68 5.21 1.68 2.59 0 5.77-.827 9.54-2.476 7.3-3.064 10.95-6.83 10.95-11.305 0-1.883-.88-4.946-2.65-9.185-5.42-12.244-9.42-21.49-12.01-27.73zm-22.96-21.036c-3.416 2.59-6.83 4.043-10.244 4.043H163v-32h22.688c3.648 0 7.18 1.535 10.596 4.186 3.415 2.65 5.122 6.69 5.122 11.753 0 5.298-1.708 9.43-5.123 12.018zM302.608 0c-8.124 0-16.013 1.65-23.666 4.946-7.655 3.297-14.425 7.83-20.312 13.6-5.89 5.77-10.597 12.922-14.13 21.458-3.53 8.54-5.298 17.692-5.298 27.465 0 17.9 6.27 33.32 18.81 46.27 12.54 12.95 27.933 19.43 46.187 19.43 17.54 0 32.43-6.57 44.68-19.7 12.24-13.13 18.37-28.7 18.37-46.72 0-19.31-6.42-35.27-19.26-47.87C335.16 6.3 320.03 0 302.6 0zm23.313 92.37c-6.71 6.357-14.3 9.54-22.78 9.54-8.24 0-15.75-3.27-22.52-9.805s-10.15-14.982-10.15-25.345c0-10.595 3.36-19.16 10.07-25.694 6.71-6.536 14.31-9.803 22.78-9.803 8.24 0 15.75 3.24 22.52 9.715C332.61 47.456 336 55.99 336 66.588c0 10.833-3.355 19.428-10.07 25.787zM525.24 2.296C522.06 1.12 519.233.53 516.76.53c-2.236 0-4.148.617-5.74 1.854-1.587 1.236-2.68 2.502-3.266 3.797-.59 1.3-1.357 3.3-2.294 6.01l-19.428 59.34-19.255-58.46-1.06-2.82c-.707-1.88-2.357-3.79-4.942-5.74-2.593-1.94-5.83-2.91-9.714-2.91-2.12 0-4.12.42-6 1.24-1.88.83-3.33 1.74-4.33 2.74-1 1-1.91 2.18-2.73 3.54-.82 1.35-1.32 2.27-1.5 2.74-.17.48-.32.89-.44 1.24l-19.25 58.1-19.43-58.99c-1.18-3.88-2.5-6.76-3.97-8.65-1.47-1.88-3.8-2.82-6.98-2.82-2.35 0-5.24.59-8.65 1.77-7.89 2.71-11.83 6.42-11.83 11.13 0 1.88.65 4.77 1.95 8.65l34.09 98.02 1.24 2.65c.82 1.77 2.44 3.53 4.86 5.3 2.42 1.77 5.27 2.65 8.57 2.65 2.23 0 4.27-.41 6.09-1.23 1.83-.82 3.27-1.77 4.33-2.83s2-2.23 2.83-3.53c.83-1.29 1.33-2.21 1.51-2.73l.44-1.33 19.6-57.93 19.61 57.93 1.06 3.01c.82 1.88 2.5 3.79 5.03 5.74 2.53 1.94 5.56 2.91 9.09 2.91 3.41 0 6.39-.97 8.92-2.91 2.53-1.95 4.09-3.5 4.68-4.68.59-1.18 1-2.18 1.24-3L535 22.3c1.41-4.24 2.12-7.12 2.12-8.654 0-4.705-3.95-8.475-11.83-11.3zm107.028 30.13c2.233 0 3.912.185 5.033.125 1.12-.06 2.48-.24 4.07-.77 1.59-.53 2.8-1.27 3.62-2.33.82-1.06 1.53-2.56 2.12-4.56.59-2 .89-4.52.89-7.58 0-3.76-.35-6.76-1.06-9-.7-2.23-1.94-3.82-3.71-4.76-1.76-.94-3.32-1.58-4.68-1.75-1.35-.17-3.38-.34-6.09-.34h-69.59c-6.24 0-10.37 1.17-12.61 3.35s-3.25 6.35-3.25 12.35v98.2c0 2.24-.08 3.92-.01 5.04.06 1.12.3 2.48.83 4.06.53 1.59 1.29 2.8 2.35 3.63 1.06.82 2.58 1.72 4.58 2.31 2 .59 4.52 1.07 7.58 1.07h69.94c2.23 0 3.91-.21 5.03-.27 1.12-.06 2.48-.45 4.06-.98 1.59-.53 2.8-1.37 3.63-2.43.82-1.06 1.53-2.61 2.12-4.62.59-2 .89-4.54.89-7.6 0-3.77-.35-6.78-1.06-9.02-.7-2.23-1.94-3.83-3.71-4.77-1.76-.94-3.32-1.69-4.68-1.86-1.35-.18-3.38-.45-6.09-.45H578v-17h34.664c2.235 0 3.912-.26 5.03-.33 1.12-.06 2.503-.47 4.15-1 1.65-.53 2.885-1.38 3.712-2.44.82-1.06 1.53-2.62 2.118-4.62.59-2 .884-4.54.884-7.61 0-3.76-.352-6.77-1.06-9.01-.705-2.24-1.942-3.83-3.71-4.77-1.766-.94-3.326-1.63-4.68-1.81-1.354-.172-3.387-.393-6.094-.393H578v-18h54.268zm118.505 77.957c-.59-1.883-1.588-3.175-3-3.885-1.414-.703-2.68-1.388-3.8-1.563-1.117-.178-2.855-.508-5.208-.508H691v-87.12c0-2.235-.168-3.912-.224-5.032-.064-1.117-.425-2.472-.954-4.062-.53-1.59-1.358-2.795-2.42-3.62-1.06-.823-2.605-1.53-4.607-2.122-2.003-.58-4.542-.88-7.603-.88-3.77 0-6.777.36-9.014 1.06-2.236.71-3.83 1.95-4.77 3.71-.946 1.77-1.732 3.33-1.91 4.68-.176 1.36-.5 3.39-.5 6.1v98.2c0 2.24.26 3.92.323 5.04.06 1.12.47 2.47 1 4.06.54 1.59 1.39 2.8 2.45 3.63 1.07.83 2.62 1.72 4.62 2.31 2 .59 4.57 1.07 7.63 1.07h63.58c2.24 0 3.95-.27 5.12-.45 1.18-.17 2.5-.73 3.98-1.5 1.47-.76 2.5-2.14 3.09-4.02.59-1.88.89-4.38.89-7.44 0-3.18-.29-5.73-.88-7.62zM118.028 2.907c-1.39-.695-2.606-1.087-3.648-1.26-1.044-.176-2.724-.22-5.042-.22h-96.65c-2.317 0-4.028.044-5.127.22-1.1.172-2.34.586-3.73 1.28-1.39.7-2.38 1.933-2.95 3.728-.58 1.8-.87 4.195-.87 7.21 0 3.014.29 5.445.87 7.297.58 1.855 1.57 3.128 2.96 3.823 1.39.695 2.64 1.07 3.74 1.243 1.1.176 2.75.2 4.96.2h39.29c2.81 10-2.85 21.253-2.85 29.485 0 2.082 3.05 4.004 6.05 4.658v9.07c-13 .98-17.18 2.25-17.33 2.3.3 31.32 16.41 56.7 21.07 56.7 4.68 0 20.63-25.3 20.84-56.73-.72-.21-4.58-1.36-17.58-2.26v-9.07c3-.65 6.4-2.57 6.4-4.65 0-8.23-5.29-19.48-2.49-29.48h43.26c2.32 0 4.02-.02 5.13-.2 1.1-.17 2.35-.57 3.74-1.27 1.39-.69 2.37-1.92 2.96-3.72.58-1.79.87-4.19.87-7.2s-.29-5.44-.87-7.29c-.58-1.85-1.56-3.12-2.96-3.82z"/> </svg> <%= props.names.capitalcase.plural %> </h1> <div class="<%= props.names.kebabcase.singular %>">hello world !</div> <% if (props.javascript) { %><script src="./javascript/<%= props.names.kebabcase.plural %>.js"></script> <script type="text/javascript"> var <%= props.names.lowercase.plural %> = new Trowel<%= props.names.pascalcase.plural %>(document.querySelectorAll('.<%= props.names.kebabcase.singular %>')); </script><% } %> </body> </html>