基本的数据管理页面
This commit is contained in:
parent
b7fcadf3c0
commit
45f148d464
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppConsumeController : EntityController<AppConsume>
|
||||
{
|
||||
static AppConsumeController()
|
||||
{
|
||||
MenuOrder = 73;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppController : EntityController<App>
|
||||
{
|
||||
static AppController()
|
||||
{
|
||||
MenuOrder = 99;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppHistoryController : EntityController<AppHistory>
|
||||
{
|
||||
static AppHistoryController()
|
||||
{
|
||||
MenuOrder = 93;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppOnlineController : EntityController<AppOnline>
|
||||
{
|
||||
static AppOnlineController()
|
||||
{
|
||||
MenuOrder = 95;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppServiceController : EntityController<AppService>
|
||||
{
|
||||
static AppServiceController()
|
||||
{
|
||||
MenuOrder = 75;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class AppStatController : EntityController<AppStat>
|
||||
{
|
||||
static AppStatController()
|
||||
{
|
||||
MenuOrder = 91;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class IpStatController : EntityController<IpStat>
|
||||
{
|
||||
static IpStatController()
|
||||
{
|
||||
MenuOrder = 59;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class ServiceController : EntityController<Service>
|
||||
{
|
||||
static ServiceController()
|
||||
{
|
||||
MenuOrder = 79;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using NewLife.Cube;
|
||||
using Stardust.Data;
|
||||
|
||||
namespace Stardust.Web.Areas.Star.Controllers
|
||||
{
|
||||
public class ServiceStatController : EntityController<ServiceStat>
|
||||
{
|
||||
static ServiceStatController()
|
||||
{
|
||||
MenuOrder = 75;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
using System.ComponentModel;
|
||||
using System.Web.Mvc;
|
||||
using NewLife.Cube;
|
||||
|
||||
namespace Stardust.Web.Areas.Star
|
||||
{
|
||||
[DisplayName("星尘")]
|
||||
public class StarAreaRegistration : AreaRegistrationBase
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="Stardust.Web" />
|
||||
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</configuration>
|
|
@ -104,12 +104,23 @@
|
|||
<Content Include="Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Areas\Star\Controllers\AppConsumeController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\IpStatController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\ServiceStatController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\AppServiceController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\AppStatController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\AppHistoryController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\AppOnlineController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\ServiceController.cs" />
|
||||
<Compile Include="Areas\Star\Controllers\AppController.cs" />
|
||||
<Compile Include="Areas\Star\StarAreaRegistration.cs" />
|
||||
<Compile Include="Global.asax.cs">
|
||||
<DependentUpon>Global.asax</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Areas\Star\Views\web.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
|
@ -118,6 +129,16 @@
|
|||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Areas\Star\Models\" />
|
||||
<Folder Include="Areas\Star\Views\Shared\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Stardust.Data\Stardust.Data.csproj">
|
||||
<Project>{8B5FC187-6592-4717-99C3-D97743062FD3}</Project>
|
||||
<Name>Stardust.Data</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
|
|
Loading…
Reference in New Issue