-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpriorities.aspx
34 lines (32 loc) · 1.55 KB
/
priorities.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<%@ Page Title="Priorities" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeFile="priorities.aspx.cs" Inherits="Priorities" %>
<asp:Content ID="HeadContentData" ContentPlaceHolderID="HeaddContent" runat="server">
<%=System.Web.Optimization.Styles.Render("~/bundles/priorities_css")%>
<%=System.Web.Optimization.Scripts.Render("~/bundles/priorities_js")%>
<script src="<%=Settings.CurrentSettings.ANGULARCDN.ToString()%>angular.min.js"></script>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server" EnableViewState="false">
<div ng-app="mpsapplication" ng-controller="mpscontroller">
<div class="alert alert-danger savebutton btn-group-vertical" ng-cloak ng-show="changed">
<button type="button" class="btn btn-lg btn-info" ng-click="save()">Save</button>
<button type="button" class="btn btn-lg btn-danger" ng-click="discard()">Discard</button>
</div>
<div class="table-responsive">
<table class="table table-hover table-bordered">
<thead class="thead-dark">
<tr class="info">
<th>Type name</th>
<th>Order</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="r in refs" class="{{r.changed?'data-changed':''}}">
<td>
<input class="intable-data-input" type="text" ng-model="r.DESCR" ng-change="itemchanged(r)"></td>
<td>
<input class="intable-data-input" type="number" min="1" max="999" ng-model="r.FORDER" ng-change="itemchanged(r)"></td>
</tr>
</tbody>
</table>
</div>
</div>
</asp:Content>