package UI updates
This commit is contained in:
		@ -75,7 +75,7 @@ else
 | 
			
		||||
                        <td>
 | 
			
		||||
                            <h3 style="display: inline;"><a href="@context.ProductUrl" target="_new">@context.Name</a></h3>  by:  <strong><a href="@context.OwnerUrl" target="new">@context.Owner</a></strong><br />
 | 
			
		||||
                            @(context.Description.Length > 400 ? (context.Description.Substring(0, 400) + "...") : context.Description)<br />
 | 
			
		||||
                            <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>
 | 
			
		||||
                            <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>  |  @SharedLocalizer["Search.Source"]: <strong>@context.PackageUrl</strong>
 | 
			
		||||
                        </td>
 | 
			
		||||
                        <td style="vertical-align: middle;">
 | 
			
		||||
                            <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadLanguage(context.PackageId, context.Version))>@Localizer["Download"]</button>
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,7 @@
 | 
			
		||||
                    <td>
 | 
			
		||||
                        <h3 style="display: inline;"><a href="@context.ProductUrl" target="_new">@context.Name</a></h3>  by:  <strong><a href="@context.OwnerUrl" target="new">@context.Owner</a></strong><br />
 | 
			
		||||
                        @(context.Description.Length > 400 ? (context.Description.Substring(0, 400) + "...") : context.Description)<br />
 | 
			
		||||
                        <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>
 | 
			
		||||
                        <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>  |  @SharedLocalizer["Search.Source"]: <strong>@context.PackageUrl</strong>
 | 
			
		||||
                    </td>
 | 
			
		||||
                    <td style="vertical-align: middle;">
 | 
			
		||||
                        <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadModule(context.PackageId, context.Version))>@Localizer["Download"]</button>
 | 
			
		||||
 | 
			
		||||
@ -122,7 +122,7 @@
 | 
			
		||||
        {
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(""), 10);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(""), 20);
 | 
			
		||||
            await InstallationService.RestartAsync();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,7 @@
 | 
			
		||||
                    <td>
 | 
			
		||||
                        <h3 style="display: inline;"><a href="@context.ProductUrl" target="_new">@context.Name</a></h3>  @SharedLocalizer["Search.By"]:  <strong><a href="@context.OwnerUrl" target="new">@context.Owner</a></strong><br />
 | 
			
		||||
                        @(context.Description.Length > 400 ? (context.Description.Substring(0, 400) + "...") : context.Description)<br />
 | 
			
		||||
                        <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>
 | 
			
		||||
                        <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong>  |  @SharedLocalizer["Search.Source"]: <strong>@context.PackageUrl</strong>
 | 
			
		||||
                    </td>
 | 
			
		||||
                    <td style="vertical-align: middle;">
 | 
			
		||||
                        <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadTheme(context.PackageId, context.Version))>@Localizer["Download"]</button>
 | 
			
		||||
 | 
			
		||||
@ -72,7 +72,7 @@
 | 
			
		||||
            AddModuleMessage(Localizer["Info.Upgrade.Wait"], MessageType.Info);
 | 
			
		||||
            ShowProgressIndicator();
 | 
			
		||||
            var interop = new Interop(JSRuntime);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 30);
 | 
			
		||||
            await interop.RedirectBrowser(NavigateUrl(), 20);
 | 
			
		||||
            await InstallationService.Upgrade();
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user