Skip to content

Commit a7af311

Browse files
committed
Worked on angularjs & entityframework sample
1 parent 5ef83f5 commit a7af311

File tree

97 files changed

+5571
-2258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+5571
-2258
lines changed

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/SimpleTaskSystem.Application.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33-
<Reference Include="Abp, Version=0.2.2.0, Culture=neutral, processorArchitecture=MSIL">
33+
<Reference Include="Abp, Version=0.2.2.1, Culture=neutral, processorArchitecture=MSIL">
3434
<SpecificVersion>False</SpecificVersion>
35-
<HintPath>..\packages\Abp.0.2.2.0\lib\net451\Abp.dll</HintPath>
35+
<HintPath>..\packages\Abp.0.2.2.1\lib\net451\Abp.dll</HintPath>
3636
</Reference>
37-
<Reference Include="Abp.Application, Version=0.2.2.0, Culture=neutral, processorArchitecture=MSIL">
37+
<Reference Include="Abp.Application, Version=0.2.2.1, Culture=neutral, processorArchitecture=MSIL">
3838
<SpecificVersion>False</SpecificVersion>
39-
<HintPath>..\packages\Abp.Application.0.2.2.0\lib\net451\Abp.Application.dll</HintPath>
39+
<HintPath>..\packages\Abp.Application.0.2.2.1\lib\net451\Abp.Application.dll</HintPath>
4040
</Reference>
4141
<Reference Include="AutoMapper, Version=3.2.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
4242
<SpecificVersion>False</SpecificVersion>

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/Tasks/TaskAppService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public GetTasksOutput GetTasks(GetTasksInput input)
2727
};
2828
}
2929

30-
[UnitOfWork]
3130
public void UpdateTask(UpdateTaskInput input)
3231
{
3332
var task = _taskRepository.Get(input.TaskId);

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Abp" version="0.2.2.0" targetFramework="net451" />
4-
<package id="Abp.Application" version="0.2.2.0" targetFramework="net451" />
3+
<package id="Abp" version="0.2.2.1" targetFramework="net451" />
4+
<package id="Abp.Application" version="0.2.2.1" targetFramework="net451" />
55
<package id="AutoMapper" version="3.2.1" targetFramework="net451" />
66
<package id="Castle.Core" version="3.3.0" targetFramework="net451" />
77
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" />

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Core/SimpleTaskSystem.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33-
<Reference Include="Abp, Version=0.2.2.0, Culture=neutral, processorArchitecture=MSIL">
33+
<Reference Include="Abp, Version=0.2.2.1, Culture=neutral, processorArchitecture=MSIL">
3434
<SpecificVersion>False</SpecificVersion>
35-
<HintPath>..\packages\Abp.0.2.2.0\lib\net451\Abp.dll</HintPath>
35+
<HintPath>..\packages\Abp.0.2.2.1\lib\net451\Abp.dll</HintPath>
3636
</Reference>
3737
<Reference Include="Castle.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
3838
<SpecificVersion>False</SpecificVersion>

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Core/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Abp" version="0.2.2.0" targetFramework="net451" />
3+
<package id="Abp" version="0.2.2.1" targetFramework="net451" />
44
<package id="Castle.Core" version="3.3.0" targetFramework="net451" />
55
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" />
66
<package id="Castle.Windsor" version="3.3.0" targetFramework="net451" />

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Infrastructure.EntityFramework/SimpleTaskSystem.Infrastructure.EntityFramework.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33-
<Reference Include="Abp">
34-
<HintPath>..\packages\Abp.0.2.2.0\lib\net451\Abp.dll</HintPath>
33+
<Reference Include="Abp, Version=0.2.2.1, Culture=neutral, processorArchitecture=MSIL">
34+
<SpecificVersion>False</SpecificVersion>
35+
<HintPath>..\packages\Abp.0.2.2.1\lib\net451\Abp.dll</HintPath>
3536
</Reference>
36-
<Reference Include="Abp.Infrastructure.EntityFramework">
37-
<HintPath>..\packages\Abp.Infrastructure.EntityFramework.0.2.2.0\lib\net451\Abp.Infrastructure.EntityFramework.dll</HintPath>
37+
<Reference Include="Abp.Infrastructure.EntityFramework, Version=0.2.2.1, Culture=neutral, processorArchitecture=MSIL">
38+
<SpecificVersion>False</SpecificVersion>
39+
<HintPath>..\packages\Abp.Infrastructure.EntityFramework.0.2.2.1\lib\net451\Abp.Infrastructure.EntityFramework.dll</HintPath>
3840
</Reference>
3941
<Reference Include="Castle.Core">
4042
<HintPath>..\packages\Castle.Core.3.3.0\lib\net45\Castle.Core.dll</HintPath>

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Infrastructure.EntityFramework/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Abp" version="0.2.2.0" targetFramework="net451" />
4-
<package id="Abp.Infrastructure.EntityFramework" version="0.2.2.0" targetFramework="net451" />
3+
<package id="Abp" version="0.2.2.1" targetFramework="net451" />
4+
<package id="Abp.Infrastructure.EntityFramework" version="0.2.2.1" targetFramework="net451" />
55
<package id="Castle.Core" version="3.3.0" targetFramework="net451" />
66
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" />
77
<package id="Castle.Windsor" version="3.3.0" targetFramework="net451" />

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Web/App/Main/app.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@
2121
{
2222
url: '/', //default: /task/new
2323
config: {
24-
templateUrl: getViewUrl('task/list')
24+
templateUrl: getViewUrl('task/list'),
25+
menuItem: 'TaskList'
2526
}
2627
},
2728
{
2829
url: '/task/new',
2930
config: {
30-
templateUrl: getViewUrl('task/new')
31+
templateUrl: getViewUrl('task/new'),
32+
menuItem: 'NewTask'
3133
}
3234
}
3335
];
@@ -44,10 +46,10 @@
4446
}
4547

4648
app.run(['$rootScope', '$location', '$routeParams', '$route', function ($rootScope, $location, $routeParams, $route) {
47-
//$rootScope.$on('$routeChangeSuccess', function (event, next, current) {
48-
// if (next && next.$$route) {
49-
// $rootScope.activeMenu = next.$$route.menuItem;
50-
// }
51-
//});
49+
$rootScope.$on('$routeChangeSuccess', function (event, next, current) {
50+
if (next && next.$$route) {
51+
$rootScope.activeMenu = next.$$route.menuItem;
52+
}
53+
});
5254
}]);
5355
})();
Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
11
body {
22
padding-top: 80px;
33
}
4-
/*# sourceMappingURL=main.css.map */
4+
.shuffle-animation.ng-enter,
5+
.shuffle-animation.ng-leave {
6+
position: relative;
7+
}
8+
.shuffle-animation.ng-enter {
9+
-moz-transition: ease-out all 0.3s 0.4s;
10+
-o-transition: ease-out all 0.3s 0.4s;
11+
-webkit-transition: ease-out all 0.3s 0.4s;
12+
transition: ease-out all 0.3s 0.4s;
13+
left: 2em;
14+
opacity: 0;
15+
}
16+
.shuffle-animation.ng-enter.ng-enter-active {
17+
left: 0;
18+
opacity: 1;
19+
}
20+
.shuffle-animation.ng-leave {
21+
-moz-transition: 0.3s ease-out all;
22+
-o-transition: 0.3s ease-out all;
23+
-webkit-transition: 0.3s ease-out all;
24+
transition: 0.3s ease-out all;
25+
left: 0;
26+
opacity: 1;
27+
}
28+
.shuffle-animation.ng-leave.ng-leave-active {
29+
left: 2em;
30+
opacity: 0;
31+
}
Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
11
body {
22
padding-top: 80px;
3-
}
3+
}
4+
5+
.shuffle-animation.ng-enter,
6+
.shuffle-animation.ng-leave {
7+
position: relative;
8+
}
9+
10+
.shuffle-animation.ng-enter {
11+
-moz-transition: ease-out all 0.3s 0.4s;
12+
-o-transition: ease-out all 0.3s 0.4s;
13+
-webkit-transition: ease-out all 0.3s 0.4s;
14+
transition: ease-out all 0.3s 0.4s;
15+
left: 2em;
16+
opacity: 0;
17+
}
18+
19+
.shuffle-animation.ng-enter.ng-enter-active {
20+
left: 0;
21+
opacity: 1;
22+
}
23+
24+
.shuffle-animation.ng-leave {
25+
-moz-transition: 0.3s ease-out all;
26+
-o-transition: 0.3s ease-out all;
27+
-webkit-transition: 0.3s ease-out all;
28+
transition: 0.3s ease-out all;
29+
left: 0;
30+
opacity: 1;
31+
}
32+
33+
.shuffle-animation.ng-leave.ng-leave-active {
34+
left: 2em;
35+
opacity: 0;
36+
}

0 commit comments

Comments
 (0)