Fixed code style, sorry
This commit is contained in:
parent
4be0f56820
commit
bda58426e3
|
@ -9,7 +9,20 @@
|
||||||
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
|
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
|
||||||
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
|
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
|
||||||
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
|
"typescript.format.placeOpenBraceOnNewLineForFunctions": false,
|
||||||
"vetur.format.defaultFormatter.html": "js-beautify-html",
|
"vetur.format.defaultFormatter.html": "prettier",
|
||||||
"vetur.format.defaultFormatter.js": "esbenp.prettier-vscode",
|
"vetur.format.defaultFormatter.js": "prettier-eslint",
|
||||||
"typescript.tsdk": "node_modules/typescript/lib"
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
|
"vetur.format.defaultFormatterOptions": {
|
||||||
|
|
||||||
|
"js-beautify-html": {
|
||||||
|
"wrap_attributes": "force-expand-multiline"
|
||||||
|
},
|
||||||
|
"prettyhtml": {
|
||||||
|
"printWidth": 100,
|
||||||
|
"singleQuote": false,
|
||||||
|
"wrapAttributes": false,
|
||||||
|
"sortAttributes": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vetur.format.defaultFormatter.ts": "prettier-tslint"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<q-card class="col-12">
|
<q-card class="col-12">
|
||||||
<q-form
|
<q-form @submit="save" @reset="reset">
|
||||||
@submit="save"
|
<q-card-section
|
||||||
@reset="reset"
|
class="fit row justify-start content-center items-center"
|
||||||
>
|
>
|
||||||
<q-card-section class="fit row justify-start content-center items-center">
|
|
||||||
<span class="col-xs-12 col-sm-6 text-center text-h6">
|
<span class="col-xs-12 col-sm-6 text-center text-h6">
|
||||||
Rollen und Berechtigungen
|
Rollen und Berechtigungen
|
||||||
</span>
|
</span>
|
||||||
|
@ -31,7 +30,7 @@
|
||||||
v-if="role"
|
v-if="role"
|
||||||
class="fit row justify-start content-center items-center"
|
class="fit row justify-start content-center items-center"
|
||||||
>
|
>
|
||||||
<q-scroll-area style="height: 20em; width: 100%;">
|
<q-scroll-area style="height: 20em; width: 100%">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
v-model="newRoleName"
|
v-model="newRoleName"
|
||||||
|
@ -47,24 +46,10 @@
|
||||||
/>
|
/>
|
||||||
</q-scroll-area>
|
</q-scroll-area>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-actions
|
<q-card-actions v-if="role" align="right">
|
||||||
v-if="role"
|
<q-btn label="Löschen" color="negative" @click="remove" />
|
||||||
align="right"
|
<q-btn label="Reset" type="reset" />
|
||||||
>
|
<q-btn color="primary" type="submit" label="Speichern" />
|
||||||
<q-btn
|
|
||||||
label="Löschen"
|
|
||||||
color="negative"
|
|
||||||
@click="remove"
|
|
||||||
/>
|
|
||||||
<q-btn
|
|
||||||
label="Reset"
|
|
||||||
type="reset"
|
|
||||||
/>
|
|
||||||
<q-btn
|
|
||||||
color="primary"
|
|
||||||
type="submit"
|
|
||||||
label="Speichern"
|
|
||||||
/>
|
|
||||||
</q-card-actions>
|
</q-card-actions>
|
||||||
</q-form>
|
</q-form>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
Loading…
Reference in New Issue