Demo update

pull/388/head
cagataycivici 2020-07-06 11:57:05 +03:00
parent 5b0fcfa592
commit b9214ae7ef
2 changed files with 4 additions and 4 deletions

View File

@ -16,13 +16,13 @@
</template>
<template slot="right">
<FileUpload mode="basic" accept="image/*" :maxFileSize="1000000" label="Import" chooseLabel="Import" class="p-mr-2" />
<FileUpload mode="basic" accept="image/*" :maxFileSize="1000000" label="Import" chooseLabel="Import" class="p-mr-2 p-d-inline-block" />
<Button label="Export" icon="pi pi-upload" class="p-button-help" @click="exportCSV($event)" />
</template>
</Toolbar>
<DataTable ref="dt" :value="products" :selection.sync="selectedProducts" dataKey="id"
:paginator="true" :rows="10" :filters="filters"
:paginator="true" :rows="10" :filters="filters"
paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown" :rowsPerPageOptions="[5,10,25]"
currentPageReportTemplate="Showing {first} to {last} of {totalRecords} products">
<template #header>

View File

@ -103,13 +103,13 @@
&lt;div class="p-d-flex"&gt;
&lt;div class="p-mr-2 p-order-3"&gt;Item 1&lt;/div&gt;
&lt;div class="p-mr-2 p-order-1"&gt;Item 2&lt;/div&gt;
&lt;div class="p-order-2"&gt;Item 3&lt;/div&gt;
&lt;div class="p-mr-2 p-order-2"&gt;Item 3&lt;/div&gt;
&lt;/div&gt;
</CodeHighlight>
<div class="p-d-flex">
<div class="p-mr-2 p-order-3">Item 1</div>
<div class="p-mr-2 p-order-1">Item 2</div>
<div class="p-order-2">Item 3</div>
<div class="p-mr-2 p-order-2">Item 3</div>
</div>
<h6>Responsive</h6>