From c70e56dd1d60b1c49fce6aef3824effc6582db76 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 15 Feb 2018 00:32:13 +0900 Subject: [PATCH] wip --- src/web/app/desktop/-tags/pages/user.tag | 27 - src/web/app/desktop/-tags/user.tag | 852 ------------------ .../pages/user/user-followers-you-know.vue | 79 ++ .../desktop/views/pages/user/user-friends.vue | 117 +++ .../desktop/views/pages/user/user-header.vue | 189 ++++ .../desktop/views/pages/user/user-home.vue | 90 ++ .../desktop/views/pages/user/user-photos.vue | 89 ++ .../desktop/views/pages/user/user-profile.vue | 142 +++ src/web/app/desktop/views/pages/user/user.vue | 43 + 9 files changed, 749 insertions(+), 879 deletions(-) delete mode 100644 src/web/app/desktop/-tags/pages/user.tag delete mode 100644 src/web/app/desktop/-tags/user.tag create mode 100644 src/web/app/desktop/views/pages/user/user-followers-you-know.vue create mode 100644 src/web/app/desktop/views/pages/user/user-friends.vue create mode 100644 src/web/app/desktop/views/pages/user/user-header.vue create mode 100644 src/web/app/desktop/views/pages/user/user-home.vue create mode 100644 src/web/app/desktop/views/pages/user/user-photos.vue create mode 100644 src/web/app/desktop/views/pages/user/user-profile.vue create mode 100644 src/web/app/desktop/views/pages/user/user.vue diff --git a/src/web/app/desktop/-tags/pages/user.tag b/src/web/app/desktop/-tags/pages/user.tag deleted file mode 100644 index abed2ef021..0000000000 --- a/src/web/app/desktop/-tags/pages/user.tag +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - diff --git a/src/web/app/desktop/-tags/user.tag b/src/web/app/desktop/-tags/user.tag deleted file mode 100644 index 8221926f45..0000000000 --- a/src/web/app/desktop/-tags/user.tag +++ /dev/null @@ -1,852 +0,0 @@ - -
-
- -
- - -
- - -
- - - -
-
- avatar -
-

{ user.name }

-

@{ user.username }

-

%fa:map-marker%{ user.profile.location }

-
- -
- - -
- - -
- -

%i18n:desktop.tags.mk-user.follows-you%

-

%i18n:desktop.tags.mk-user.muted% %i18n:desktop.tags.mk-user.unmute%

-

%i18n:desktop.tags.mk-user.mute%

-
-
{ user.description }
-
-

%fa:birthday-cake%{ user.profile.birthday.replace('-', '年').replace('-', '月') + '日' } ({ age(user.profile.birthday) }歳)

-
- -
-

%fa:angle-right%{ user.posts_count }ポスト

-

%fa:angle-right%{ user.following_count }人をフォロー

-

%fa:angle-right%{ user.followers_count }人のフォロワー

-
- - -
- - -

%fa:camera%%i18n:desktop.tags.mk-user.photos.title%

-

%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.photos.loading%

-
- -
-

%i18n:desktop.tags.mk-user.photos.no-photos%

- - -
- - -

%fa:users%%i18n:desktop.tags.mk-user.frequently-replied-users.title%

-

%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.frequently-replied-users.loading%

-
- - - -
- { _user.name } -

@{ _user.username }

-
- -
-

%i18n:desktop.tags.mk-user.frequently-replied-users.no-users%

- - -
- - -

%fa:users%%i18n:desktop.tags.mk-user.followers-you-know.title%

-

%fa:spinner .pulse .fw%%i18n:desktop.tags.mk-user.followers-you-know.loading%

-
- -
-

%i18n:desktop.tags.mk-user.followers-you-know.no-users%

- - -
- - -
-
- - - -

%i18n:desktop.tags.mk-user.last-used-at%:

-
-
-
- - -
-
-
- - - - -
-
- - -
- - -
-
-

%fa:pencil-alt%投稿

- -
-
-
-
-

フォロー/フォロワー

- -
-
-
-
-

いいね

- -
-
- - -
- - - - - - - - - -

直近1年間分の統計です。一番右が現在で、一番左が1年前です。青は通常の投稿、赤は返信、緑はRepostをそれぞれ表しています。

-

- だいたい*1日に{ averageOfAllTypePostsEachDays }回投稿(返信、Repost含む)しています。
- だいたい*1日に{ averageOfPostsEachDays }回投稿(通常の)しています。
- だいたい*1日に{ averageOfRepliesEachDays }回返信しています。
- だいたい*1日に{ averageOfRepostsEachDays }回Repostしています。
-

-

* 中央値

- - - -
diff --git a/src/web/app/desktop/views/pages/user/user-followers-you-know.vue b/src/web/app/desktop/views/pages/user/user-followers-you-know.vue new file mode 100644 index 0000000000..4190081750 --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-followers-you-know.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user-friends.vue b/src/web/app/desktop/views/pages/user/user-friends.vue new file mode 100644 index 0000000000..eed8748978 --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-friends.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user-header.vue b/src/web/app/desktop/views/pages/user/user-header.vue new file mode 100644 index 0000000000..07f206d241 --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-header.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user-home.vue b/src/web/app/desktop/views/pages/user/user-home.vue new file mode 100644 index 0000000000..926a1f571e --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-home.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user-photos.vue b/src/web/app/desktop/views/pages/user/user-photos.vue new file mode 100644 index 0000000000..fc51b9789f --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-photos.vue @@ -0,0 +1,89 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user-profile.vue b/src/web/app/desktop/views/pages/user/user-profile.vue new file mode 100644 index 0000000000..6b88b47acd --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user-profile.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/web/app/desktop/views/pages/user/user.vue b/src/web/app/desktop/views/pages/user/user.vue new file mode 100644 index 0000000000..109ee6037e --- /dev/null +++ b/src/web/app/desktop/views/pages/user/user.vue @@ -0,0 +1,43 @@ + + + +