Fixed source display

pull/411/head
cagataycivici 2020-07-23 16:26:43 +03:00
parent da363d88c7
commit 78dfe55991
1 changed files with 98 additions and 98 deletions

View File

@ -208,117 +208,117 @@ import Button from 'primevue/button';
</a> </a>
<CodeHighlight> <CodeHighlight>
<template v-pre> <template v-pre>
&gt;h5&lt;Basic&gt;/h5&lt; &lt;h5&gt;Basic&lt;/h5&gt;
&gt;Button label="Submit" /&lt; &lt;Button label="Submit" /&gt;
&gt;Button label="Disabled" disabled="disabled" /&lt; &lt;Button label="Disabled" disabled="disabled" /&gt;
&gt;Button label="Link" class="p-button-link" /&lt; &lt;Button label="Link" class="p-button-link" /&gt;
&gt;h5&lt;Icons&gt;/h5&lt; &lt;h5&gt;Icons&lt;/h5&gt;
&gt;Button icon="pi pi-check" /&lt; &lt;Button icon="pi pi-check" /&gt;
&gt;Button label="Submit" icon="pi pi-check" /&lt; &lt;Button label="Submit" icon="pi pi-check" /&gt;
&gt;Button label="Submit" icon="pi pi-check" iconPos="right" /&lt; &lt;Button label="Submit" icon="pi pi-check" iconPos="right" /&gt;
&gt;h5&lt;Severities&gt;/h5&lt; &lt;h5&gt;Severities&lt;/h5&gt;
&gt;Button label="Primary" /&lt; &lt;Button label="Primary" /&gt;
&gt;Button label="Secondary" class="p-button-secondary" /&lt; &lt;Button label="Secondary" class="p-button-secondary" /&gt;
&gt;Button label="Success" class="p-button-success" /&lt; &lt;Button label="Success" class="p-button-success" /&gt;
&gt;Button label="Info" class="p-button-info" /&lt; &lt;Button label="Info" class="p-button-info" /&gt;
&gt;Button label="Warning" class="p-button-warning" /&lt; &lt;Button label="Warning" class="p-button-warning" /&gt;
&gt;Button label="Help" class="p-button-help" /&lt; &lt;Button label="Help" class="p-button-help" /&gt;
&gt;Button label="Danger" class="p-button-danger" /&lt; &lt;Button label="Danger" class="p-button-danger" /&gt;
&gt;h5&lt;Raised Buttons&gt;/h5&lt; &lt;h5&gt;Raised Buttons&lt;/h5&gt;
&gt;Button label="Primary" class="p-button-raised" /&lt; &lt;Button label="Primary" class="p-button-raised" /&gt;
&gt;Button label="Secondary" class="p-button-raised p-button-secondary" /&lt; &lt;Button label="Secondary" class="p-button-raised p-button-secondary" /&gt;
&gt;Button label="Success" class="p-button-raised p-button-success" /&lt; &lt;Button label="Success" class="p-button-raised p-button-success" /&gt;
&gt;Button label="Info" class="p-button-raised p-button-info" /&lt; &lt;Button label="Info" class="p-button-raised p-button-info" /&gt;
&gt;Button label="Warning" class="p-button-raised p-button-warning" /&lt; &lt;Button label="Warning" class="p-button-raised p-button-warning" /&gt;
&gt;Button label="Help" class="p-button-raised p-button-help" /&lt; &lt;Button label="Help" class="p-button-raised p-button-help" /&gt;
&gt;Button label="Danger" class="p-button-raised p-button-danger" /&lt; &lt;Button label="Danger" class="p-button-raised p-button-danger" /&gt;
&gt;h5&lt;Rounded Buttons&gt;/h5&lt; &lt;h5&gt;Rounded Buttons&lt;/h5&gt;
&gt;Button label="Primary" class="p-button-rounded" /&lt; &lt;Button label="Primary" class="p-button-rounded" /&gt;
&gt;Button label="Secondary" class="p-button-rounded p-button-secondary" /&lt; &lt;Button label="Secondary" class="p-button-rounded p-button-secondary" /&gt;
&gt;Button label="Success" class="p-button-rounded p-button-success" /&lt; &lt;Button label="Success" class="p-button-rounded p-button-success" /&gt;
&gt;Button label="Info" class="p-button-rounded p-button-info" /&lt; &lt;Button label="Info" class="p-button-rounded p-button-info" /&gt;
&gt;Button label="Warning" class="p-button-rounded p-button-warning" /&lt; &lt;Button label="Warning" class="p-button-rounded p-button-warning" /&gt;
&gt;Button label="Help" class="p-button-rounded p-button-help" /&lt; &lt;Button label="Help" class="p-button-rounded p-button-help" /&gt;
&gt;Button label="Danger" class="p-button-rounded p-button-danger" /&lt; &lt;Button label="Danger" class="p-button-rounded p-button-danger" /&gt;
&gt;h5&lt;Text Buttons&gt;/h5&lt; &lt;h5&gt;Text Buttons&lt;/h5&gt;
&gt;Button label="Primary" class="p-button-text" /&lt; &lt;Button label="Primary" class="p-button-text" /&gt;
&gt;Button label="Secondary" class="p-button-secondary p-button-text" /&lt; &lt;Button label="Secondary" class="p-button-secondary p-button-text" /&gt;
&gt;Button label="Success" class="p-button-success p-button-text" /&lt; &lt;Button label="Success" class="p-button-success p-button-text" /&gt;
&gt;Button label="Info" class="p-button-info p-button-text" /&lt; &lt;Button label="Info" class="p-button-info p-button-text" /&gt;
&gt;Button label="Warning" class="p-button-warning p-button-text" /&lt; &lt;Button label="Warning" class="p-button-warning p-button-text" /&gt;
&gt;Button label="Help" class="p-button-help p-button-text" /&lt; &lt;Button label="Help" class="p-button-help p-button-text" /&gt;
&gt;Button label="Danger" class="p-button-danger p-button-text" /&lt; &lt;Button label="Danger" class="p-button-danger p-button-text" /&gt;
&gt;Button label="Plain" class="p-button-text p-button-plain" /&lt; &lt;Button label="Plain" class="p-button-text p-button-plain" /&gt;
&gt;h5&lt;Raised Text Buttons&gt;/h5&lt; &lt;h5&gt;Raised Text Buttons&lt;/h5&gt;
&gt;Button label="Primary" class="p-button-raised p-button-text" /&lt; &lt;Button label="Primary" class="p-button-raised p-button-text" /&gt;
&gt;Button label="Secondary" class="p-button-raised p-button-secondary p-button-text" /&lt; &lt;Button label="Secondary" class="p-button-raised p-button-secondary p-button-text" /&gt;
&gt;Button label="Success" class="p-button-raised p-button-success p-button-text" /&lt; &lt;Button label="Success" class="p-button-raised p-button-success p-button-text" /&gt;
&gt;Button label="Info" class="p-button-raised p-button-info p-button-text" /&lt; &lt;Button label="Info" class="p-button-raised p-button-info p-button-text" /&gt;
&gt;Button label="Warning" class="p-button-raised p-button-warning p-button-text" /&lt; &lt;Button label="Warning" class="p-button-raised p-button-warning p-button-text" /&gt;
&gt;Button label="Help" class="p-button-raised p-button-help p-button-text" /&lt; &lt;Button label="Help" class="p-button-raised p-button-help p-button-text" /&gt;
&gt;Button label="Danger" class="p-button-raised p-button-danger p-button-text" /&lt; &lt;Button label="Danger" class="p-button-raised p-button-danger p-button-text" /&gt;
&gt;Button label="Plain" class="p-button-raised p-button-text p-button-plain" /&lt; &lt;Button label="Plain" class="p-button-raised p-button-text p-button-plain" /&gt;
&gt;h5&lt;Outlined Buttons&gt;/h5&lt; &lt;h5&gt;Outlined Buttons&lt;/h5&gt;
&gt;Button label="Primary" class="p-button-outlined" /&lt; &lt;Button label="Primary" class="p-button-outlined" /&gt;
&gt;Button label="Secondary" class="p-button-outlined p-button-secondary" /&lt; &lt;Button label="Secondary" class="p-button-outlined p-button-secondary" /&gt;
&gt;Button label="Success" class="p-button-outlined p-button-success" /&lt; &lt;Button label="Success" class="p-button-outlined p-button-success" /&gt;
&gt;Button label="Info" class="p-button-outlined p-button-info" /&lt; &lt;Button label="Info" class="p-button-outlined p-button-info" /&gt;
&gt;Button label="Warning" class="p-button-outlined p-button-warning" /&lt; &lt;Button label="Warning" class="p-button-outlined p-button-warning" /&gt;
&gt;Button label="Help" class="p-button-outlined p-button-help" /&lt; &lt;Button label="Help" class="p-button-outlined p-button-help" /&gt;
&gt;Button label="Danger" class="p-button-outlined p-button-danger" /&lt; &lt;Button label="Danger" class="p-button-outlined p-button-danger" /&gt;
&gt;h5&lt;Rounded Icon Buttons&gt;/h5&lt; &lt;h5&gt;Rounded Icon Buttons&lt;/h5&gt;
&gt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary" /&lt; &lt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary" /&gt;
&gt;Button icon="pi pi-search" class="p-button-rounded p-button-success" /&lt; &lt;Button icon="pi pi-search" class="p-button-rounded p-button-success" /&gt;
&gt;Button icon="pi pi-user" class="p-button-rounded p-button-info" /&lt; &lt;Button icon="pi pi-user" class="p-button-rounded p-button-info" /&gt;
&gt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning" /&lt; &lt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning" /&gt;
&gt;Button icon="pi pi-heart" class="p-button-rounded p-button-help" /&lt; &lt;Button icon="pi pi-heart" class="p-button-rounded p-button-help" /&gt;
&gt;Button icon="pi pi-times" class="p-button-rounded p-button-danger" /&lt; &lt;Button icon="pi pi-times" class="p-button-rounded p-button-danger" /&gt;
&gt;Button icon="pi pi-check" class="p-button-rounded" /&lt; &lt;Button icon="pi pi-check" class="p-button-rounded" /&gt;
&gt;h5&lt;Rounded Text Icon Buttons&gt;/h5&lt; &lt;h5&gt;Rounded Text Icon Buttons&lt;/h5&gt;
&gt;Button icon="pi pi-check" class="p-button-rounded p-button-text" /&lt; &lt;Button icon="pi pi-check" class="p-button-rounded p-button-text" /&gt;
&gt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-text" /&lt; &lt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-text" /&gt;
&gt;Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-text" /&lt; &lt;Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-text" /&gt;
&gt;Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-text" /&lt; &lt;Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-text" /&gt;
&gt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-text" /&lt; &lt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-text" /&gt;
&gt;Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-text" /&lt; &lt;Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-text" /&gt;
&gt;Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-text" /&lt; &lt;Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-text" /&gt;
&gt;Button icon="pi pi-filter" class="p-button-rounded p-button-text p-button-plain" /&lt; &lt;Button icon="pi pi-filter" class="p-button-rounded p-button-text p-button-plain" /&gt;
&gt;h5&lt;Rounded and Outlined Icon Buttons&gt;/h5&lt; &lt;h5&gt;Rounded and Outlined Icon Buttons&lt;/h5&gt;
&gt;Button icon="pi pi-check" class="p-button-rounded p-button-outlined" /&lt; &lt;Button icon="pi pi-check" class="p-button-rounded p-button-outlined" /&gt;
&gt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-outlined" /&lt; &lt;Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-outlined" /&gt;
&gt;Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-outlined" /&lt; &lt;Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-outlined" /&gt;
&gt;Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-outlined" /&lt; &lt;Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-outlined" /&gt;
&gt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-outlined" /&lt; &lt;Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-outlined" /&gt;
&gt;Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-outlined" /&lt; &lt;Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-outlined" /&gt;
&gt;Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-outlined" /&lt; &lt;Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-outlined" /&gt;
&gt;h5&lt;Badges&gt;/h5&lt; &lt;h5&gt;Badges&lt;/h5&gt;
&gt;Button type="button" label="Emails" badge="8" /&lt; &lt;Button type="button" label="Emails" badge="8" /&gt;
&gt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" /&lt; &lt;Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning" badge="8" badgeClass="p-badge-danger" /&gt;
&gt;h5&lt;Button Set&gt;/h5&lt; &lt;h5&gt;Button Set&lt;/h5&gt;
&gt;span class="p-buttonset"&lt; &lt;span class="p-buttonset"&gt;
&gt;Button label="Save" icon="pi pi-check" /&lt; &lt;Button label="Save" icon="pi pi-check" /&gt;
&gt;Button label="Delete" icon="pi pi-trash" /&lt; &lt;Button label="Delete" icon="pi pi-trash" /&gt;
&gt;Button label="Cancel" icon="pi pi-times" /&lt; &lt;Button label="Cancel" icon="pi pi-times" /&gt;
&gt;/span&lt; &lt;/span&gt;
&gt;h5&lt;Sizes&gt;/h5&lt; &lt;h5&gt;Sizes&lt;/h5&gt;
&gt;div class="sizes"&lt; &lt;div class="sizes"&gt;
&gt;Button label="Small" icon="pi pi-check" class="p-button-sm" /&lt; &lt;Button label="Small" icon="pi pi-check" class="p-button-sm" /&gt;
&gt;Button label="Normal" icon="pi pi-check" class="p-button" /&lt; &lt;Button label="Normal" icon="pi pi-check" class="p-button" /&gt;
&gt;Button label="Large" icon="pi pi-check" class="p-button-lg" /&lt; &lt;Button label="Large" icon="pi pi-check" class="p-button-lg" /&gt;
&gt;/div&lt; &lt;/div&gt;
</template> </template>
</CodeHighlight> </CodeHighlight>