error404.html.twig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {% extends 'PackagistWebBundle::layout.html.twig' %}
  2. {% block content_header %}
  3. <section class="wrapper wrapper-blue">
  4. <div class="container">
  5. <form autocomplete="off" method="GET" action="{{ path('search') }}" id="search-form">
  6. <input type="search" class=" form-control" tabindex="1" placeholder="Search packages..." autofocus="autofocus" autocomplete="off" required="required" name="search_query[query]" id="search_query_query">
  7. </form>
  8. <div class="row">
  9. <div class="col-lg-12 hidden-xs">
  10. <p>Packagist is the main <a href="http://getcomposer.org/">Composer</a> repository. It aggregates all sorts of PHP packages that are installable with Composer.</p>
  11. <p><a href="{{ path('browse') }}">Browse packages</a> or <a href="{{ path('submit') }}">submit your own</a>.</p>
  12. </div>
  13. </div>
  14. </div>
  15. </section>
  16. {% endblock %}
  17. {% block content %}
  18. <section class="wrapper">
  19. <section class="container error">
  20. <div class="row">
  21. <h2 class="title">Oh noes, 404!</h2>
  22. <h3 class="font-normal">It looks like you requested a page that was not found.</h3>
  23. <h4>Go back to the <a href="{{ path('home') }}">homepage</a> or use the search above to find the package you want.</h4>
  24. </div>
  25. <div class="row hidden">
  26. <div class="search-list col-md-12"></div>
  27. </div>
  28. </section>
  29. </section>
  30. {% endblock %}