diff options
| author | Henry Jameson <me@hjkos.com> | 2018-06-18 11:36:58 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-07-06 20:12:09 +0300 |
| commit | f911182a2f608bc0589fc16210fdbc9673f6cc4e (patch) | |
| tree | 80acac94fedb86ac607b52d62239356eadd28a3f /src/components/user_card_content/user_card_content.vue | |
| parent | 148e691199c5449360786103e3056fb24cd39938 (diff) | |
working, somewhat
Diffstat (limited to 'src/components/user_card_content/user_card_content.vue')
| -rw-r--r-- | src/components/user_card_content/user_card_content.vue | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index 09e91271..7d48870b 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -5,9 +5,14 @@ <router-link to='/user-settings' style="float: right; margin-top:16px;" v-if="!isOtherUser"> <i class="icon-cog usersettings"></i> </router-link> - <a :href="user.statusnet_profile_url" target="_blank" style="float: right; margin-top:16px;" v-if="isOtherUser"> + <a :href="user.statusnet_profile_url" target="_blank" class="floater" v-if="isOtherUser"> <i class="icon-link-ext usersettings"></i> </a> + <div class="floater" v-if="switcher || isOtherUser"> + <input type="checkbox" id="userHighlightCheck" v-model="userHighlightEnabled"> + <label :title="$t('settings.highlight')" for="userHighlightCheck"></label> + <input type="color" id="userHighlightColor" v-if="userHighlightLocal" v-model="userHighlightColor"/> + </div> <div class='container'> <router-link :to="{ name: 'user-profile', params: { id: user.id } }"> <StillImage class="avatar" :src="user.profile_image_url_original"/> @@ -278,4 +283,8 @@ font-size: 0.7em; color: #CCC; } +.floater { + float: right; + margin-top: 16px; +} </style> |
