-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#79 styling of matches and the dialog view
- Loading branch information
Showing
6 changed files
with
89 additions
and
82 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
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 |
---|---|---|
|
@@ -87,6 +87,7 @@ | |
|
||
|
||
$scope.reload = function () { | ||
dialogService.closeAll(); | ||
reset(); | ||
}; | ||
|
||
|
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
44 changes: 41 additions & 3 deletions
44
src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Details.html
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,5 +1,43 @@ | ||
<div ng-controller="Look.BackOffice.DetailsController"> | ||
<p>Details</p> | ||
<div ng-controller="Look.BackOffice.DetailsController" ng-mouseleave="hideDetails()" class="look-details"> | ||
|
||
<h2>{{ viewData.match.name }}</h2> | ||
|
||
<div><span>Date: </span> {{ viewData.match.date | date:'d MMMM yyyy, HH:mm:ss' }}</div> | ||
<div><span>Path: </span> {{ viewData.match.path}}<a href="{{ viewData.match.link }}">{{ viewData.match.linkText }}</a>{{ viewData.match.isDetached ? '\\' + viewData.match.name : '' }}</div> | ||
<div><span>Culture: </span> {{ viewData.match.culture }}</div> | ||
<div><span>Id: </span>{{ viewData.match.id }}</div> | ||
<div><span>Key: </span>{{ viewData.match.key }}</div> | ||
|
||
<div ng-if="viewData.match.hasTags"> | ||
<hr/> | ||
<span>Tags: </span> | ||
|
||
<div ng-repeat="tagGroup in viewData.match.tagGroups"> | ||
<br/> | ||
|
||
<span class="icon icon-tags"> </span> | ||
|
||
<a ng-if="tagGroup.link !== null" href="{{tagGroup.link}}">{{ tagGroup.name ? tagGroup.name : '<Default>' }}</a> | ||
<span ng-if="tagGroup.link === null">{{ tagGroup.name ? tagGroup.name : '<Default>' }}</span> | ||
|
||
<ul> | ||
<li ng-repeat="tag in tagGroup.tags"> | ||
|
||
<span class="icon icon-tag"> </span> | ||
<a ng-if="tag.link !== null" href="{{tag.link}}">{{tag.name}}</a> | ||
<span ng-if="tag.link === null">{{tag.name}}</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div ng-if="viewData.match.hasLocation"> | ||
<hr/> | ||
<span>Location: </span> | ||
<br/> | ||
|
||
</div> | ||
|
||
<!--<pre>{{ viewData | json}}</pre>--> | ||
|
||
<pre>{{ viewData | json}}</pre> | ||
</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
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