Commit 84566240 authored by speedprogs_de's avatar speedprogs_de

added partials for linked category list and relation list, added some basic structure to templates

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/branches/ter_fe2@51865 735d13b6-9817-0410-8766-e36946ffe9aa
parent 9622d75f
<div class="tx_terfe2">
<div class="tx_terfe2_messages">
<f:flashMessages />
</div>
<div class="tx_terfe2_content">
<f:render section="main" />
</div>
</div>
\ No newline at end of file
{namespace terfe2=Tx_TerFe2_ViewHelpers}
<f:if condition="{extensions}">
<f:then>
<f:for each="{extensions}" as="extension">
<div class="tx_terfe2_list_entry <f:if condition='{extension.lastVersion.reviewState} < 0'>tx_terfe2_list_entry_marked</f:if>">
<h5>
<span class="tx_terfe2_list_entry_icon">
<terfe2:extensionIcon version="{extension.lastVersion}" alt="{extension.lastVersion.title}" />
</span>
<f:link.action controller="Extension" action="show" arguments="{extension : extension}">{extension.lastVersion.title} ({extension.extKey})</f:link.action>
<span class="tx_terfe2_extension_list_downloads">
<f:link.action controller="Extension" action="download" arguments="{version : extension.lastVersion}" class="bu">[t3x]</f:link.action>
<f:if condition="{extension.lastVersion.zipFile}">
<f:link.action controller="Extension" action="download" arguments="{version : extension.lastVersion, format : 'zip'}" class="bu">[t3x]</f:link.action>
</f:if>
</span>
</h5>
<div class="tx_terfe2_list_entry_content">
<div class="tx_terfe2_extension_list_description">{extension.lastVersion.description}</div>
<div>
<div class="tx_terfe2_extension_list_information">
<span class="tx_terfe2_extension_list_label"><f:translate key="author"/>: </span>{extension.lastVersion.author.name}<br />
<span class="tx_terfe2_extension_list_label"><f:translate key="relations"/>: </span><f:render partial="InlineCategoryList" arguments="{relations: extension.lastVersion.softwareRelations}"/><br />
<span class="tx_terfe2_extension_list_label"><f:translate key="categories"/>: </span><f:render partial="InlineCategoryList" arguments="{catgories: extension.categories}"/><br />
</div>
<div class="tx_terfe2_extension_list_chart">
<terfe2:chart object="{extension}" method="downloadsByVersion" height="100" width="150" />
</div>
</div>
</div>
</div>
</f:for>
</f:then>
<f:else>
<f:translate key="msg.no_entries_found"/>
</f:else>
</f:if>
\ No newline at end of file
<f:if condition="{categories}">
<f:for each="{categories}" as="{category}" iteration="categoryIteration">
<f:link.action controller="Extension" action="showByCategory" arguments="{category : category}">{category.title}</f:link.action>
<f:if condition="{categoryIteration.isFirst}"><f:then></f:then><f:else>, </f:else></f:if>
</f:for>
</f:if>
\ No newline at end of file
<f:if condition="{relations}">
<f:for each="{relations}" as="{relation}" iteration="relationIteration">
<f:link.action controller="Extension" action="showByRelation" arguments="{relation : relation}">{relation.relationKey}</f:link.action>
<f:if condition="{relationIteration.isFirst}"><f:then></f:then><f:else>, </f:else></f:if>
</f:for>
</f:if>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
<div class="b-tabs">
<ul class="tabs orange-tabs">
<li>
<a href="#tx_terfe2_tab_extensions">Extensions</a>
</li>
<li>
<a href="#tx_terfe2_tab_categories">Kategories</a>
</li>
<li>
<a href="#tx_terfe2_tab_tags">Tags</a>
</li>
<li>
<a href="#tx_terfe2_tab_authors">Authors</a>
</li>
</ul>
<div class="tab-panes">
<div class="csc-default show-tab" id="tx_terfe2_tab_extensions">
<div class="tab-content ">
<f:render partial="ExtensionList" arguments="{extensions: latestExtensions}"/>
</div>
</div>
<div class="csc-default show-tab" id="tx_terfe2_tab_categories">
<div class="tab-content ">
</div>
</div>
<div class="csc-default show-tab" id="tx_terfe2_tab_tags">
<div class="tab-content ">
</div>
</div>
<div class="csc-default show-tab" id="tx_terfe2_tab_authors">
<div class="tab-content ">
</div>
</div>
</div>
</div>
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default" />
<f:section name="main">
</f:section>
\ No newline at end of file
......@@ -7,43 +7,61 @@ div.tx_terfe2_messages {
}
div.tx_terfe2_content {
clear:both;
}
div.tx_terfe2_list_entry {
border: 1px solid #c8c8c8;
border-width: 0 1px 1px;
overflow: hidden;
margin: 0 0 17px 0;
}
div.tx_terfe2_main {
width: 70%;
float: left;
margin-right: 3%;
div.tx_terfe2_list_entry h5 {
color: #000;
font-size: 12px;
font-weight: normal;
margin: 0;
border-top: 1px solid #c8c8c8;
padding: 6px 6px 5px 0;
cursor: pointer;
background: #EEE url(typo3conf/ext/t3org_template/i/header.png) repeat-x 0 0;
line-height: 18px;
-o-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-ms-user-select: none;
user-select: none;
}
div.tx_terfe2_additional {
width: 24%;
float: left;
div.tx_terfe2_list_entry h5 a {
font-weight: bold;
text-decoration: none;
border-bottom: none;
color: #000;
margin-left: 6px;
}
br.tx_terfe2_clear {
height: 0;
width: 0;
margin: 0;
padding: 0;
line-height: 0;
clear: both;
div.tx_terfe2_list_entry_content {
border-top: 1px solid #C8C8C8;
padding: 13px 15px 13px 25px;
overflow: hidden;
}
div.tx_terfe2 li {
list-style-type: square;
span.tx_terfe2_list_entry_icon {
display: block;
float: left;
margin: 1px 0 0 9px;
height: 20px;
width: 20px;
}
div.tx_terfe2_extension,
div.tx_terfe2_category,
div.tx_terfe2_author,
div.tx_terfe2_tag {
border: 1px dashed #424242;
margin-bottom: 12px;
padding: 0 6px;
span.tx_terfe2_extension_list_downloads {
float: right;
margin-top: -4px;
}
div.tx_terfe2_extension_insecure {
border: 1px dashed red;
background: #FFC0CB;
span.tx_terfe2_extension_list_downloads a {
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment