Advertisement
Guest User

Base 2

a guest
Sep 29th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.32 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8" />
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.  
  7.         {% stylesheets filter="scssphp" output="css/app.css"
  8.             "assets/scss/styles.scss"
  9.         %}
  10.             <link rel="stylesheet" href="{{ asset_url }}" />
  11.         {% endstylesheets %}
  12.         {% block stylesheets %}{% endblock %}
  13.  
  14.         {% javascripts filter="?jsqueeze" output="js/app.js"
  15.             "assets/js/jquery.js"
  16.             "assets/js/bootstrap.js"
  17.             "assets/js/main.js"
  18.         %}
  19.             <script src="{{ asset_url }}"></script>
  20.         {% endjavascripts %}
  21.         <!--to ja wrzuciłem-->
  22.         <link rel="stylesheet" type="text/css" media="screen" href="/assets/css/style po zalogowaniu.css" />
  23.         <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
  24.         <!--dotąd, ta druga linijka nie wiem do czego się odnosi, próbowałem po prostu kopiować Twoją prace z innych arkuszy-->
  25.     </head>
  26.  
  27.  
  28.  
  29.     <nav class="navbar navbar-default">
  30.         <div class="container-fluid">
  31.             <!-- Brand and toggle get grouped for better mobile display -->
  32.             <div class="navbar-header">
  33.                 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
  34.                     <span class="sr-only">Toggle navigation</span>
  35.                     <span class="icon-bar"></span>
  36.                     <span class="icon-bar"></span>
  37.                     <span class="icon-bar"></span>
  38.                 </button>
  39.  
  40.             </div>
  41.  
  42.             <!-- Collect the nav links, forms, and other content for toggling -->
  43.             <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  44.                 <ul class="nav navbar-nav">
  45.                     <li><a href="#"><a href="{{ path('receipt_add') }}" class="pasek">Add receipt</a></a></li>
  46.                     <li><a href="#"><a href="{{ path('receipt_list') }}"class="pasek">List Receipt</a></a></li>
  47.                     <li><a href="#"><a href="{{ path('tomek_index') }}"class="pasek">Tomek</a></a></li>
  48.                 </ul>
  49.                 <form class="navbar-form navbar-left">
  50.                     <div class="form-group">
  51.                         <input type="text" class="form-control" placeholder="Search">
  52.                     </div>
  53.                     <button type="submit" class="btn btn-default">Submit</button>
  54.                 </form>
  55.  
  56.                 <ul class="nav navbar-nav navbar-right">
  57.                     <li><a href="#">Link</a></li>
  58.                     <li class="dropdown">
  59.                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
  60.                         <ul class="dropdown-menu">
  61.                             <!--lekko zmienione, ale ogólnie skopiowałem cały formularz z pliku login, mój problem jest taki, że nie wiem co wrzucić,
  62.                            np jakieś odwołanie do pliku żeby to działało-->
  63.                             <div id="main">
  64.                                 {% if error %}
  65.                                     <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  66.                                 {% endif %}
  67.  
  68.                                 <form action="{{ path('login_check') }}" method="post">
  69.                                     <label for="username">Username:</label>
  70.                                     <input type="text" id="username" name="_username" value="{{ last_username }}" />
  71.  
  72.                                     <label for="password">Password:</label>
  73.                                     <input type="password" id="password" name="_password" />
  74.  
  75.                                     <button type="submit">login</button>
  76.                                 </form>
  77.  
  78.                                 <a href="{{ path('register') }}">Register</a>
  79.                             </div>
  80.  
  81.                         </ul>
  82.                     </li>
  83.                 </ul>
  84.             </div><!-- /.navbar-collapse -->
  85.         </div><!-- /.container-fluid -->
  86.     </nav>
  87.         {% block body %}{% endblock %}
  88.         {% block javascripts %}{% endblock %}
  89.     </body>
  90. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement