main.html 721 B

123456789101112131415161718192021222324252627282930313233
  1. <head>
  2. <title>Стартовая страница</title>
  3. <meta name="viewport" content="width=device-width">
  4. <meta name="theme-color" content="#0065ac">
  5. </head>
  6. <body>
  7. </body>
  8. <template name="main">
  9. <header>
  10. <a href='https://start.mephi.ru/logo' target='iframe'><img id='logo' src='/images/mephi_logo_onwhite_32px.png' alt='MEPHI logo' width='32px' height='32px'></a>
  11. <nav>
  12. <ul id='services'>
  13. {{#each services}}
  14. {{> service}}
  15. {{/each}}
  16. </ul>
  17. </nav>
  18. <div id='auth'>
  19. test
  20. </div>
  21. </header>
  22. <iframe name='iframe' id='iframe' src='/logo'></iframe>
  23. </template>
  24. <template name="service">
  25. <li class='service'>
  26. <a href='{{link_to}}' target='iframe'>{{name}}</a>
  27. </li>
  28. </template>