fork download
  1. {% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
  2.  
  3. <!DOCTYPE html>
  4. <html lang="{{ app.request.locale }}">
  5.  
  6. {% block head %}
  7. <head>
  8. <meta charset="{{ _charset }}" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <title>FinanceTest</title>
  11. {% block favicon %}
  12. <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
  13. {% endblock %}
  14. {% stylesheets filter='less,cssrewrite,?yui_css'
  15. '@FinanceTestBundle/Resources/public/less/main.less'
  16. %}
  17. <link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
  18. {% endstylesheets %}
  19. </head>
  20. {% endblock head %}
  21.  
  22. <body>
  23. {% block navbar %}
  24. <div>
  25. {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
  26. <a href="{{ path('portfolio') }}">
  27. {{ 'portfolio.portfolios'|trans }}
  28. </a>
  29.  
  30. {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
  31. <a href="{{ path('fos_user_security_logout') }}">
  32. {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
  33. </a>
  34. {% else %}
  35. <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
  36. {% endif %}
  37. </div>
  38. {% endblock navbar %}
  39.  
  40. {% block body %}
  41.  
  42.  
  43. <script type="text/javascript">
  44. $(document).ready(function () {
  45. $('[data-toggle="tooltip"]').tooltip();
  46. $('[data-toggle="popover"]').popover();
  47. });
  48. </script>
  49. {% endblock body %}
  50.  
  51. </body>
  52. </html>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
^
Main.java:1: error: class, interface, or enum expected
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
 ^
Main.java:1: error: unclosed character literal
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
        ^
Main.java:1: error: unclosed character literal
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
                                             ^
Main.java:1: error: '.' expected
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
                                                                   ^
Main.java:1: error: ';' expected
{% from 'MopaBootstrapBundle::flash.html.twig' import session_flash %}
                                                                     ^
Main.java:3: error: class, interface, or enum expected
<!DOCTYPE html>
^
Main.java:3: error: class, interface, or enum expected
<!DOCTYPE html>
 ^
Main.java:3: error: class, interface, or enum expected
<!DOCTYPE html>
  ^
Main.java:14: error: unclosed character literal
        {% stylesheets filter='less,cssrewrite,?yui_css'
                              ^
Main.java:14: error: illegal line end in character literal
        {% stylesheets filter='less,cssrewrite,?yui_css'
                                                       ^
Main.java:15: error: unclosed character literal
           '@FinanceTestBundle/Resources/public/less/main.less'
           ^
Main.java:15: error: class, interface, or enum expected
           '@FinanceTestBundle/Resources/public/less/main.less'
                                               ^
Main.java:15: error: illegal line end in character literal
           '@FinanceTestBundle/Resources/public/less/main.less'
                                                              ^
Main.java:27: error: unclosed character literal
                    {{ 'portfolio.portfolios'|trans }}
                       ^
Main.java:27: error: unclosed character literal
                    {{ 'portfolio.portfolios'|trans }}
                                            ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                   ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                                       ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                                                ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                                                           ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                                                                                  ^
Main.java:30: error: unclosed character literal
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                                                                                                ^
Main.java:32: error: unclosed character literal
                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
                       ^
Main.java:32: error: unclosed character literal
                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
                                     ^
Main.java:32: error: unclosed character literal
                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
                                                 ^
Main.java:32: error: unclosed character literal
                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
                                                               ^
Main.java:35: error: unclosed character literal
                <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
                                                                   ^
Main.java:35: error: unclosed character literal
                <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
                                                                                ^
Main.java:35: error: unclosed character literal
                <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
                                                                                            ^
Main.java:35: error: unclosed character literal
                <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
                                                                                                          ^
Main.java:45: error: unclosed character literal
            $('[data-toggle="tooltip"]').tooltip();
              ^
Main.java:45: error: unclosed character literal
            $('[data-toggle="tooltip"]').tooltip();
                                      ^
Main.java:46: error: class, interface, or enum expected
            $('[data-toggle="popover"]').popover();
            ^
Main.java:46: error: unclosed character literal
            $('[data-toggle="popover"]').popover();
              ^
Main.java:46: error: unclosed character literal
            $('[data-toggle="popover"]').popover();
                                      ^
Main.java:47: error: class, interface, or enum expected
        });
        ^
Main.java:48: error: class, interface, or enum expected
    </script>
    ^
37 errors
stdout
Standard output is empty