Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title></title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
- <script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
- <script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
- <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
- <style>
- /* Screen Media Type */
- @media screen {
- section {
- text-align: center;
- }
- section > div {
- max-width: 3.5in;
- margin: 0 auto;
- }
- .home {
- display: none;
- }
- /* Menu Body */
- .menu-body {
- }
- /* Category Elements */
- .cat_block {
- margin-bottom: 10px;
- }
- .cat_title {
- text-size: 1.2em;
- text-decoration: underline;
- font-weight: bold;
- }
- .cat_description {
- color: #444;
- }
- /* Item Elements */
- .item_block {
- margin-bottom: 20px;
- }
- .item_title {
- text-size: 1.2em;
- }
- .item_description {
- text-size: 0.9em;
- color: #444;
- }
- /* Note Elements */
- .note {
- }
- /* Section Break Elements */
- .break {
- }
- /* Print Classes */
- }
- @media print {
- @page {
- size: 4in 8.5in;
- }
- section {
- text-align: center;
- }
- section > div {
- max-width: 3.5in;
- margin: 0 auto;
- }
- .home {
- text-align: center;
- margin: 3in auto !important;
- page-break-after: always;
- }
- /*
- .home h4 {
- display: inline-block !important;
- }
- */
- /* Menu Body */
- .menu-body {
- }
- /* Category Elements */
- .cat_block {
- margin-bottom: 10px;
- }
- .cat_title {
- text-size: 1.2em;
- text-decoration: underline;
- font-weight: bold;
- }
- .cat_description {
- color: #444;
- }
- /* Item Elements */
- .item_block {
- margin-bottom: 20px;
- }
- .item_title {
- text-size: 1.2em;
- }
- .item_description {
- text-size: 0.9em;
- color: #444;
- }
- /* Note Elements */
- .note {
- }
- /* Section Break Elements */
- .break {
- }
- }
- </style>
- </head>
- <body class="container-fluid menu-body">
- <div class="home">
- <h4>Menu Header: {{event.menu_header}}</h2>
- <h5>Date: {{event.date}}</h4>
- </div>
- <div class="page-break">
- </div>
- {{#each menus}}
- <section>
- <div id="fragment-{{@index}}">
- {{#each rows}}
- {{#if category}}
- <div class="cat_block row">
- <div class="cat_title">{{value}}</div>
- {{#if choice}}<div class="cat_choice_desc">{{choice.description}}</div>{{/if}}
- {{#if description}}<div class="cat_desc">{{description}}</div>{{/if}}
- </div>
- {{/if}}
- {{#if item}}
- <div class="item_block row">
- <div class="item_title">{{name}}</div>
- {{#if description}}<div class="item_desc">{{description}}</div>{{/if}}
- </div>
- {{/if}}
- {{#if note}}
- <div class="note">
- <span class="note">{{note}}</span>
- </div>
- {{/if}}
- {{#if sectionBreak}}
- <div class="break"></div>
- {{/if}}
- {{/each}} <!-- Row End -->
- </div> <!-- Nav Index -->
- </section> <!-- Section End -->
- {{/each}} <!-- Menu End -->
- </body> <!-- Container Fluid End -->
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement