Переглянути джерело

better dashboard background and text adjustments

Luke Pulverenti 12 роки тому
батько
коміт
11d282388a

+ 1 - 1
MediaBrowser.Common/Extensions/BaseExtensions.cs

@@ -53,7 +53,7 @@ namespace MediaBrowser.Common.Extensions
         {
             // http://stackoverflow.com/questions/1349023/how-can-i-strip-html-from-text-in-net
             const string pattern = @"<(.|\n)*?>";
-            return Regex.Replace(htmlString, pattern, string.Empty);
+            return Regex.Replace(htmlString, pattern, string.Empty).Trim();
         }
         
         /// <summary>

+ 6 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -144,6 +144,12 @@
     <Content Include="dashboard-ui\css\images\userdata\thumbs_up_on.png">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\css\images\userdata\unplayed.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="dashboard-ui\css\images\userdata\played.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\css\jplayer.css">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>