From ea72aecf5c5961e0ac414e3623a270ff9fea029d Mon Sep 17 00:00:00 2001 From: ajdj100 Date: Wed, 15 Nov 2023 16:31:52 -0500 Subject: [PATCH] Added transfer form --- .../src/components/dropdown/Dropdown.vue | 2 +- .../src/components/inputs/pingableTextBox.vue | 128 ++++++++++++++++++ 17th Website/src/forms/transferForm.vue | 52 +++++++ 17th Website/src/router.js | 65 +++++---- 17th Website/src/views/forms.vue | 7 +- 17th Website/tailwind.config.js | 3 + 6 files changed, 229 insertions(+), 28 deletions(-) create mode 100644 17th Website/src/components/inputs/pingableTextBox.vue create mode 100644 17th Website/src/forms/transferForm.vue diff --git a/17th Website/src/components/dropdown/Dropdown.vue b/17th Website/src/components/dropdown/Dropdown.vue index 74783a6..7b692e0 100644 --- a/17th Website/src/components/dropdown/Dropdown.vue +++ b/17th Website/src/components/dropdown/Dropdown.vue @@ -3,7 +3,7 @@
- {{ unitFilter.name }} + {{ currentValue }} diff --git a/17th Website/src/components/inputs/pingableTextBox.vue b/17th Website/src/components/inputs/pingableTextBox.vue new file mode 100644 index 0000000..02e16cb --- /dev/null +++ b/17th Website/src/components/inputs/pingableTextBox.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/17th Website/src/forms/transferForm.vue b/17th Website/src/forms/transferForm.vue new file mode 100644 index 0000000..2b8298c --- /dev/null +++ b/17th Website/src/forms/transferForm.vue @@ -0,0 +1,52 @@ + + + \ No newline at end of file diff --git a/17th Website/src/router.js b/17th Website/src/router.js index 161703e..8fea171 100644 --- a/17th Website/src/router.js +++ b/17th Website/src/router.js @@ -9,36 +9,49 @@ export default createRouter({ component: () => import('./views/home.vue'), }, { - path: '/profile/:name', - name: 'profile', - component: () => import('./components/ProfilePage/profile.vue'), - children: [ - { - path: 'home', - name: 'personnel', - component: () => import('./components/ProfilePage/personnel.vue') - }, - { - path: 'activityHistory', - name: 'activityHistory', - component: () => import('./components/ProfilePage/activityHistory.vue') - }, - { - path: 'shadowbox', - name: 'shadowbox', - component: () => import('./components/ProfilePage/shadowbox.vue') - } - ] + path: '/profile/:name', + name: 'profile', + component: () => import('./components/ProfilePage/profile.vue'), + children: [ + { + path: 'home', + name: 'personnel', + component: () => import('./components/ProfilePage/personnel.vue') + }, + { + path: 'activityHistory', + name: 'activityHistory', + component: () => import('./components/ProfilePage/activityHistory.vue') + }, + { + path: 'shadowbox', + name: 'shadowbox', + component: () => import('./components/ProfilePage/shadowbox.vue') + } + ] }, { - path: '/users', - name: 'Users', - component: () => import('./views/users.vue'), + path: '/users', + name: 'Users', + component: () => import('./views/users.vue'), }, { path: '/forms', name: 'Forms', - component: () => import('./components/FormsPage/forms.vue') - } + component: () => import('./views/forms.vue'), + children: [ + { + path: 'home', + name: 'home', + component: () => import('./forms/transferForm.vue') + }, + { + path: 'transfer', + name: 'transfer', + component: () => import('./forms/transferForm.vue') + }, + ] + }, ] -}) \ No newline at end of file +}) + diff --git a/17th Website/src/views/forms.vue b/17th Website/src/views/forms.vue index 9408443..9586ea2 100644 --- a/17th Website/src/views/forms.vue +++ b/17th Website/src/views/forms.vue @@ -4,5 +4,10 @@ \ No newline at end of file diff --git a/17th Website/tailwind.config.js b/17th Website/tailwind.config.js index cc2a3e0..34c67af 100644 --- a/17th Website/tailwind.config.js +++ b/17th Website/tailwind.config.js @@ -25,6 +25,9 @@ module.exports = { '2xl': '1536px', }, + minWidth: { + 'formWidth': '768px', + }, extend: {}, }, plugins: [],