Skip to content
Snippets Groups Projects
Commit bbce6055 authored by damjan's avatar damjan
Browse files

[TASK] Refactoring - making partials

parent 7d855176
No related branches found
No related tags found
No related merge requests found
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<f:for each="{types}" as="type">
<li class="{f:if(condition: '{selectedType.id} == {type.id}', then: 'active')}">
<f:link.action package="SGalinski.TypoScriptReferenceFrontend" controller="tsref" action="index"
arguments="{typeId: type.id}">
{type.id} {type.name}
<f:if condition="{selectedType.id} == {type.id}">
<span class="sr-only">(current)</span>
</f:if>
</f:link.action>
</li>
</f:for>
</ul>
</div>
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/bootstrap.min.css')}" rel="stylesheet" />
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/dashboard.css')}" rel="stylesheet" />
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/Tsref.css')}" rel="stylesheet" />
......@@ -4,27 +4,11 @@
<f:section name="Title">TypoScript reference</f:section>
<f:section name="Content">
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/bootstrap.min.css')}" rel="stylesheet" />
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/dashboard.css')}" rel="stylesheet" />
<link href="{f:uri.resource(package: 'SGalinski.TypoScriptReferenceFrontend', path: 'css/Tsref.css')}" rel="stylesheet" />
<f:render partial="ResourcesInclusion" arguments="{_all}" />
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<f:for each="{types}" as="type">
<li class="{f:if(condition: '{selectedType.id} == {type.id}', then: 'active')}">
<f:link.action package="SGalinski.TypoScriptReferenceFrontend" controller="tsref" action="index"
arguments="{typeId: type.id}">
{type.id} {type.name}
<f:if condition="{selectedType.id} == {type.id}">
<span class="sr-only">(current)</span>
</f:if>
</f:link.action>
</li>
</f:for>
</ul>
</div>
<f:render partial="NavigationSidebar" arguments="{_all}" />
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1 class="page-header">{selectedType.name}</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment