mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
routine update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace OpenAuth.Repository.Repository
|
||||
namespace OpenAuth.Repository
|
||||
{
|
||||
public class BaseRepository
|
||||
{
|
@@ -54,8 +54,8 @@
|
||||
<Compile Include="Mapping\UserMap.cs" />
|
||||
<Compile Include="OpenAuthDBContext.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Repository\BaseRepository.cs" />
|
||||
<Compile Include="Repository\UserRepository.cs" />
|
||||
<Compile Include="BaseRepository.cs" />
|
||||
<Compile Include="UserRepository.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\OpenAuth.Domain\OpenAuth.Domain.csproj">
|
||||
@@ -70,6 +70,7 @@
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
@@ -3,7 +3,7 @@ using System.Linq;
|
||||
using OpenAuth.Domain.Interface;
|
||||
using OpenAuth.Domain.Model;
|
||||
|
||||
namespace OpenAuth.Repository.Repository
|
||||
namespace OpenAuth.Repository
|
||||
{
|
||||
public class UserRepository :BaseRepository, IUserRepository
|
||||
{
|
@@ -2,7 +2,7 @@
|
||||
using OpenAuth.App;
|
||||
using OpenAuth.App.DTO;
|
||||
using OpenAuth.Domain.Service;
|
||||
using OpenAuth.Repository.Repository;
|
||||
using OpenAuth.Repository;
|
||||
|
||||
namespace OpenAuth.UnitTest
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
using OpenAuth.App;
|
||||
using OpenAuth.App.DTO;
|
||||
using OpenAuth.Domain.Service;
|
||||
using OpenAuth.Repository.Repository;
|
||||
using OpenAuth.Repository;
|
||||
|
||||
namespace OpenAuth.Web.Controllers
|
||||
{
|
||||
|
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace OpenAuth.Web.Controllers
|
||||
{
|
||||
|
@@ -16,5 +16,10 @@ namespace OpenAuth.Web.Controllers
|
||||
return PartialView(response);
|
||||
}
|
||||
|
||||
public ActionResult List()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -266,6 +266,7 @@
|
||||
<ItemGroup>
|
||||
<None Include="Views\Account\Login.cshtml" />
|
||||
<Content Include="Views\Button\List.cshtml" />
|
||||
<Content Include="Views\Menu\List.cshtml" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
<ul class="breadcrumb">
|
||||
|
||||
<li><i class="icon-home"></i> <a href="#">菜单管理</a><span class="divider"><i class="icon-angle-right"></i></span></li>
|
||||
<li><i class="icon-home"></i> <a href="#">按钮管理</a><span class="divider"><i class="icon-angle-right"></i></span></li>
|
||||
|
||||
</ul><!--.breadcrumb-->
|
||||
|
||||
|
@@ -26,16 +26,15 @@
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
|
||||
<li><a href="#" id="menuLoadMenus"><i class="icon-double-angle-right"></i> 菜单管理</a></li>
|
||||
<li><a href="#" id="menuLoadButtons"><i class="icon-double-angle-right"></i> 按钮管理</a></li>
|
||||
<li>
|
||||
<a href="#" class="dropdown-toggle">
|
||||
<i class="icon-file"></i>
|
||||
<span>Other Pages</span>
|
||||
<span>其他</span>
|
||||
<b class="arrow icon-angle-down"></b>
|
||||
</a>
|
||||
<ul class="submenu">
|
||||
<li><a href="#" onclick="loadMenus();"><i class="icon-double-angle-right"></i> 菜单管理</a></li>
|
||||
<li><a href="invoice.html"><i class="icon-double-angle-right"></i> 按钮管理</a></li>
|
||||
<li><a href="login.html"><i class="icon-double-angle-right"></i> Login & Register</a></li>
|
||||
<li><a href="error-404.html"><i class="icon-double-angle-right"></i> Error 404</a></li>
|
||||
<li><a href="error-500.html"><i class="icon-double-angle-right"></i> Error 500</a></li>
|
||||
@@ -48,9 +47,18 @@
|
||||
</div><!--/#sidebar-->
|
||||
|
||||
<script type="text/javascript">
|
||||
function loadMenus() {
|
||||
$(document).ready(function() {
|
||||
$("#menuLoadButtons").click(function () {
|
||||
$.get('@Url.Action("List","Button")', function (data, status) {
|
||||
$("#main-content").html(data);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$("#menuLoadMenus").click(function () {
|
||||
$.get('@Url.Action("List","Menu")', function (data, status) {
|
||||
$("#main-content").html(data);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
127
OpenAuth.Web/Views/Menu/List.cshtml
Normal file
127
OpenAuth.Web/Views/Menu/List.cshtml
Normal file
@@ -0,0 +1,127 @@
|
||||
<div id="breadcrumbs">
|
||||
|
||||
<ul class="breadcrumb">
|
||||
|
||||
<li><i class="icon-home"></i> <a href="#">菜单管理</a><span class="divider"><i class="icon-angle-right"></i></span></li>
|
||||
|
||||
</ul><!--.breadcrumb-->
|
||||
|
||||
</div><!--#breadcrumbs-->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<div class="row-fluid">
|
||||
<!-- PAGE CONTENT BEGINS HERE -->
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<table id="table_bug_report" class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="center">
|
||||
<label><input type="checkbox" /><span class="lbl"></span></label>
|
||||
</th>
|
||||
<th>Domain</th>
|
||||
<th>Price</th>
|
||||
<th class="hidden-480">Clicks</th>
|
||||
<th class="hidden-phone"><i class="icon-time hidden-phone"></i> Update</th>
|
||||
<th class="hidden-480">Status</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td class='center'>
|
||||
<label><input type='checkbox' /><span class="lbl"></span></label>
|
||||
</td>
|
||||
<td><a href='#'>ace.com</a></td>
|
||||
<td>$45</td>
|
||||
<td class='hidden-480'>3,330</td>
|
||||
<td class='hidden-phone'>Feb 12</td>
|
||||
<td class='hidden-480'><span class='label label-warning'>Expiring</span></td>
|
||||
<td>
|
||||
<div class="inline position-relative">
|
||||
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-only"></i></button>
|
||||
<ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
|
||||
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit" data-placement="left"><span class="green"><i class="icon-edit"></i></span></a></li>
|
||||
<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag" data-placement="left"><span class="blue"><i class="icon-flag"></i></span> </a></li>
|
||||
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete" data-placement="left"><span class="red"><i class="icon-trash"></i></span> </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class='center'>
|
||||
<label><input type='checkbox' /><span class="lbl"></span></label>
|
||||
</td>
|
||||
<td><a href='#'>base.com</a></td>
|
||||
<td>$35</td>
|
||||
<td class='hidden-480'>2,595</td>
|
||||
<td class='hidden-phone'>Feb 18</td>
|
||||
<td class='hidden-480'><span class='label label-success'>Registered</span></td>
|
||||
<td>
|
||||
<div class="inline position-relative">
|
||||
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-only"></i></button>
|
||||
<ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
|
||||
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit" data-placement="left"><span class="green"><i class="icon-edit"></i></span></a></li>
|
||||
<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag" data-placement="left"><span class="blue"><i class="icon-flag"></i></span> </a></li>
|
||||
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete" data-placement="left"><span class="red"><i class="icon-trash"></i></span> </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class='center'>
|
||||
<label><input type='checkbox' /><span class="lbl"></span></label>
|
||||
</td>
|
||||
<td><a href='#'>max.com</a></td>
|
||||
<td>$60</td>
|
||||
<td class='hidden-480'>4,400</td>
|
||||
<td class='hidden-phone'>Mar 11</td>
|
||||
<td class='hidden-480'><span class='label label-warning'>Expiring</span></td>
|
||||
<td>
|
||||
<div class="inline position-relative">
|
||||
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-only"></i></button>
|
||||
<ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
|
||||
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit" data-placement="left"><span class="green"><i class="icon-edit"></i></span></a></li>
|
||||
<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag" data-placement="left"><span class="blue"><i class="icon-flag"></i></span> </a></li>
|
||||
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete" data-placement="left"><span class="red"><i class="icon-trash"></i></span> </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class='center'>
|
||||
<label><input type='checkbox' /><span class="lbl"></span></label>
|
||||
</td>
|
||||
<td><a href='#'>best.com</a></td>
|
||||
<td>$75</td>
|
||||
<td class='hidden-480'>6,500</td>
|
||||
<td class='hidden-phone'>Apr 03</td>
|
||||
<td class='hidden-480'><span class='label label-inverse arrowed-in'>Flagged</span></td>
|
||||
<td>
|
||||
<div class="inline position-relative">
|
||||
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-only"></i></button>
|
||||
<ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
|
||||
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit" data-placement="left"><span class="green"><i class="icon-edit"></i></span></a></li>
|
||||
<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag" data-placement="left"><span class="blue"><i class="icon-flag"></i></span> </a></li>
|
||||
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete" data-placement="left"><span class="red"><i class="icon-trash"></i></span> </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
<!-- PAGE CONTENT ENDS HERE -->
|
||||
</div><!--/row-->
|
||||
|
||||
</div><!--/#page-content-->
|
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1 Presentation(用户接口层)", "1 Presentation(用户接口层)", "{57649E80-38FC-421D-82E1-BE71A786F762}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1 Presentation(用户UI)", "1 Presentation(用户UI)", "{57649E80-38FC-421D-82E1-BE71A786F762}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2 Application(应用层)", "2 Application(应用层)", "{757BB00A-46B6-4B9B-9331-D6B60BE92E05}"
|
||||
EndProject
|
||||
@@ -23,7 +23,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenAuth.Infrastructure", "
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenAuth.UnitTest", "OpenAuth.UnitTest\OpenAuth.UnitTest.csproj", "{2E6B5B73-7757-43F0-8AC8-3030F7C191B8}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "5 Repository", "5 Repository", "{7A38939E-FC9B-44A9-BD3D-E0CE438624E6}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "5 Repository(仓储)", "5 Repository(仓储)", "{7A38939E-FC9B-44A9-BD3D-E0CE438624E6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenAuth.Repository", "OpenAuth.Repository\OpenAuth.Repository.csproj", "{E8DF8DEA-E2CF-4BDB-8F4F-3F8205B0E03A}"
|
||||
EndProject
|
||||
|
Reference in New Issue
Block a user