New project structure
Beta of extract.js for extracting english locale
This commit is contained in:
		
							parent
							
								
									e18d2b2f84
								
							
						
					
					
						commit
						2edbd67205
					
				
					 247 changed files with 6405 additions and 4237 deletions
				
			
		
							
								
								
									
										33
									
								
								server/views/grapesjs/layout.hbs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								server/views/grapesjs/layout.hbs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="utf-8">
 | 
			
		||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
 | 
			
		||||
    <meta name="description" content="{{#translate}}Self hosted email newsletter app{{/translate}}">
 | 
			
		||||
    <link rel="shortcut icon" href="{{publicPath}}favicon.ico" type="image/x-icon" />
 | 
			
		||||
    <link rel="icon" href="{{publicPath}}static/favicon.ico">
 | 
			
		||||
 | 
			
		||||
    <title>Mailtrain</title>
 | 
			
		||||
 | 
			
		||||
    <script src="{{publicPath}}static/jquery-2.2.1.min.js"></script>
 | 
			
		||||
 | 
			
		||||
    {{#if mailtrainConfig}}
 | 
			
		||||
        <script>
 | 
			
		||||
            {{#if reactCsrfToken}}window.csfrToken = '{{reactCsrfToken}}';{{/if}}
 | 
			
		||||
            window.mailtrainConfig = {{{mailtrainConfig}}};
 | 
			
		||||
        </script>
 | 
			
		||||
 | 
			
		||||
        {{#each scriptFiles}}
 | 
			
		||||
            <script src="{{this}}"></script>
 | 
			
		||||
        {{/each}}
 | 
			
		||||
    {{/if}}
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body class="grapesjs-body">
 | 
			
		||||
{{{body}}}
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										6
									
								
								server/views/grapesjs/root.hbs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								server/views/grapesjs/root.hbs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
<div id="root"></div>
 | 
			
		||||
<script>
 | 
			
		||||
    document.addEventListener('DOMContentLoaded', function() {
 | 
			
		||||
        MailtrainReactBody.default();
 | 
			
		||||
    });
 | 
			
		||||
</script>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue