mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
紧急修复因修复#3造成的乱码问题,在WINDOWS下面必需使用带BOM的UTF-8编码!
This commit is contained in:
parent
942f606a2b
commit
e744456a95
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : FairUtility
|
// Assembly : FairUtility
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 08-27-2015
|
// Created : 08-27-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Infrastructure
|
namespace Infrastructure
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : Infrastructure
|
// Assembly : Infrastructure
|
||||||
// Author : Administrator
|
// Author : Administrator
|
||||||
// Created : 09-22-2015
|
// Created : 09-22-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : FairUtility
|
// Assembly : FairUtility
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 08-18-2015
|
// Created : 08-18-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//Copyright (C) Microsoft Corporation. All rights reserved.
|
//Copyright (C) Microsoft Corporation. All rights reserved.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace Infrastructure
|
namespace Infrastructure
|
||||||
{
|
{
|
||||||
public class Filter
|
public class Filter
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : FairUtility
|
// Assembly : FairUtility
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 10-13-2015
|
// Created : 10-13-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : Infrastructure
|
// Assembly : Infrastructure
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 09-07-2015
|
// Created : 09-07-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : FairUtility
|
// Assembly : FairUtility
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 08-12-2015
|
// Created : 08-12-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using log4net;
|
using log4net;
|
||||||
|
|
||||||
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
|
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
|
||||||
namespace Infrastructure
|
namespace Infrastructure
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : Infrastructure
|
// Assembly : Infrastructure
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 11-23-2015
|
// Created : 11-23-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : Infrastructure
|
// Assembly : Infrastructure
|
||||||
// Author : Administrator
|
// Author : Administrator
|
||||||
// Created : 09-22-2015
|
// Created : 09-22-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.App
|
// Assembly : OpenAuth.App
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 12-02-2015
|
// Created : 12-02-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.App.ViewModel;
|
using OpenAuth.App.ViewModel;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// 有关程序集的常规信息通过以下
|
// 有关程序集的常规信息通过以下
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using OpenAuth.App.ViewModel;
|
using OpenAuth.App.ViewModel;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using OpenAuth.App.ViewModel;
|
using OpenAuth.App.ViewModel;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Domain.Interface;
|
using OpenAuth.Domain.Interface;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.App
|
// Assembly : OpenAuth.App
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 12-01-2015
|
// Created : 12-01-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OpenAuth.App.ViewModel
|
namespace OpenAuth.App.ViewModel
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户ID
|
/// 用户ID
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OpenAuth.App.ViewModel
|
namespace OpenAuth.App.ViewModel
|
||||||
{
|
{
|
||||||
public class ResourceVM
|
public class ResourceVM
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.App
|
// Assembly : OpenAuth.App
|
||||||
// Author : yubaolee
|
// Author : yubaolee
|
||||||
// Created : 11-29-2015
|
// Created : 11-29-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace OpenAuth.Domain.Interface
|
namespace OpenAuth.Domain.Interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace OpenAuth.Domain.Interface
|
namespace OpenAuth.Domain.Interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Domain
|
// Assembly : OpenAuth.Domain
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 11-30-2015
|
// Created : 11-30-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Domain
|
// Assembly : OpenAuth.Domain
|
||||||
// Author : yubaolee
|
// Author : yubaolee
|
||||||
// Created : 10-25-2015
|
// Created : 10-25-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace OpenAuth.Domain.Interface
|
namespace OpenAuth.Domain.Interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace OpenAuth.Domain.Interface
|
namespace OpenAuth.Domain.Interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace OpenAuth.Domain.Interface
|
namespace OpenAuth.Domain.Interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// 有关程序集的常规信息通过以下
|
// 有关程序集的常规信息通过以下
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Optimization;
|
using System.Web.Optimization;
|
||||||
|
|
||||||
namespace OpenAuth.Mvc
|
namespace OpenAuth.Mvc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
|
|
||||||
namespace OpenAuth.Mvc
|
namespace OpenAuth.Mvc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Mvc
|
// Assembly : OpenAuth.Mvc
|
||||||
// Author : yubaolee
|
// Author : yubaolee
|
||||||
// Created : 10-26-2015
|
// Created : 10-26-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Mvc
|
// Assembly : OpenAuth.Mvc
|
||||||
// Author : Administrator
|
// Author : Administrator
|
||||||
// Created : 09-22-2015
|
// Created : 09-22-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using Infrastructure.Helper;
|
using Infrastructure.Helper;
|
||||||
using OpenAuth.App;
|
using OpenAuth.App;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Mvc
|
// Assembly : OpenAuth.Mvc
|
||||||
// Author : Yubao Li
|
// Author : Yubao Li
|
||||||
// Created : 12-02-2015
|
// Created : 12-02-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.App;
|
using OpenAuth.App;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.App;
|
using OpenAuth.App;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using OpenAuth.Mvc.Models;
|
using OpenAuth.Mvc.Models;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.App;
|
using OpenAuth.App;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
using OpenAuth.App;
|
using OpenAuth.App;
|
||||||
using OpenAuth.Domain;
|
using OpenAuth.Domain;
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using Infrastructure;
|
using Infrastructure;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using System.Web.Optimization;
|
using System.Web.Optimization;
|
||||||
using System.Web.Routing;
|
using System.Web.Routing;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// ***********************************************************************
|
// ***********************************************************************
|
||||||
// Assembly : OpenAuth.Mvc
|
// Assembly : OpenAuth.Mvc
|
||||||
// Author : yubaolee
|
// Author : yubaolee
|
||||||
// Created : 11-05-2015
|
// Created : 11-05-2015
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model OpenAuth.Domain.Category
|
@model OpenAuth.Domain.Category
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "Category编辑界面";
|
ViewBag.Title = "Category编辑界面";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "Category";
|
string _prefix = "Category";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
Layout = null;
|
Layout = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@model List<OpenAuth.App.ViewModel.ModuleView>
|
@model List<OpenAuth.App.ViewModel.ModuleView>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>OpenAuth.net 基于经典DDD框架的权限管理</title>
|
<title>OpenAuth.net 基于经典DDD框架的权限管理</title>
|
||||||
<meta name="Keywords" content="OpenAuth,DDD权限管理,yubaolee" />
|
<meta name="Keywords" content="OpenAuth,DDD权限管理,yubaolee" />
|
||||||
@ -177,8 +177,10 @@
|
|||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li><a href="changepwd.html" data-toggle="dialog" data-id="changepwd_page" data-mask="true"
|
<li>
|
||||||
data-width="400" data-height="260"> <span class="glyphicon glyphicon-lock"></span> 修改密码 </a></li>
|
<a href="changepwd.html" data-toggle="dialog" data-id="changepwd_page" data-mask="true"
|
||||||
|
data-width="400" data-height="260"> <span class="glyphicon glyphicon-lock"></span>修改密码 </a>
|
||||||
|
</li>
|
||||||
<li><a href="#"> <span class="glyphicon glyphicon-user"></span> 我的资料</a></li>
|
<li><a href="#"> <span class="glyphicon glyphicon-user"></span> 我的资料</a></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li><a href="/Login/Logout" class="red"> <span class="glyphicon glyphicon-off"></span> 注销登陆</a></li>
|
<li><a href="/Login/Logout" class="red"> <span class="glyphicon glyphicon-off"></span> 注销登陆</a></li>
|
||||||
@ -209,20 +211,14 @@
|
|||||||
|
|
||||||
@foreach (var module in Model)
|
@foreach (var module in Model)
|
||||||
{
|
{
|
||||||
|
|
||||||
<li data-id="@module.Id" data-pid="@module.ParentId"
|
<li data-id="@module.Id" data-pid="@module.ParentId"
|
||||||
@if (string.IsNullOrWhiteSpace(module.Url.Trim()))
|
@if (string.IsNullOrWhiteSpace(module.Url.Trim())) { @: data - faicon="folder-open-o"
|
||||||
{
|
@: data - faicon - close="folder-o"
|
||||||
@:data - faicon = "folder-open-o"
|
} else { @: data-faicon="caret-right"
|
||||||
@:data - faicon - close = "folder-o"
|
@: data-url="@module.Url"
|
||||||
}
|
@: data-tabid="@module.Id"
|
||||||
else
|
}>@module.Name</li>
|
||||||
{
|
|
||||||
@:data-faicon="caret-right"
|
|
||||||
@:data-url="@module.Url"
|
|
||||||
@:data-tabid="@module.Id"
|
|
||||||
}
|
|
||||||
>@module.Name</li>
|
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -257,7 +253,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="bjui-navtab" class="tabsPage">
|
<div id="bjui-navtab" class="tabsPage">
|
||||||
<div class="tabsPageHeader"><!--标签头-->
|
<div class="tabsPageHeader">
|
||||||
|
<!--标签头-->
|
||||||
<div class="tabsPageHeaderContent">
|
<div class="tabsPageHeaderContent">
|
||||||
<ul class="navtab-tab nav nav-tabs">
|
<ul class="navtab-tab nav nav-tabs">
|
||||||
<li data-url="Home/Main">
|
<li data-url="Home/Main">
|
||||||
@ -276,7 +273,8 @@
|
|||||||
<ul class="tabsMoreList">
|
<ul class="tabsMoreList">
|
||||||
<li><a href="javascript:;">#maintab#</a></li>
|
<li><a href="javascript:;">#maintab#</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="navtab-panel tabsPageContent"> <!--标签内容-->
|
<div class="navtab-panel tabsPageContent">
|
||||||
|
<!--标签内容-->
|
||||||
<div class="navtabPage unitBox">
|
<div class="navtabPage unitBox">
|
||||||
<div class="bjui-pageContent" style="background:#FFF;">
|
<div class="bjui-pageContent" style="background:#FFF;">
|
||||||
Loading...
|
Loading...
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
@{
|
@{
|
||||||
Layout = null;
|
Layout = null;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@using System.Text
|
@using System.Text
|
||||||
<div class="bjui-pageHeader">
|
<div class="bjui-pageHeader">
|
||||||
<div class="bjui-searchBar">
|
<div class="bjui-searchBar">
|
||||||
<div class="bjui-searchBar">
|
<div class="bjui-searchBar">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<script src="http://git.oschina.net/yubaolee/OpenAuth.Net/preview" type='text/javascript'></script>
|
<script src="http://git.oschina.net/yubaolee/OpenAuth.Net/preview" type='text/javascript'></script>
|
||||||
<!-- for git 挂件 begin -->
|
<!-- for git 挂件 begin -->
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body{margin:0; padding:0;}
|
body{margin:0; padding:0;}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
@model OpenAuth.Mvc.Models.BjuiResponse
|
@model OpenAuth.Mvc.Models.BjuiResponse
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="UTF-8">
|
||||||
<title>系统登录</title>
|
<title>系统登录</title>
|
||||||
<script src="~/BJUI/js/jquery-1.7.2.min.js"></script>
|
<script src="~/BJUI/js/jquery-1.7.2.min.js"></script>
|
||||||
<script src="~/BJUI/js/jquery.cookie.js"></script>
|
<script src="~/BJUI/js/jquery.cookie.js"></script>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "assignForRole";
|
string _prefix = "assignForRole";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "assignForUser";
|
string _prefix = "assignForUser";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model IEnumerable<OpenAuth.Domain.ModuleElement>
|
@model IEnumerable<OpenAuth.Domain.ModuleElement>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model OpenAuth.Domain.Module
|
@model OpenAuth.Domain.Module
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "Module编辑界面";
|
ViewBag.Title = "Module编辑界面";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "Module";
|
string _prefix = "Module";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@*
|
@*
|
||||||
选择多个模块ID,以ids的形式返回
|
选择多个模块ID,以ids的形式返回
|
||||||
*@
|
*@
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@*
|
@*
|
||||||
选择多个模块ID,以ids的形式返回
|
选择多个模块ID,以ids的形式返回
|
||||||
*@
|
*@
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
ViewBag.Title = "title";
|
ViewBag.Title = "title";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "org";
|
string _prefix = "org";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model dynamic
|
@model dynamic
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "title";
|
ViewBag.Title = "title";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model OpenAuth.Domain.Resource
|
@model OpenAuth.Domain.Resource
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "Resource编辑界面";
|
ViewBag.Title = "Resource编辑界面";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "Resource";
|
string _prefix = "Resource";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "assignResForRole";
|
string _prefix = "assignResForRole";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "assignResForUser";
|
string _prefix = "assignResForUser";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@model OpenAuth.Domain.Role
|
@model OpenAuth.Domain.Role
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "title";
|
ViewBag.Title = "title";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "Role";
|
string _prefix = "Role";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "assignRoleForUser";
|
string _prefix = "assignRoleForUser";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1 +1 @@
|
|||||||
@RenderBody()
|
@RenderBody()
|
@ -1,4 +1,4 @@
|
|||||||
@model OpenAuth.App.ViewModel.UserView
|
@model OpenAuth.App.ViewModel.UserView
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "title";
|
ViewBag.Title = "title";
|
||||||
Layout = null;
|
Layout = null;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@{
|
@{
|
||||||
string _prefix = "user";
|
string _prefix = "user";
|
||||||
var _treeId = _prefix + "Tree";
|
var _treeId = _prefix + "Tree";
|
||||||
var _gridId = _prefix + "Grid";
|
var _gridId = _prefix + "Grid";
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
@{
|
@{
|
||||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user