mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Add style to block csv
This commit is contained in:
@@ -16,3 +16,4 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
@import "block-csv";
|
||||
17
css/backoffice/application/display-block/_block-csv.scss
Normal file
17
css/backoffice/application/display-block/_block-csv.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
$ibo-block-csv--textarea--width: 100% !default;
|
||||
$ibo-block-csv--textarea--min-height: 10em !default;
|
||||
$ibo-block-csv--textarea--margin-top: 10em !default;
|
||||
|
||||
.ibo-block-csv{
|
||||
textarea{
|
||||
width: $ibo-block-csv--textarea--width;
|
||||
min-height: $ibo-block-csv--textarea--min-height;
|
||||
margin-top: $ibo-block-csv--textarea--margin-top;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-block-csv--download-link{
|
||||
@extend .ibo-button;
|
||||
@extend .ibo-is-alternative;
|
||||
@extend .ibo-is-primary;
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<div>
|
||||
<table style="width:100%" class="transparent">
|
||||
<tr>
|
||||
<td><a href="{{ oUIBlock.sDownloadLink }}">{{ 'UI:Download-CSV'|dict_format(oUIBlock.sCsvFile) }}</a>{{ oUIBlock.sCharsetNotice }}</td>
|
||||
<td><a href="{{ oUIBlock.sDownloadLink }}" class="ibo-block-csv--download-link">{{ 'UI:Download-CSV'|dict_format(oUIBlock.sCsvFile) }}</a>{{ oUIBlock.sCharsetNotice }}</td>
|
||||
<td style="text-align:right">
|
||||
<input type="checkbox" {{ oUIBlock.sChecked }} onClick="window.location.href='{{ oUIBlock.sLinkToToggle }}'">
|
||||
{{ 'UI:CSVExport:AdvancedMode'|dict_s }}
|
||||
|
||||
Reference in New Issue
Block a user