Minor css tuning, renamed "details" tab of categories edition to

associaitons
This commit is contained in:
Franck Allimant
2013-10-30 16:32:36 +01:00
parent 86d84462ad
commit c7835758e5
2 changed files with 20 additions and 13 deletions

View File

@@ -338,7 +338,7 @@
// -- Drag & drop --
.take{
.draggable{
border: 2px dashed @gray-light;
margin-bottom: 10px;
@@ -346,9 +346,9 @@
&:last-child{
margin-bottom: 0;
}
}
}
.over{
.drop-message{
border-color: @brand-primary;
@@ -358,8 +358,8 @@
}
.place{
.place{
.over{
.drop-message{
border-color: @brand-primary;
@@ -368,10 +368,10 @@
}
.panel-body{
.draggable, .drag{
margin: 5px 0;
padding: 10px;
padding: 10px;
border: 1px dashed @gray-light;
}
@@ -390,7 +390,7 @@
}
.take, .place{
.drop-message{
width: 50%;
margin: 10px auto;
@@ -410,4 +410,11 @@
.ui-draggable-dragging{
z-index: 100;
}
}
// -- File Upoload drop zone ---------------------------------------------------
.dropzone {
border: 1px dashed #ddd;
padding: 20px;
}

View File

@@ -42,7 +42,7 @@
<ul class="nav nav-tabs" id="tabbed-menu">
<li {if $current_tab == 'general'}class="active"{/if}><a href="#general" data-toggle="tab">{intl l="General description"}</a></li>
<li {if $current_tab == 'details'}class="active"{/if}><a href="#details" data-toggle="tab">{intl l="Details"}</a></li>
<li {if $current_tab == 'associations'}class="active"{/if}><a href="#associations" data-toggle="tab">{intl l="Associations"}</a></li>
<li {if $current_tab == 'images'}class="active"{/if}><a href="#images" data-toggle="tab">{intl l="Images"}</a></li>
<li {if $current_tab == 'documents'}class="active"{/if}><a href="#documents" data-toggle="tab">{intl l="Documents"}</a></li>
<li {if $current_tab == 'modules'}class="active"{/if}><a href="#modules" data-toggle="tab">{intl l="Modules"}</a></li>
@@ -141,7 +141,7 @@
</div>
</div>
<div class="tab-pane fade {if $current_tab == 'details'}active in{/if}" id="details">
<div class="tab-pane fade {if $current_tab == 'associations'}active in{/if}" id="associations">
<div class="form-container">
<div class="form-group">
<form action="{url path='/admin/categories/related-content/add'}" id="related_content_form">
@@ -153,10 +153,10 @@
}
<p class="title title-without-tabs">{intl l='Related content'}</p>
<p>{intl l='You can attach here some content to this product'}</p>
<p>{intl l='You can attach here some content to this category'}</p>
<input type="hidden" name="category_id" value="{$category_id}" />
<input type="hidden" name="current_tab" value="details" />
<input type="hidden" name="current_tab" value="associations" />
{ifloop rel="folders"}
<div class="row">
@@ -283,7 +283,7 @@
<input type="hidden" name="content_id" id="content_delete_id" value="" />
<input type="hidden" name="folder_id" id="folder_delete_id" value="" />
<input type="hidden" name="current_tab" value="details" />
<input type="hidden" name="current_tab" value="associations" />
{/capture}
{include