Permalink
Browse files

initial push

initial push
  • Loading branch information...
chakkaradeep committed Sep 2, 2015
1 parent 112dec1 commit 81ad818437859a365cb7680bbffa9b43e8989697
Showing with 45,813 additions and 0 deletions.
  1. +17 −0 .gitattributes
  2. BIN FabricSharePointAddin.SharePoint/AppIcon.png
  3. +17 −0 FabricSharePointAddin.SharePoint/AppManifest.xml
  4. +72 −0 FabricSharePointAddin.SharePoint/FabricSharePointAddin.SharePoint.csproj
  5. +30 −0 FabricSharePointAddin.sln
  6. +38 −0 FabricSharePointAddin/App_Start/BundleConfig.cs
  7. +13 −0 FabricSharePointAddin/App_Start/FilterConfig.cs
  8. +23 −0 FabricSharePointAddin/App_Start/RouteConfig.cs
  9. +50 −0 FabricSharePointAddin/Content/Site.css
  10. +5,221 −0 FabricSharePointAddin/Content/fabric.components.css
  11. +1 −0 FabricSharePointAddin/Content/fabric.components.min.css
  12. +5,222 −0 FabricSharePointAddin/Content/fabric.components.rtl.css
  13. +1 −0 FabricSharePointAddin/Content/fabric.components.rtl.min.css
  14. +5,648 −0 FabricSharePointAddin/Content/fabric.css
  15. +1 −0 FabricSharePointAddin/Content/fabric.min.css
  16. +6,564 −0 FabricSharePointAddin/Content/fabric.rtl.css
  17. +1 −0 FabricSharePointAddin/Content/fabric.rtl.min.css
  18. +90 −0 FabricSharePointAddin/Controllers/HomeController.cs
  19. +284 −0 FabricSharePointAddin/FabricSharePointAddin.csproj
  20. +32 −0 FabricSharePointAddin/Filters/SharePointContextFilterAttribute.cs
  21. +1 −0 FabricSharePointAddin/Global.asax
  22. +21 −0 FabricSharePointAddin/Global.asax.cs
  23. +151 −0 FabricSharePointAddin/Project_Readme.html
  24. +35 −0 FabricSharePointAddin/Properties/AssemblyInfo.cs
  25. BIN FabricSharePointAddin/Scripts/_references.js
  26. +58 −0 FabricSharePointAddin/Scripts/fabric.navbar.js
  27. +2,671 −0 FabricSharePointAddin/Scripts/jquery-1.10.2.intellisense.js
  28. +2,670 −0 FabricSharePointAddin/Scripts/jquery-2.1.4.intellisense.js
  29. +9,210 −0 FabricSharePointAddin/Scripts/jquery-2.1.4.js
  30. +5 −0 FabricSharePointAddin/Scripts/jquery-2.1.4.min.js
  31. +1 −0 FabricSharePointAddin/Scripts/jquery-2.1.4.min.map
  32. +1,288 −0 FabricSharePointAddin/Scripts/jquery.validate-vsdoc.js
  33. +1,398 −0 FabricSharePointAddin/Scripts/jquery.validate.js
  34. +4 −0 FabricSharePointAddin/Scripts/jquery.validate.min.js
  35. +429 −0 FabricSharePointAddin/Scripts/jquery.validate.unobtrusive.js
  36. +19 −0 FabricSharePointAddin/Scripts/jquery.validate.unobtrusive.min.js
  37. +1,406 −0 FabricSharePointAddin/Scripts/modernizr-2.8.3.js
  38. +224 −0 FabricSharePointAddin/Scripts/respond.js
  39. +273 −0 FabricSharePointAddin/Scripts/respond.matchmedia.addListener.js
  40. +5 −0 FabricSharePointAddin/Scripts/respond.matchmedia.addListener.min.js
  41. +5 −0 FabricSharePointAddin/Scripts/respond.min.js
  42. +91 −0 FabricSharePointAddin/Scripts/spcontext.js
  43. +924 −0 FabricSharePointAddin/SharePointContext.cs
  44. +1,223 −0 FabricSharePointAddin/TokenHelper.cs
  45. +15 −0 FabricSharePointAddin/Views/Home/About.cshtml
  46. +26 −0 FabricSharePointAddin/Views/Home/Contact.cshtml
  47. +63 −0 FabricSharePointAddin/Views/Home/Index.cshtml
  48. +20 −0 FabricSharePointAddin/Views/Shared/Error.cshtml
  49. +51 −0 FabricSharePointAddin/Views/Shared/_Layout.cshtml
  50. +43 −0 FabricSharePointAddin/Views/Web.config
  51. +3 −0 FabricSharePointAddin/Views/_ViewStart.cshtml
  52. +30 −0 FabricSharePointAddin/Web.Debug.config
  53. +31 −0 FabricSharePointAddin/Web.Release.config
  54. +74 −0 FabricSharePointAddin/Web.config
  55. BIN FabricSharePointAddin/favicon.ico
  56. +20 −0 FabricSharePointAddin/packages.config
View
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
Binary file not shown.
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
<App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest"
Name="Fabric SharePoint Add-in"
ProductID="{293bb9ae-9acc-4c87-85bc-b7cab7533677}"
Version="1.0.0.0"
SharePointMinVersion="16.0.0.0"
>
<Properties>
<Title>Fabric SharePoint Add-in</Title>
<StartPage>~remoteAppUrl/?{StandardTokens}</StartPage>
</Properties>
<AppPrincipal>
<RemoteWebApplication ClientId="*" />
</AppPrincipal>
</App>
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{3FE0C6B1-8396-403F-B5E9-229775E41DE6}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FabricSharePointAddin.SharePoint</RootNamespace>
<AssemblyName>FabricSharePointAddin.SharePoint</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetOfficeVersion>16.1</TargetOfficeVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{C1CDDADD-2546-481F-9697-4EA41081F2FC};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<MinimumOfficeToolsVersion>12.2</MinimumOfficeToolsVersion>
<IncludeAssemblyInPackage>False</IncludeAssemblyInPackage>
<ProjectMode>SharePointApp</ProjectMode>
<AppFeaturePartId>{9c60974e-0c20-4990-8df6-821883d753b5}</AppFeaturePartId>
<WspPartId>{d2bbe674-4e07-4bac-94da-6982fbf4f3a9}</WspPartId>
<WorkflowPartId>{7dcc79fb-6ea9-4751-acc8-93245c35d838}</WorkflowPartId>
<CspkgPartId>{ebaaa890-91c7-42f8-aef7-7db3d570a16a}</CspkgPartId>
<SqlPackagePartId>{6307c5cd-15c4-43d5-a121-2bf57f791fd2}</SqlPackagePartId>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
<Content Include="AppIcon.png">
<OpcRelationship>manifest-icon</OpcRelationship>
</Content>
</ItemGroup>
<ItemGroup>
<AppManifestFile Include="AppManifest.xml">
<SubType>Designer</SubType>
</AppManifestFile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FabricSharePointAddin\FabricSharePointAddin.csproj">
<Project>{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}</Project>
<Name>FabricSharePointAddin</Name>
<Private>True</Private>
<RoleType>Web</RoleType>
<OutputItemType>SharePointWebProjectOutput</OutputItemType>
<RoleName>FabricSharePointAddin</RoleName>
<ReferenceOutputAssembly>False</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
View
@@ -0,0 +1,30 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FabricSharePointAddin", "FabricSharePointAddin\FabricSharePointAddin.csproj", "{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FabricSharePointAddin.SharePoint", "FabricSharePointAddin.SharePoint\FabricSharePointAddin.SharePoint.csproj", "{3FE0C6B1-8396-403F-B5E9-229775E41DE6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F3B2C74F-A8E6-4760-AAEF-B8FD6C34C228}.Release|Any CPU.Build.0 = Release|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Release|Any CPU.Build.0 = Release|Any CPU
{3FE0C6B1-8396-403F-B5E9-229775E41DE6}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,38 @@
using System.Web;
using System.Web.Optimization;
namespace FabricSharePointAppWeb
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js"));
bundles.Add(new ScriptBundle("~/bundles/spcontext").Include(
"~/Scripts/spcontext.js"));
bundles.Add(new ScriptBundle("~/bundles/fabric").Include(
"~/Scripts/fabric.*"));
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/site.css",
"~/Content/fabric.css",
"~/Content/fabric.components.css"));
}
}
}
@@ -0,0 +1,13 @@
using System.Web;
using System.Web.Mvc;
namespace FabricSharePointAppWeb
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace FabricSharePointAppWeb
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
);
}
}
}
@@ -0,0 +1,50 @@
body {
margin: 0;
padding: 0;
}
.intro {
padding-bottom:30px;
}
.spacer {
padding:10px;
}
/* Office UI Fabric Overrides*/
.ms-bgColor-themeDarker,
.ms-bgColor-themeDarker--hover:hover {
background-color: #004578 !important;
}
.ms-fontColor-white,
.ms-fontColor-white--hover:hover {
color: #ffffff !important;
}
.ms-borderColor-white,
.ms-borderColor-white--hover:hover {
border-color: #ffffff !important;
}
.is-selected{
border-bottom: 2px solid white !important;
}
.ms-NavBar-chevronDown {
color: white !important;
}
.ms-Icon--menu {
color: white;
}
@media (max-width: 479px) {
.ms-NavBar.is-open .ms-NavBar-items {
background-color: #004578 !important;
}
.ms-NavBar-item:hover {
background-color: #106ebe !important;
}
}
Oops, something went wrong.

0 comments on commit 81ad818

Please sign in to comment.