mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 07:43:09 +02:00
✌️
This commit is contained in:
parent
87d17517f3
commit
12f472b3fc
6 changed files with 19 additions and 11 deletions
|
@ -123,6 +123,7 @@ export default Vue.extend({
|
|||
|
||||
> button
|
||||
margin 0 8px
|
||||
padding 0
|
||||
|
||||
@media (max-width 600px)
|
||||
> header
|
||||
|
|
|
@ -88,7 +88,7 @@ export default Vue.extend({
|
|||
|
||||
.mk-switch
|
||||
display flex
|
||||
margin 8px 0
|
||||
margin 12px 0
|
||||
cursor pointer
|
||||
transition all 0.3s
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</label>
|
||||
<label class="ui from group">
|
||||
<p>%i18n:desktop.tags.mk-profile-setting.birthday%</p>
|
||||
<input v-model="birthday" type="date" class="ui"/>
|
||||
<el-date-picker v-model="birthday" type="date" value-format="yyyy-MM-dd"/>
|
||||
</label>
|
||||
<button class="ui primary" @click="save">%i18n:desktop.tags.mk-profile-setting.save%</button>
|
||||
<section>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</el-option-group>
|
||||
</el-select>
|
||||
<div class="none ui info">
|
||||
<p>%fa:inffo-circle%変更はページの再度読み込み後に反映されます。</p>
|
||||
<p>%fa:info-circle%変更はページの再度読み込み後に反映されます。</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -6,10 +6,24 @@ import Vue from 'vue';
|
|||
import VueRouter from 'vue-router';
|
||||
import VModal from 'vue-js-modal';
|
||||
import Element from 'element-ui';
|
||||
import ElementLocaleEn from 'element-ui/lib/locale/lang/en';
|
||||
import ElementLocaleJa from 'element-ui/lib/locale/lang/ja';
|
||||
|
||||
import App from './app.vue';
|
||||
import checkForUpdate from './common/scripts/check-for-update';
|
||||
import MiOS, { API } from './common/mios';
|
||||
import { version, host, lang } from './config';
|
||||
|
||||
let elementLocale;
|
||||
switch (lang) {
|
||||
case 'ja': elementLocale = ElementLocaleJa; break;
|
||||
case 'en': elementLocale = ElementLocaleEn; break;
|
||||
default: elementLocale = ElementLocaleEn; break;
|
||||
}
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(VModal);
|
||||
Vue.use(Element);
|
||||
Vue.use(Element, { locale: elementLocale });
|
||||
|
||||
// Register global directives
|
||||
require('./common/views/directives');
|
||||
|
@ -29,12 +43,6 @@ Vue.mixin({
|
|||
}
|
||||
});
|
||||
|
||||
import App from './app.vue';
|
||||
|
||||
import checkForUpdate from './common/scripts/check-for-update';
|
||||
import MiOS, { API } from './common/mios';
|
||||
import { version, host, lang } from './config';
|
||||
|
||||
/**
|
||||
* APP ENTRY POINT!
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,6 @@ textarea
|
|||
|
||||
button
|
||||
margin 0
|
||||
padding 0
|
||||
background transparent
|
||||
border none
|
||||
cursor pointer
|
||||
|
|
Loading…
Reference in a new issue