Skip to content

Commit e17db64

Browse files
committed
Changed home and about pages.
1 parent c740059 commit e17db64

File tree

6 files changed

+77
-31
lines changed

6 files changed

+77
-31
lines changed

src/AbpCompanyName.AbpProjectName.Core/Localization/Source/AbpProjectName-tr.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<text name="Save" value="Kaydet" />
4343
<text name="Cancel" value="İptal" />
4444
<text name="TenantName_Regex_Description" value="Müşteri adı en az 2 karakter olmalı, bir harfle başlamalı ve harf, rakam, tire ya da alt çizgi ile devam etmelidir." />
45+
<text name="DefaultPasswordIs" value="Varsayılan şifre {0}" />
4546

4647
</texts>
4748
</localizationDictionary>

src/AbpCompanyName.AbpProjectName.Core/Localization/Source/AbpProjectName.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<text name="Save" value="Save" />
4343
<text name="Cancel" value="Cancel" />
4444
<text name="TenantName_Regex_Description" value="Tenant name must be at least 2 chars, starts with a letter and continue with letter, number, dash or underscore." />
45+
<text name="DefaultPasswordIs" value="Default password is {0}" />
4546

4647
</texts>
4748
</localizationDictionary>
Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
<div ng-controller="app.views.about as vm">
2-
<h1><img src="~/App/Main/images/abp-logo.png" style="padding-right: 10px;" />@string.Format(L("AboutFormat"), "ASP.NET Boilerplate")</h1>
3-
<p>@Html.Raw(L("About_AspNetBoilerplateDescription"))</p>
4-
<p>@L("ForMoreInformation"): <a href="http://www.aspnetboilerplate.com"><strong>aspnetboilerplate.com</strong></a>.</p>
2+
<div class="row">
3+
<div class="col-md-12">
4+
<h3>About This Template</h3>
5+
6+
<p>
7+
This is a simple startup template based on ASP.NET Boilerplate framework and module-zero.
8+
If you need an enterprise startup template, check <a href="http://aspnetzero.com?ref=abptmpl" target="_blank">ASP.NET ZERO</a>.
9+
</p>
10+
11+
<h3 id="DocIntro">What is Module Zero?</h3>
12+
13+
<p>
14+
ASP.NET Boilerplate framework is designed to be independent of any database
15+
schema and to be as generic as possible. Therefore, It leaves some concepts
16+
<strong>abstract</strong> and <strong>optional</strong> (like audit logging, session management and authorization)
17+
which requires some <strong>data store</strong>.
18+
</p>
19+
<p>
20+
<strong>Module Zero </strong>implements all fundamental concepts of ASP.NET
21+
Boilerplate framework such as <a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Tenant-Management">tenant management</a> (<strong>multi-tenancy</strong>),
22+
<a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Role-Management">
23+
role management
24+
</a>, <a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/User-Management">user management</a>, <a href="http://www.aspnetboilerplate.com/Pages/Documents/Abp-Session">session</a>,
25+
<a href="http://www.aspnetboilerplate.com/Pages/Documents/Authorization">authorization</a> (<a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Permission-Management">
26+
permission management
27+
</a>),
28+
<a href="http://www.aspnetboilerplate.com/Pages/Documents/Setting-Management">setting management</a>, <a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Language-Management">
29+
language management
30+
</a>, <a href="http://www.aspnetboilerplate.com/Pages/Documents/Audit-Logging">audit logging</a>
31+
and so on.
32+
</p>
33+
<p>
34+
Module-Zero defines entities and implements <strong>domain logic</strong>
35+
(domain layer) and leaves application and presentation layers to the
36+
application.
37+
</p>
38+
39+
<h4>Based on Microsoft ASP.NET Identity Framework</h4>
40+
41+
<p>
42+
Module Zero is based on Microsoft's
43+
<a href="http://www.asp.net/identity" target="_blank">ASP.NET Identity Framework</a>.
44+
It extends user and role managers and implements user and role stores using generic repositories.
45+
It supports any ORM that can be used with ASP.NET Boilerplate
46+
(like Entity Framework and NHibernate). While module zero extends Identity Framework, it has many unique features.
47+
</p>
48+
49+
<h3>Documentation</h3>
50+
51+
<p>See <a href="http://www.aspnetboilerplate.com/Pages/Documents">documentation</a> for ASP.NET Boilerplate framework and module-zero.</p>
52+
53+
<h3>Source code</h3>
54+
55+
<p>
56+
Module-Zero source code is seperated from ASP.NET Boilerplate and hosted on
57+
<a href="https://github.com/aspnetboilerplate/module-zero" target="_blank">https://github.com/aspnetboilerplate/module-zero</a>.
58+
It's distributed on <a href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Nuget-Packages">nuget</a> as
59+
the framework.
60+
</p>
61+
62+
</div>
63+
64+
</div>
565
</div>
Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
<div ng-controller="app.views.home as vm">
22
<h1>@L("WellcomeMessage")</h1>
3-
<p class="lead">@L("Home_ThisIsATemplate")</p>
43
<div class="row">
5-
<div class="col-md-4">
6-
<h3>ASP.NET MVC</h3>
7-
<p>
8-
@L("Home_AspNetDescription")
9-
</p>
10-
<a class="btn btn-primary btn-sm" href="http://asp.net/mvc">@L("LearnMore")..</a>
11-
</div>
12-
<div class="col-md-4">
13-
<h3>ASP.NET Boilerplate</h3>
14-
<p>
15-
@L("Home_AspNetBoilerplateDescription")
16-
</p>
17-
<a class="btn btn-primary btn-sm" href="http://aspnetboilerplate.com">@L("LearnMore")..</a>
18-
</div>
19-
<div class="col-md-4">
20-
<h3>Angularjs</h3>
21-
<p>
22-
@L("Home_AngularDescription")
23-
</p>
24-
<a class="btn btn-primary btn-sm" href="http://angularjs.org/">@L("LearnMore")..</a>
4+
<div class="col-md-12">
5+
256
</div>
7+
268
</div>
279
</div>

src/AbpCompanyName.AbpProjectName.WebSpaAngular/App/Main/views/tenants/createModal.cshtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
<input type="email" name="AdminEmailAddress" class="form-control" ng-model="vm.tenant.adminEmailAddress" required maxlength="@AbpCompanyName.AbpProjectName.Users.User.MaxEmailAddressLength">
2727
</div>
2828

29+
<p>@L("DefaultPasswordIs", AbpCompanyName.AbpProjectName.Users.User.DefaultPassword)</p>
30+
2931
</div>
3032
<div class="modal-footer">
3133
<button type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Cancel")</button>

src/AbpCompanyName.AbpProjectName.WebSpaAngular/App_Start/AbpProjectNameNavigationProvider.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ public override void SetNavigation(INavigationProviderContext context)
1616
{
1717
context.Manager.MainMenu
1818
.AddItem(
19+
new MenuItemDefinition(
20+
"Home",
21+
new LocalizableString("HomePage", AbpProjectNameConsts.LocalizationSourceName),
22+
url: "#/",
23+
icon: "fa fa-home"
24+
)
25+
).AddItem(
1926
new MenuItemDefinition(
2027
"Tenants",
2128
L("Tenants"),
2229
url: "#tenants",
2330
icon: "fa fa-globe",
2431
requiredPermissionName: PermissionNames.Pages_Tenants
2532
)
26-
).AddItem(
27-
new MenuItemDefinition(
28-
"Home",
29-
new LocalizableString("HomePage", AbpProjectNameConsts.LocalizationSourceName),
30-
url: "#/",
31-
icon: "fa fa-home"
32-
)
3333
).AddItem(
3434
new MenuItemDefinition(
3535
"About",

0 commit comments

Comments
 (0)