View ActionAccessor.cs
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
using System; | |
using System.Collections.Generic; | |
using System.Data.SqlClient; | |
using Accessors.Helpers; | |
using Core.Interfaces.Accessors; | |
using Core.Interfaces.Helpers; | |
using Action = Models.Action; | |
namespace Accessors.Accessors | |
{ |
View action.component.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
<div class="card"> | |
<div class="row"> | |
<div class="row"> | |
<p class="email">{{action.userEmail}}</p> | |
<p>{{actionType}}</p> | |
</div> | |
<div class="row"> | |
<p>{{timestamp}}</p> | |
<a (click)="toggleMoreInfo()" *ngIf="oldData || newData">{{showMoreInfo ? "Less Info" : "More Info"}}</a> | |
</div> |
View ActionEngine.cs
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
using Core.Interfaces.Accessors; | |
using Core.Interfaces.Engines; | |
using Models; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Action = Models.Action; | |
namespace Engines | |
{ |
View user-line.component.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
<!-- Uneditable User Line Component --> | |
<div class="card user-line-card" *ngIf="!editing"> | |
<p id="email" class="email"><strong>{{user.email}}</strong></p> | |
<p id="role">{{role}}</p> | |
<div id="buttons_{{user.id}}"> | |
<a (click)="edit()" id="edit_{{user.id}}"><img src="../../../assets/empty-pencil.png" class="buttonImage"/></a> | |
</div> | |
</div> |
View response.component.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
<!-- Uneditable Response Component --> | |
<div class="card" *ngIf="!editing"> | |
<div class="response-header"> | |
<h1 id="responseTitle">{{response.title}}</h1> | |
<div class="row"> | |
<a (click)="edit()" id="edit_{{response.id}}"><img src="../../../assets/empty-pencil.png" class="buttonImage"/></a> | |
<img (click)="onFavorite()" id="favorite" src={{star}} alt="Favorite Response" title="Favorite Response" /> | |
</div> | |
</div> |