mirror of https://github.com/Squidex/squidex.git
13 changed files with 160 additions and 13 deletions
@ -1,12 +1,54 @@ |
|||
<sqx-title message="{app} | Dashboard" parameter1="app" value1="{{appName() | async}}"></sqx-title> |
|||
|
|||
<div class="panel panel-light"> |
|||
<div class="panel-header"> |
|||
<h3 class="panel-title">Dashboard</h3> |
|||
</div> |
|||
<div class="dashboard"> |
|||
<div> |
|||
<h1>Hi {{profileDisplayName}}</h1> |
|||
|
|||
<div class="panel-main"> |
|||
<div class="panel-content"> |
|||
<div class="subtext"> |
|||
Welcome to <span class="app-name">{{appName() | async}}</span> dashboard. |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div> |
|||
<a class="card" [routerLink]="['schemas', { showDialog: true }]"> |
|||
<div class="card-block"> |
|||
<div class="card-image"> |
|||
<img src="/images/dashboard-schema.png" /> |
|||
</div> |
|||
|
|||
<h4 class="card-title">New Schema</h4> |
|||
<p class="card-text">A schema defines the structure of your content element.</p> |
|||
</div> |
|||
</a> |
|||
<a class="card" href="/api/content/{{appName() | async}}/docs" target="_blank"> |
|||
<div class="card-block"> |
|||
<div class="card-image"> |
|||
<img src="/images/dashboard-api.png" /> |
|||
</div> |
|||
|
|||
<h4 class="card-title">API Documentation</h4> |
|||
<p class="card-text">Swagger compatible documentation for your schemas.</p> |
|||
</div> |
|||
</a> |
|||
<a class="card" (click)="showForum()"> |
|||
<div class="card-block"> |
|||
<div class="card-image"> |
|||
<img src="/images/dashboard-feedback.png" /> |
|||
</div> |
|||
|
|||
<h4 class="card-title">Feedback</h4> |
|||
<p class="card-text">Provide feedback and request features to help us to improve Squidex.</p> |
|||
</div> |
|||
</a> |
|||
<a class="card" href="https://github.com/squidex/squidex" target="_blank"> |
|||
<div class="card-block"> |
|||
<div class="card-image"> |
|||
<img src="/images/dashboard-github.png" /> |
|||
</div> |
|||
|
|||
<h4 class="card-title">Github</h4> |
|||
<p class="card-text">Get the source code from Github and report bugs or ask for support.</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
@ -0,0 +1,65 @@ |
|||
@import '_vars'; |
|||
@import '_mixins'; |
|||
|
|||
.dashboard { |
|||
padding: 2rem; |
|||
padding-right: 1rem; |
|||
} |
|||
|
|||
h1 { |
|||
font-weight: light; |
|||
font-size: 1.4rem; |
|||
} |
|||
|
|||
.subtext { |
|||
margin-top: .5rem; |
|||
margin-bottom: .8rem; |
|||
color: $color-subtext; |
|||
} |
|||
|
|||
.app-name { |
|||
color: $color-title; |
|||
} |
|||
|
|||
.card { |
|||
& { |
|||
cursor: pointer; |
|||
margin-right: 1rem; |
|||
margin-bottom: 1rem; |
|||
width: 16rem; |
|||
float: left; |
|||
} |
|||
|
|||
&:hover { |
|||
@include box-shadow(0, 3px, 16px, .2px); |
|||
} |
|||
|
|||
&:hover, |
|||
&:active { |
|||
text-decoration: none; |
|||
} |
|||
|
|||
h4 { |
|||
color: $color-title; |
|||
} |
|||
|
|||
&-block { |
|||
min-height: 14.5rem; |
|||
} |
|||
|
|||
&-image { |
|||
text-align: center; |
|||
} |
|||
|
|||
&-text { |
|||
font-weight: normal; |
|||
font-size: .9rem; |
|||
color: $color-empty; |
|||
} |
|||
|
|||
&-title { |
|||
font-weight: light; |
|||
font-size: 1.2rem; |
|||
margin-top: .4rem; |
|||
} |
|||
} |
|||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 816 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in new issue