Browse Source

Fixed missing font.

Added config to optimize bundles.
tags/2.0.3
Teknikode 4 years ago
parent
commit
aa7a70ab83

+ 2
- 0
Teknik/App_Start/BundleConfig.cs View File

@@ -8,6 +8,8 @@ namespace Teknik
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
BundleTable.EnableOptimizations = true;

bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));


+ 0
- 14
Teknik/Areas/Profile/Models/AuthUser.cs View File

@@ -1,14 +0,0 @@
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Teknik.Areas.Profile.Models
{
public class AuthUser : IdentityUser
{
public User User { get; set; }
}
}

+ 11
- 10
Teknik/Teknik.csproj View File

@@ -196,8 +196,8 @@
<Content Include="Content\bootstrap.min.css" />
<Content Include="Content\font-awesome.css" />
<Content Include="Content\font-awesome.min.css" />
<Content Include="Fonts\fontawesome-webfont.svg" />
<Content Include="Fonts\glyphicons-halflings-regular.svg" />
<Content Include="fonts\fontawesome-webfont.svg" />
<Content Include="fonts\glyphicons-halflings-regular.svg" />
<Content Include="Images\favicon.ico" />
<Content Include="Images\logo-black-io.svg" />
<Content Include="Images\logo-black.svg" />
@@ -228,14 +228,14 @@
<Content Include="Areas\Profile\Views\web.config" />
<Content Include="Areas\Profile\Views\_ViewStart.cshtml" />
<Content Include="Areas\Profile\Views\Profile\Index.cshtml" />
<Content Include="Fonts\FontAwesome.otf" />
<Content Include="Fonts\fontawesome-webfont.woff" />
<Content Include="Fonts\fontawesome-webfont.ttf" />
<Content Include="Fonts\fontawesome-webfont.eot" />
<Content Include="Fonts\glyphicons-halflings-regular.woff2" />
<Content Include="Fonts\glyphicons-halflings-regular.woff" />
<Content Include="Fonts\glyphicons-halflings-regular.ttf" />
<Content Include="Fonts\glyphicons-halflings-regular.eot" />
<Content Include="fonts\FontAwesome.otf" />
<Content Include="fonts\fontawesome-webfont.woff" />
<Content Include="fonts\fontawesome-webfont.ttf" />
<Content Include="fonts\fontawesome-webfont.eot" />
<Content Include="fonts\glyphicons-halflings-regular.woff2" />
<Content Include="fonts\glyphicons-halflings-regular.woff" />
<Content Include="fonts\glyphicons-halflings-regular.ttf" />
<Content Include="fonts\glyphicons-halflings-regular.eot" />
<Content Include="Content\bootstrap.min.css.map" />
<Content Include="Content\bootstrap.css.map" />
<Content Include="Content\bootstrap-theme.min.css.map" />
@@ -246,6 +246,7 @@
<Content Include="Areas\Profile\Views\Profile\ViewLogin.cshtml" />
<Content Include="Areas\Blog\Views\Blog\Comments.cshtml" />
<Content Include="Areas\Blog\Views\Blog\Comment.cshtml" />
<Content Include="fonts\fontawesome-webfont.woff2" />
<None Include="Properties\PublishProfiles\Teknik Dev.pubxml" />
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
<Content Include="Scripts\bootbox\bootbox.min.js" />

+ 2
- 0
Teknik/Views/Shared/_Layout.cshtml View File

@@ -48,6 +48,7 @@
@Html.Partial("_Footer")

<!-- Piwik -->
<!--
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
@@ -64,6 +65,7 @@
})();
</script>
<noscript><p><img src="//stats.teknik.io/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
-->
<!-- End Piwik Code -->

<!-- Load Scripts -->

+ 1
- 1
Teknik/Web.config View File

@@ -16,7 +16,7 @@
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="RouteDebugger:Enabled" value="true" />
<add key="RouteDebugger:Enabled" value="false" />
</appSettings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

Loading…
Cancel
Save