style: change design

This commit is contained in:
Julien Calixte
2019-08-22 12:14:54 +02:00
parent f19cdbba6f
commit 7047586894
2 changed files with 12 additions and 5 deletions

View File

@@ -22,11 +22,18 @@
<div class="field-body">
<div class="field">
<p class="control">
<input required class="input" type="text" maxlength="20" v-model="newUser.alias" :placeholder="newUser.userId" />
<input
required
class="input"
type="text"
maxlength="20"
v-model="newUser.alias"
:placeholder="newUser.userId"
/>
</p>
<p class="help is-info">Nom utilisé dans ce compte</p>
<p class="help is-primary">Nom utilisé dans ce compte</p>
<p
class="help is-info"
class="help is-primary"
>{{ $tc('validation.max_char', maxChar(newUser), { max: maxChar(newUser) }) }}</p>
</div>
</div>

View File

@@ -10,7 +10,7 @@
<input type="text" class="input" maxlength="30" v-model="name" required />
</div>
<p
class="help is-info"
class="help is-primary"
>{{ $tc('validation.max_char', 30 - name.length, { max: 30 - name.length }) }}</p>
</div>
</div>
@@ -45,7 +45,7 @@
/>
<label for="is-public">Compte {{ isPublic ? 'public' : 'privé' }}</label>
<p class="help is-danger" v-if="isPublic" v-t="'account.publicInformation'"></p>
<p class="help is-info" v-else v-t="'account.privateInformation'"></p>
<p class="help is-primary" v-else v-t="'account.privateInformation'"></p>
</div>
</div>
<div class="column">