Skip to content

Commit d61bb57

Browse files
committed
Changed web host launch port
Changed web host launch port. Added style for tenancy name in login page.
1 parent 87018de commit d61bb57

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"AbpCompanyName.AbpProjectName.Web.Host": {
1919
"commandName": "Project",
2020
"launchBrowser": true,
21-
"launchUrl": "http://localhost:5000",
21+
"launchUrl": "http://localhost:21021",
2222
"environmentVariables": {
2323
"ASPNETCORE_ENVIRONMENT": "Development"
2424
}

vue/src/router/router.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const appRouter = [
6464
name: 'administration',
6565
component: Main,
6666
children: [
67+
{ path: 'home', title: 'HomePage', name: 'home_index', component: () => import('@/views/home/home.vue') },
6768
{ path: 'tenants', title: 'Tenants', name: 'tenants',permission:'Pages.Tenants', component: () => import('@/views/admin/tenants/tenants.vue') },
6869
{ path: 'users', title: 'Users', name: 'users',permission:'Pages.Users', component: () => import('@/views/admin/users/users.vue') },
6970
{ path: 'roles', title: 'Roles', name: 'roles',permission:'Pages.Roles', component: () => import('@/views/admin/roles/roles.vue') },

vue/src/views/login.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@
2626
color: #c3c3c3;
2727
}
2828
}
29+
.ivu-card{
30+
.multi-tenancy{
31+
font-weight: normal;
32+
.tenant-name{
33+
font-weight: bold;
34+
}
35+
}
36+
}
2937
}

vue/src/views/login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Card :bordered="false">
99
<p slot="title">
1010
<Icon type="log-in"></Icon>
11-
<span v-if="isMultiTenancyEnabled">{{'CurrentTenant'|l}}:<span v-if="tenant">{{tenant.name}}</span><span v-if="!tenant">{{'NotSelected'|l}}</span></span>
11+
<span v-if="isMultiTenancyEnabled" class="multi-tenancy">{{'CurrentTenant'|l}}:<span v-if="tenant" class="tenant-name"> {{tenant.name}}</span><span v-if="!tenant"> {{'NotSelected'|l}}</span></span>
1212
</p>
1313
<a href="#" slot="extra" @click="showChangeModal">
1414
{{'Change'|l}}

vue/src/views/main.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
position: absolute;
1313
width: 100%;
1414
height: 100%;
15+
.ivu-card{
16+
.multi-tenancy{
17+
font-weight: normal;
18+
}
19+
}
1520
.unlock-con{
1621
width: 0px;
1722
height: 0px;

0 commit comments

Comments
 (0)