Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. export class SchemaTemplates {
  2. public static readonly INVOKE_TEMPLATE = `
  3. <h1 style="color:red">
  4. Search registry <%= RegistryName %>
  5. </h1>
  6.  
  7. <style>
  8. body {
  9. font-size: 2rem;
  10. }
  11. </style>
  12. <div id="app">
  13.  
  14. <input type="search" v-model="searchedKeyword" v-on:input="userTyping" placeholder="Search for schema keyword..">
  15. <br />
  16. <br />
  17.  
  18. <select v-model="selectedSchema" v-on:change="userSelectedSchema" size= 40>
  19. <option disabled value="">Select a schema</option>
  20. <option v-for="result in searchResults" :value="result.SchemaName">{{result.SchemaName}}</option>
  21. </select>
  22. <textarea
  23. readonly
  24. rows="43"
  25. cols="100"
  26. v-model="schemaContent"
  27. ></textarea>
  28.  
  29. <br /> <br /> <br />
  30.  
  31. <input type="submit" v-on:click="downloadButtonClicked" value="Download Code Bindings">
  32.  
  33. </div>
  34. <link rel="stylesheet" type="text/css" href="/media/emil.css">
  35. <% Libraries.forEach(function(lib) { %>
  36. <script nonce="<%= lib.nonce %>" src="<%= lib.uri %>"></script>
  37. <% }); %>
  38. <% Scripts.forEach(function(scr) { %>
  39. <script nonce="<%= scr.nonce %>" src="<%= scr.uri %>"></script>
  40. <% }); %>
  41.  
  42. <% Styles.forEach(function(scr) { %>
  43. <link rel="stylesheet" type="text/css" href="<%= scr.uri %>">
  44. <% }); %>
  45. `
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement