Private/Angular/Component/Home/New-NgHomeComponentHtmlToString.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Function New-NgHomeComponentHtmlToString([WebCsprojInfo]$webCsprojInfo)
{
    [string]$result = @"

<div class="jumbotron">
  <div class="container">
    <h1>{{stringService.APP_TITLE}}</h1>
    <p>{{stringService.DASHBOARD_JUMBOTRON_MESSAGE}}</p>
  </div>
</div>


<div class="container">
<div class="row">
  <div class="col-md-4">
    <h2>Box #1</h2>
    <p>box #1</p>
    <p><a class="btn btn-primary" routerLink="/status-report" role="button">Button #1</a></p>
  </div>
  <div class="col-md-4">
    <h2>Box #2</h2>
    <p>box #2</p>
    <p><a class="btn btn-primary" routerLink="/status-report" role="button">Button #2</a></p>
  </div>
  <div class="col-md-4">
    <h2>Box #3</h2>
    <p>box #3</p>
    <p><a class="btn btn-primary" routerLink="/status-report" role="button">Button #3</a></p>
  </div>
</div>
</div>

<ng-template #dashboardPivotsLoading>
  Loading dashboard...
</ng-template>


"@


    return $result 

}