From 9c0521316deaad6c37b43ac776ef50f976786224 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 21 Feb 2018 04:52:52 +0900 Subject: [PATCH] wip --- package.json | 1 + src/web/app/desktop/-tags/crop-window.tag | 196 ------------------ .../desktop/views/components/crop-window.vue | 169 +++++++++++++++ .../desktop/views/pages/user/user.header.vue | 6 +- 4 files changed, 173 insertions(+), 199 deletions(-) delete mode 100644 src/web/app/desktop/-tags/crop-window.tag create mode 100644 src/web/app/desktop/views/components/crop-window.vue diff --git a/package.json b/package.json index 727c4af71..033f76c30 100644 --- a/package.json +++ b/package.json @@ -182,6 +182,7 @@ "uuid": "3.2.1", "vhost": "3.0.2", "vue": "^2.5.13", + "vue-cropperjs": "^2.2.0", "vue-js-modal": "^1.3.9", "vue-loader": "^14.1.1", "vue-router": "^3.0.1", diff --git a/src/web/app/desktop/-tags/crop-window.tag b/src/web/app/desktop/-tags/crop-window.tag deleted file mode 100644 index c26f74b12..000000000 --- a/src/web/app/desktop/-tags/crop-window.tag +++ /dev/null @@ -1,196 +0,0 @@ - - - %fa:crop%{ parent.title } - -
-
- - - -
-
-
- - -
diff --git a/src/web/app/desktop/views/components/crop-window.vue b/src/web/app/desktop/views/components/crop-window.vue new file mode 100644 index 000000000..2ba62a3a6 --- /dev/null +++ b/src/web/app/desktop/views/components/crop-window.vue @@ -0,0 +1,169 @@ + + + + + + + diff --git a/src/web/app/desktop/views/pages/user/user.header.vue b/src/web/app/desktop/views/pages/user/user.header.vue index 67d110f2f..6c8375f16 100644 --- a/src/web/app/desktop/views/pages/user/user.header.vue +++ b/src/web/app/desktop/views/pages/user/user.header.vue @@ -12,9 +12,9 @@

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