PHP Classes

File: app/views/master.twig

Recommend this page to a friend!
  Classes of ikhsan   Slim Starter   app/views/master.twig   Download  
File: app/views/master.twig
Role: Auxiliary data
Content type: text/plain
Description: master template file
Class: Slim Starter
Build MVC Web applications based on Slim framework
Author: By
Last change: Update of app/views/master.twig
Date: 5 months ago
Size: 973 bytes
 

Contents

Class file image Download
<!DOCTYPE html> <html ng-app> <head> <title>{{ title }}</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> {% for metaname, metavalue in meta %} <meta name="{{metaname}}" value="{{metavalue}}" /> {% endfor %} <!-- publish javascript variable --> <script> var global = {{global|json_encode|raw}} </script> <!-- Include registered css --> {% for cssfile in css.external %} <link rel="stylesheet" href="{{cssfile}}" /> {% endfor %} {% for cssfile in css.internal %} <link rel="stylesheet" href="{{assetUrl}}css/{{cssfile}}" /> {% endfor %} </head> <body> {% block body %}{% endblock %} <!-- Include registered javascript --> {% for jsfile in js.external %} <script src="{{jsfile}}"></script> {% endfor %} {% for jsfile in js.internal %} <script src="{{assetUrl}}js/{{jsfile}}"></script> {% endfor %} </body> </html>