-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1 some ui work, update to the model
- Loading branch information
Showing
5 changed files
with
77 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.img-responsive { | ||
display: block; | ||
max-width: 100%; | ||
height: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
<div> | ||
<img [alt]="event.displayName" [src]="event.fileBlobIdIsPresent ? ('/file/'+event.fileBlobId) : event.imageUrl"> | ||
<div class="row"> | ||
<div *ngIf="event.contentLanguages.length > 1" class="col-12 text-right"> | ||
<ul class="language-selector"> | ||
<li *ngFor="let lang of event.contentLanguages">{{lang.language}}</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="col-12 col-sm-7 col-md-4"> | ||
<img class="img-responsive" [alt]="event.displayName" [src]="event.fileBlobIdIsPresent ? ('/file/'+event.fileBlobId) : event.imageUrl"> | ||
</div> | ||
<div class="col-12 col-sm-5 col-md-8 text-center"> | ||
<h1>{{event.displayName}}</h1> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.img-responsive { | ||
max-height: 100px; | ||
margin: auto; | ||
display: block; | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
h1 { | ||
margin-top:20px; | ||
} | ||
|
||
|
||
.language-selector { | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
padding: 8px 15px; | ||
list-style: none; | ||
} | ||
|
||
.language-selector > li { | ||
display: inline-block; | ||
} | ||
|
||
.language-selector > li+li:before { | ||
padding: 0 5px; | ||
color: #ccc; | ||
content: "/\00a0"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters