You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

  1. ::use 'design.mtt'::
  2. <div class="col-md-12">
  3. <h2>::c.name:: - ::c._vendor.name::</h2>
  4. </div>
  5. <div class="col-md-3">
  6. <div class="article">
  7. <ul id="subnav" class="nav nav-pills nav-stacked">
  8. <li id="default" ::attr class if(nav[1]=="view") 'active'::>
  9. <a href="/contractAdmin/view/::c.id::">::_("Summary")::</a></li>
  10. <li id="edit">
  11. <a href="/contract/edit/::c.id::">::_("Edit contract")::</a></li>
  12. <li id="products" ::attr class if(nav[1]=="products") 'active'::>
  13. <a href="/contractAdmin/products/::c.id::">::_("Products")::</a></li>
  14. <li id="deliveries" ::attr class if(nav[1]=="distributions") 'active'::>
  15. <a href="/contractAdmin/distributions/::c.id::">::_("Distributions")::</a></li>
  16. <li id="orders" ::attr class if(nav[1]=="orders") 'active'::>
  17. <a href="/contractAdmin/orders/::c.id::">::_("Orders")::</a></li>
  18. <li id="stats">
  19. <a href="/contractAdmin/stats/::c.id::">::_("Stats")::</a></li>
  20. ::if navbar!=null::
  21. <hr/>
  22. ::foreach i navbar::
  23. <li ::attr class if(nav[1]==i.id) 'active'::>
  24. <a href="::i.link::">
  25. <span ::cond i.icon:: class="glyphicon glyphicon-::i.icon::" ></span>
  26. ::i.name::</a>
  27. </li>
  28. ::end::
  29. ::end::
  30. </ul>
  31. </div>
  32. </div>
  33. <div class="col-md-9">
  34. <div class="article">
  35. ::raw __content__::
  36. </div>
  37. </div>
  38. ::end::