Browse Source

Merge branch 'feature/techChangeName' into develop

liyangbin 4 tháng trước cách đây
mục cha
commit
27da55357d
4 tập tin đã thay đổi với 90 bổ sung44 xóa
  1. 1 1
      index.html
  2. 63 17
      src/components/trailForm.vue
  3. 25 25
      src/router/index.js
  4. 1 1
      src/views/SamlSetting.vue

+ 1 - 1
index.html

@@ -7,7 +7,7 @@
     <meta data-n-head="1" data-hid="description" name="description" content="">
     <meta data-n-head="1" data-hid="keywords" name="keywords" content="">
     <link rel="stylesheet" async preload href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,600,700,900">
-    <title>PDF Tech</title>
+    <title>Admin Console</title>
   </head>
   <body>
     <div id="app"></div>

+ 63 - 17
src/components/trailForm.vue

@@ -10,7 +10,7 @@ export default {
     Arrow,
     Close
   },
-  data () {
+  data() {
     return {
       reset: false,
       model: {
@@ -18,7 +18,7 @@ export default {
         email: '',
         country: '',
         company: '',
-        product: '',
+        product: 'LynxPDF Editor',
         users: ''
       },
       rules: {
@@ -163,7 +163,7 @@ export default {
         this.isLoading = false
       }
     },
-    transformRequest (data) {
+    transformRequest(data) {
       let ret = ''
       for (let item in data) {
         ret += encodeURIComponent(item) + '=' + encodeURIComponent(data[item]) + '&'
@@ -175,7 +175,7 @@ export default {
       this.model[val] = e.target.value
       this.showSubmitError = false
     },
-    validateSelectMessage (value) {
+    validateSelectMessage(value) {
       this.showSubmitError = value
     },
     close() {
@@ -196,21 +196,25 @@ export default {
     <div v-show="!isSubmit" class="business-form">
       <Close class="close" @click.native="close" />
       <div class="original">
-        <p class="period">Get Free Trial for PDF Tech Console</p>
+        <p class="period">Get Free Trial for Admin Console</p>
         <p class="desc">Please complete all fields below</p>
         <form class="form-area" autocomplete="off">
-          <Form :reset="reset" :fieldValue="model.name" :rules="rules.name" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.name" :rules="rules.name" :teamFlag="teamFlag" @blank="handleBlank"
+            @form="addField">
             <input v-model="model.name" type="text" @input="onInput($event, 'name')">
             <span v-show="model.name === ''" class="placeholder">Your Name</span>
           </Form>
-          <Form :reset="reset" :fieldValue="model.email" :rules="rules.email" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.email" :rules="rules.email" :teamFlag="teamFlag" @blank="handleBlank"
+            @form="addField">
             <input v-model="model.email" type="text" @input="onInput($event, 'email')">
             <span v-show="model.email === ''" class="placeholder">Business Email</span>
           </Form>
-          <Form :reset="reset" :fieldValue="model.country" :rules="rules.country" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.country" :rules="rules.country" :teamFlag="teamFlag"
+            @blank="handleBlank" @form="addField">
             <div class="content">
               <span v-show="model.country === ''" class="placeholder">Country/Region</span>
-              <select v-model="model.country" name="Industry" :class="{ active: model.country }" @change="validateSelectMessage(false)">
+              <select v-model="model.country" name="Industry" :class="{ active: model.country }"
+                @change="validateSelectMessage(false)">
                 <option value="AF" selected>Afghanistan</option>
                 <option value="AX">Aland Islands</option>
                 <option value="AL">Albania</option>
@@ -456,21 +460,24 @@ export default {
               <Arrow />
             </div>
           </Form>
-          <Form :reset="reset" :fieldValue="model.company" :rules="rules.company" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.company" :rules="rules.company" :teamFlag="teamFlag"
+            @blank="handleBlank" @form="addField">
             <input v-model="model.company" type="text" @input="onInput($event, 'company')">
             <span v-show="model.company === ''" class="placeholder">Company</span>
           </Form>
-          <Form :reset="reset" :fieldValue="model.product" :rules="rules.product" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.product" :rules="rules.product" :teamFlag="teamFlag"
+            @blank="handleBlank" @form="addField">
             <div class="content">
               <span v-show="model.product === ''" class="placeholder">Product</span>
-              <select v-model="model.product" name="Industry" :class="{ active: model.product }" @change="validateSelectMessage(false)">
-                <option value="PDFTech Editor for Mac">PDFTech Editor for Mac</option>
-                <option value="PDFTech Editor for Windows">PDFTech Editor for Windows</option>
+              <select v-model="model.product" name="Industry" :class="{ active: model.product }"
+                @change="validateSelectMessage(false)">
+                <option value="LynxPDF Editor">LynxPDF Editor</option>
               </select>
               <Arrow />
             </div>
           </Form>
-          <Form :reset="reset" :fieldValue="model.users" :rules="rules.users" :teamFlag="teamFlag" @blank="handleBlank" @form="addField">
+          <Form :reset="reset" :fieldValue="model.users" :rules="rules.users" :teamFlag="teamFlag" @blank="handleBlank"
+            @form="addField">
             <input v-model="model.users" type="text" @input="onInput($event, 'users')">
             <span v-show="model.users === ''" class="placeholder">Numbers of Users</span>
           </Form>
@@ -505,20 +512,25 @@ export default {
   border-radius: 8px;
   text-align: center;
   z-index: 11;
+
   .form-area {
     .form {
       position: relative;
       width: 100%;
       margin-bottom: 20px;
+
       &:last-child {
         margin-bottom: 24px;
       }
+
       &.err-form {
         margin-bottom: 3px;
+
         &:last-child {
           margin-bottom: 15px;
         }
       }
+
       .placeholder {
         font-size: 16px;
         font-weight: 400;
@@ -528,6 +540,7 @@ export default {
         left: 14px;
         line-height: 18px;
         pointer-events: none;
+
         &::before {
           content: '* ';
           color: #ff2776;
@@ -535,8 +548,10 @@ export default {
       }
     }
   }
+
   .submit-area {
     position: relative;
+
     .submit {
       width: 100%;
       height: 50px;
@@ -548,10 +563,12 @@ export default {
       color: #FFF;
       font-weight: 700;
       border-radius: 25px;
+
       &:hover {
         opacity: 0.8;
       }
     }
+
     .err-text {
       width: 100%;
       margin-top: 12px;
@@ -562,6 +579,7 @@ export default {
     }
   }
 }
+
 .close {
   top: 20px;
   right: 20px;
@@ -570,12 +588,14 @@ export default {
   pointer-events: auto;
   cursor: pointer;
 }
+
 .period {
   font-size: 24px;
   line-height: 28px;
   font-weight: 700;
   color: #000;
 }
+
 .desc {
   display: inline-block;
   margin: 4px auto 20px;
@@ -584,6 +604,7 @@ export default {
   line-height: 24px;
   color: #000;
 }
+
 .submitted-form {
   position: fixed;
   top: 50%;
@@ -596,6 +617,7 @@ export default {
   border-radius: 8px;
   text-align: center;
   z-index: 11;
+
   .submitted {
     display: flex;
     flex-direction: column;
@@ -603,22 +625,27 @@ export default {
     justify-content: center;
     width: 100%;
     height: 100%;
+
     img {
       width: 48px;
       height: 48px;
       margin-bottom: 24px;
     }
+
     .period {
       font-size: 20px;
       line-height: 32px;
     }
+
     .desc {
       margin: 8px 0 0;
       color: #6A6F77;
     }
   }
 }
-input, select {
+
+input,
+select {
   width: 100%;
   height: 46px;
   padding: 0 12px;
@@ -628,18 +655,23 @@ input, select {
   color: #1D2023;
   outline: none;
   line-height: 22px;
-  &:hover, &:focus {
+
+  &:hover,
+  &:focus {
     border-color: #0097FF;
   }
 }
+
 select {
   padding-right: 32px;
   cursor: pointer;
   background: none;
 }
+
 .content {
   position: relative;
 }
+
 svg {
   position: absolute;
   top: 14px;
@@ -651,49 +683,61 @@ svg {
   transform: rotate(90deg);
   color: #CCCCCC;
 }
+
 select {
   appearance: none;
 }
+
 select {
   background-color: #FFFFFF;
   color: #777777;
+
   &.active {
     color: #1D2023;
   }
+
   option {
     color: #1D2023;
   }
 }
+
 @media screen and (max-width: 575px) {
   .business-form {
     width: calc(100% - 40px);
     max-width: 320px;
     padding: 25px 20px;
+
     .form-area {
       .form {
         width: 100%;
         margin-bottom: 20px;
+
         &:last-child {
           margin-bottom: 24px;
         }
+
         .placeholder {
           left: 16px;
         }
       }
     }
   }
+
   .desc {
     margin: 4px 0 24px;
   }
+
   .submitted-form {
     width: calc(100% - 60px);
     max-width: 300px;
     padding: 40px 24px;
+
     .submitted {
       .period {
         font-size: 20px;
         line-height: 24px;
       }
+
       .desc {
         margin: 12px 0 0;
         color: #6A6F77;
@@ -701,6 +745,7 @@ select {
     }
   }
 }
+
 @media screen and (max-height: 682px) {
   .trail-form {
     position: fixed;
@@ -710,6 +755,7 @@ select {
     bottom: 0;
     overflow: hidden auto;
     z-index: 9;
+
     .business-form,
     .submitted-form {
       position: relative;

+ 25 - 25
src/router/index.js

@@ -40,7 +40,7 @@ const router = new VueRouter({
       name: "login",
       component: () => import("../views/Login.vue"),
       meta: {
-        title: 'Log In PDF Tech Console'
+        title: 'Log In Admin Console'
       }
     },
     {
@@ -56,7 +56,7 @@ const router = new VueRouter({
       name: "Create",
       component: () => import("../views/Create.vue"),
       meta: {
-        title: 'Sign Up PDF Tech Console'
+        title: 'Sign Up Admin Console'
       }
     },
     {
@@ -72,7 +72,7 @@ const router = new VueRouter({
       name: "forgotpassword",
       component: () => import("../views/forgotpassword.vue"),
       meta: {
-        title: 'Forget Password | PDF Tech Account'
+        title: 'Forget Password | Admin Account'
       }
     },
     {
@@ -85,7 +85,7 @@ const router = new VueRouter({
           name: "dashboard",
           component: () => import("../views/Dashboard.vue"),
           meta: {
-            title: 'Home | PDF Tech Console'
+            title: 'Home | Admin Console'
           }
         },
         {
@@ -93,7 +93,7 @@ const router = new VueRouter({
           name: "productManagement",
           component: () => import("../views/ProductManagement.vue"),
           meta: {
-            title: 'Product | PDF Tech Console'
+            title: 'Product | Admin Console'
           }
         },
         {
@@ -101,7 +101,7 @@ const router = new VueRouter({
           name: "ManageTeam",
           component: () => import("../views/TeamManagement/ManageTeam.vue"),
           meta: {
-            title: 'Manage Team | PDF Tech Console'
+            title: 'Manage Team | Admin Console'
           }
         },
         {
@@ -109,7 +109,7 @@ const router = new VueRouter({
           name: "EditManageTeam",
           component: () => import("../views/TeamManagement/ManageTeamOperate.vue"),
           meta: {
-            title: 'Manage Team | PDF Tech Console'
+            title: 'Manage Team | Admin Console'
           }
         },
         {
@@ -117,7 +117,7 @@ const router = new VueRouter({
           name: "CreateManageTeam",
           component: () => import("../views/TeamManagement/ManageTeamOperate.vue"),
           meta: {
-            title: 'Manage Team | PDF Tech Console'
+            title: 'Manage Team | Admin Console'
           }
         },
         {
@@ -125,7 +125,7 @@ const router = new VueRouter({
           name: "ManageMember",
           component: () => import("../views/TeamManagement/ManageMember.vue"),
           meta: {
-            title: 'Manage Member | PDF Tech Console'
+            title: 'Manage Member | Admin Console'
           }
         },
         {
@@ -133,7 +133,7 @@ const router = new VueRouter({
           name: "EditManageMember",
           component: () => import("../views/TeamManagement/ManageMember/EditManageMember.vue"),
           meta: {
-            title: 'Manage Member | PDF Tech Console'
+            title: 'Manage Member | Admin Console'
           }
         },
         {
@@ -141,7 +141,7 @@ const router = new VueRouter({
           name: "AddManageMember",
           component: () => import("../views/TeamManagement/ManageMember/AddManageMember.vue"),
           meta: {
-            title: 'Manage Member | PDF Tech Console'
+            title: 'Manage Member | Admin Console'
           }
         },
         {
@@ -149,7 +149,7 @@ const router = new VueRouter({
           name: "manageAdmin",
           component: () => import("../views/manageAdmin.vue"),
           meta: {
-            title: 'Manage Admin | PDF Tech Console'
+            title: 'Manage Admin | Admin Console'
           }
         },
         {
@@ -157,7 +157,7 @@ const router = new VueRouter({
           name: "editAdmin",
           component: () => import("../views/MenageAdmin/editAdmin.vue"),
           meta: {
-            title: 'Manage Admin | PDF Tech Console'
+            title: 'Manage Admin | Admin Console'
           }
         },
         {
@@ -165,7 +165,7 @@ const router = new VueRouter({
           name: "addAdmin",
           component: () => import("../views/MenageAdmin/addAdmin.vue"),
           meta: {
-            title: 'Manage Admin | PDF Tech Console'
+            title: 'Manage Admin | Admin Console'
           }
         },
         {
@@ -173,7 +173,7 @@ const router = new VueRouter({
           name: "licenseManage",
           component: () => import("../views/LicenseManage.vue"),
           meta: {
-            title: 'Manage License | PDF Tech Console'
+            title: 'Manage License | Admin Console'
           }
         },
         {
@@ -181,7 +181,7 @@ const router = new VueRouter({
           name: "assignlicense",
           component: () => import("../views/Assignlicense.vue"),
           meta: {
-            title: 'Manage License | PDF Tech Console'
+            title: 'Manage License | Admin Console'
           }
         },
         {
@@ -189,7 +189,7 @@ const router = new VueRouter({
           name: "volumecancel",
           component: () => import("../views/VolumeCancel.vue"),
           meta: {
-            title: 'Manage License | PDF Tech Console'
+            title: 'Manage License | Admin Console'
           }
         },
         {
@@ -197,7 +197,7 @@ const router = new VueRouter({
           name: "device",
           component: () => import("../views/Device.vue"),
           meta: {
-            title: 'Manage Device | PDF Tech Console'
+            title: 'Manage Device | Admin Console'
           }
         },
         {
@@ -205,7 +205,7 @@ const router = new VueRouter({
           name: "samlsetting",
           component: () => import("../views/SamlSetting.vue"),
           meta: {
-            title: 'Console Settings | PDF Tech Console'
+            title: 'Console Settings | Admin Console'
           }
         },
         {
@@ -213,7 +213,7 @@ const router = new VueRouter({
           name: "settings",
           component: () => import("../views/Settings.vue"),
           meta: {
-            title: 'Console Settings | PDF Tech Console'
+            title: 'Console Settings | Admin Console'
           }
         },
         {
@@ -221,7 +221,7 @@ const router = new VueRouter({
           name: "support",
           component: () => import("../views/Support.vue"),
           meta: {
-            title: 'Support | PDF Tech Console'
+            title: 'Support | Admin Console'
           }
         },
         {
@@ -229,7 +229,7 @@ const router = new VueRouter({
           name: "ResellerProduct",
           component: () => import("../views/Reseller/Product.vue"),
           meta: {
-            title: 'Manage Product | PDF Tech Console for Reseller'
+            title: 'Manage Product | Admin Console for Reseller'
           }
         },
         {
@@ -237,7 +237,7 @@ const router = new VueRouter({
           name: "ResellerLicense",
           component: () => import("../views/Reseller/License.vue"),
           meta: {
-            title: 'Manage License | PDF Tech Console for Reseller'
+            title: 'Manage License | Admin Console for Reseller'
           }
         },
       ]
@@ -290,8 +290,8 @@ router.beforeEach((to, from, next) => {
   }
   let head = document.getElementsByTagName('head')
   let meta = document.createElement('meta')
-  document.querySelector('meta[name="keywords"]').setAttribute('content', 'PDF Tech Console allows you to manage products, teams, licenses, and devices. Join Volume License Program to access the PDF Tech Console now!')
-  document.querySelector('meta[name="description"]').setAttribute('content', 'PDF Tech Console, manage licenses, assign licenses, cancel licenses, volume licenses')
+  document.querySelector('meta[name="keywords"]').setAttribute('content', 'Admin Console allows you to manage products, teams, licenses, and devices. Join Volume License Program to access the Admin Console now!')
+  document.querySelector('meta[name="description"]').setAttribute('content', 'Admin Console, manage licenses, assign licenses, cancel licenses, volume licenses')
   meta.content = to.meta.content
   head[0].appendChild(meta)
 

+ 1 - 1
src/views/SamlSetting.vue

@@ -996,7 +996,7 @@ const openSelectDialog = () => {
         <div class="p-12px mb-16px">
           <div class="text-[#232A40] test-16px leading-20px mb-4px">Azure AD</div>
           <div class="text-[#808185] test-14px leading-20px mt-16px">
-            The sync source cannot be changed. If you want to change the sync source, you need to delete the directory first. All the configuration with the sync source will be deleted. The previously synced user and user groups will be kept inside the PDFTech Editor Admin Console.
+            The sync source cannot be changed. If you want to change the sync source, you need to delete the directory first. All the configuration with the sync source will be deleted. The previously synced user and user groups will be kept inside the Admin Console.
           </div>
         <div class="text-[#232A40] font-bold test-16px leading-20px mt-16px mb-4px">Connector Settings</div>
           <div class="p-12px mb-16px">