pull/470/head
tidusjar 8 years ago
parent 355c998c06
commit d7c40164cb

@ -51,7 +51,7 @@ $(function () {
if (searchTimer) { if (searchTimer) {
clearTimeout(searchTimer); clearTimeout(searchTimer);
} }
searchTimer = setTimeout(movieSearch, 400); searchTimer = setTimeout(movieSearch, 800);
}); });

@ -303,7 +303,7 @@
<Content Include="Content\issues.js"> <Content Include="Content\issues.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Content\app\services\userManagement\userManagementService.js"> <Content Include="Content\app\userManagement\userManagementService.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="Content\swagger\backbone-min.js"> <Content Include="Content\swagger\backbone-min.js">
@ -502,7 +502,7 @@
<None Include="sqlite3.dll"> <None Include="sqlite3.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
<Content Include="Content\app\controllers\userManagement\userManagementController.js"> <Content Include="Content\app\userManagement\userManagementController.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="web.config"> <Content Include="web.config">

@ -93,37 +93,37 @@
</div> </div>
</div> </div>
<!--Accordion Item--> @* <!--Accordion Item-->
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
@for (var i = 0; i < Model.Message.Count; i++) @for (var i = 0; i < Model.Message.Count; i++)
{ {
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading" role="tab" id="@(i)headingOne"> <div class="panel-heading" role="tab" id="@(i)headingOne">
<h4 class="panel-title"> <h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#@(i)collapseOne" aria-controls="@(i)collapseOne"> <a role="button" data-toggle="collapse" data-parent="#accordion" href="#@(i)collapseOne" aria-controls="@(i)collapseOne">
@Model.Message[i].NotificationType.ToString() @Model.Message[i].NotificationType.ToString()
</a> </a>
</h4> </h4>
</div>
<div id="@(i)collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="@(i)headingOne">
<div class="panel-body">
<div class="form-group">
<label for="@(Model.Message[i])" class="control-label"> @Model.Message[i].NotificationType.ToString() Subject</label>
<div>
<input type="text" class="form-control form-control-custom " id="@(Model.Message[i].Subject)" name="Message[@(i)].Subject" value="@(Model.Message[i].Subject)">
</div>
</div> </div>
<div id="@(i)collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="@(i)headingOne"> <div class="form-group">
<div class="panel-body"> <label for="@(Model.Message[i].Body)" class="control-label">@Model.Message[i].NotificationType.ToString() Body</label>
<div class="form-group"> <div>
<label for="@(Model.Message[i])" class="control-label"> @Model.Message[i].NotificationType.ToString() Subject</label> <input type="text" class="form-control form-control-custom " id="@(Model.Message[i].Body)" name="Message[@(i)].Body" value="@(Model.Message[i].Body)">
<div>
<input type="text" class="form-control form-control-custom " id="@(Model.Message[i].Subject)" name="Message[@(i)].Subject" value="@(Model.Message[i].Subject)">
</div>
</div>
<div class="form-group">
<label for="@(Model.Message[i].Body)" class="control-label">@Model.Message[i].NotificationType.ToString() Body</label>
<div>
<input type="text" class="form-control form-control-custom " id="@(Model.Message[i].Body)" name="Message[@(i)].Body" value="@(Model.Message[i].Body)">
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
}
</div> </div>
</div>
}
</div>*@
<div class="form-group"> <div class="form-group">
<div> <div>

@ -1,7 +1,7 @@
@inherits PlexRequests.UI.Helpers.AngularViewBase @inherits PlexRequests.UI.Helpers.AngularViewBase
<script src="~/Content/app/controllers/userManagement/userManagementController.js"></script> <script src="~/Content/app/userManagement/userManagementController.js"></script>
<script src="~/Content/app/services/userManagement/userManagementService.js"></script> <script src="~/Content/app/userManagement/userManagementService.js"></script>
<div ng-controller="userManagementController" ng-init="getUsers()"> <div ng-controller="userManagementController" ng-init="getUsers()">
<div class="col-md-7"> <div class="col-md-7">
@ -10,10 +10,10 @@
<div ng-show="error.error" ng-bind="error.errorMessage"></div> <div ng-show="error.error" ng-bind="error.errorMessage"></div>
<form ng-submit="addUser()"> <form ng-submit="addUser()">
<div class="form-group"> <div class="form-group">
<input id="username" type="text" placeholder="user" ng-model="user.username" class="form-control-custom" /> <input id="username" type="text" placeholder="user" ng-model="user.username" class="form-control form-control-custom"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<input id="password" type="password" placeholder="password" ng-model="user.password" class="form-control-custom" /> <input id="password" type="password" placeholder="password" ng-model="user.password" class="form-control form-control-custom" />
</div> </div>
<input type="submit" class="btn btn-success-outline" value="Add" /> <input type="submit" class="btn btn-success-outline" value="Add" />
</form> </form>

Loading…
Cancel
Save