Browse Source

changed templates regarding conrols section

php2python
Holger Frey 7 years ago
parent
commit
7a919daacf
  1. 4
      ordr2/static/css/style.css
  2. 2
      ordr2/templates/account/login.jinja2
  3. 2
      ordr2/templates/errors/forbidden.jinja2
  4. 2
      ordr2/templates/errors/not_found.jinja2
  5. 7
      ordr2/templates/layout.jinja2
  6. 2
      ordr2/templates/pages/faq.jinja2
  7. 6
      ordr2/templates/pages/welcome.jinja2

4
ordr2/static/css/style.css

@ -718,3 +718,7 @@ hgroup .info {
.page-controls h1 { font-size: 25px; } .page-controls h1 { font-size: 25px; }
} }
/*================ STYLES FOR php2python BRANCH ================*/
input[value="password:mapping"] + div { margin-bottom:10px; }

2
ordr2/templates/account/login.jinja2

@ -4,6 +4,7 @@
{% block subtitle %} Login {% endblock subtitle %} {% block subtitle %} Login {% endblock subtitle %}
{% block content %} {% block content %}
<div class="content">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="span6 offset3"> <div class="span6 offset3">
@ -34,4 +35,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{% endblock content %} {% endblock content %}

2
ordr2/templates/errors/forbidden.jinja2

@ -3,6 +3,7 @@
{% block subtitle %} Access Denied {% endblock subtitle %} {% block subtitle %} Access Denied {% endblock subtitle %}
{% block content %} {% block content %}
<div class="content">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -15,4 +16,5 @@
</div> </div>
</div> </div>
</div>
{% endblock content %} {% endblock content %}

2
ordr2/templates/errors/not_found.jinja2

@ -3,6 +3,7 @@
{% block subtitle %} Not Found {% endblock subtitle %} {% block subtitle %} Not Found {% endblock subtitle %}
{% block content %} {% block content %}
<div class="content">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -15,4 +16,5 @@
</div> </div>
</div> </div>
</div>
{% endblock content %} {% endblock content %}

7
ordr2/templates/layout.jinja2

@ -12,6 +12,7 @@
<link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap.css')}}" type="text/css" media="screen"> <link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap.css')}}" type="text/css" media="screen">
<link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap-responsive.css')}}" type="text/css" media="screen"> <link rel="stylesheet" href="{{request.static_url('ordr2:static/css/bootstrap-responsive.css')}}" type="text/css" media="screen">
<link rel="stylesheet" href="{{request.static_url('ordr2:static/css/style.css')}}" type="text/css" media="screen" /> <link rel="stylesheet" href="{{request.static_url('ordr2:static/css/style.css')}}" type="text/css" media="screen" />
<link rel="stylesheet" href="{{request.static_url('deform:static/css/form.css')}}" type="text/css" media="screen" />
<!--[if !IE 7]> <!--[if !IE 7]>
<style type="text/css"> <style type="text/css">
#wrap {display:table;height:100%} #wrap {display:table;height:100%}
@ -46,7 +47,7 @@
</ul> </ul>
{% else %} {% else %}
<ul class="nav"> <ul class="nav">
<li {% if context.nav_highlight == 'register' %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'register')}}">Register</a></li> <li {% if context.nav_highlight == 'register' %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'account', 'register')}}">Register</a></li>
<li {% if context.nav_highlight == 'about' %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'about')}}">About</a></li> <li {% if context.nav_highlight == 'about' %} class="active" {% endif %}><a href="{{request.resource_url(request.root, 'about')}}">About</a></li>
</ul> </ul>
<form action="{{request.resource_url(request.root, 'account', 'login')}}" method="post" class="navbar-form pull-right"> <form action="{{request.resource_url(request.root, 'account', 'login')}}" method="post" class="navbar-form pull-right">
@ -59,11 +60,11 @@
</div> </div>
</div> </div>
</header> </header>
<div class="content {#<?php echo ($controls) ? ' controls' : ''; ?>#}">
{% block content %} {% block content %}
<p>No content</p> <p>No content</p>
{% endblock content %} {% endblock content %}
</div>
<footer> <footer>
<div class="copy"> <div class="copy">

2
ordr2/templates/pages/faq.jinja2

@ -3,6 +3,7 @@
{% block subtitle %} FAQ {% endblock subtitle %} {% block subtitle %} FAQ {% endblock subtitle %}
{% block content %} {% block content %}
<div class="content">
<div class="container"> <div class="container">
<h1>Frequently Asked Questions</h1> <h1>Frequently Asked Questions</h1>
@ -71,4 +72,5 @@
</div> </div>
</section> </section>
</div> </div>
</div>
{% endblock content %} {% endblock content %}

6
ordr2/templates/pages/welcome.jinja2

@ -3,6 +3,7 @@
{% block subtitle %} Welcome {% endblock subtitle %} {% block subtitle %} Welcome {% endblock subtitle %}
{% block content %} {% block content %}
<div class="content">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -36,5 +37,6 @@
<p>As soons as your purchase has arrived you will automatically get notified. Or you can use the orders overview to check what the working status is.</p> <p>As soons as your purchase has arrived you will automatically get notified. Or you can use the orders overview to check what the working status is.</p>
</div> </div>
</div> </div>
</div>
</div>{% endblock content %} </div>
{% endblock content %}