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
<!-- Table --> | |
<datatable sortable | |
resource.bind="mold" | |
limit.bind="limit" | |
select.call="selected($event)" | |
columns.bind="moldColumns" | |
actions.bind="actions" | |
repository.bind="moldRepository"> | |
</datatable> |
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
<!-- Bonobo Git Server Interface --> | |
<appSettings> | |
<add key="webpages:Enabled" value="false" /> | |
<add key="ClientValidationEnabled" value="true" /> | |
<add key="UnobtrusiveJavaScriptEnabled" value="true" /> | |
<add key="UserConfiguration" value="C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\config.xml" /> | |
<add key="DefaultRepositoriesDirectory" value="C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Repositories" /> | |
<add key="GitPath" value="C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Git\git.exe" /> | |
<add key="GitServerPath" value="http://%servername%/Bonobo.Git.Server.Interface/" /> |
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
vm.sortTable = sortTable; | |
vm.reverseSort = false; | |
vm.currentPage = 1; | |
vm.numPerPage = 5; | |
vm.maxPageSize = 5; | |
var defaultNumberPerPage = 5; | |
function sortTable(header) { |
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
describe('Sales-new quote form', function () { | |
var attachmentListCount = element(by.id('attachment-list-count')); | |
var quoteNumber = element(by.model('vm.quoteNumber')); | |
var dateOfRFQ = element(by.model('vm.dateOfRFQ')); | |
var customer = element(by.model('vm.customer')); | |
var customerPartNumber = element(by.model('vm.customerPartNumber')); | |
var customerPartNumberRevision = element(by.model('vm.customerPartNumberRevision')); | |
var quantity = element(by.model('vm.quantity')); | |
var lastSalesOrderDate = element(by.model('vm.lastSalesOrderDate')); | |
var lastSalesOrderNumber = element(by.model('vm.lastSalesOrderNumber')); |
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 an explicit call to $scope to reference from the input type='file' onchange event. | |
// Also, using $scope to manually call $apply when 'attachmentList' changes - see addAttachment() | |
$scope.addAttachment = addAttachment; | |
var vm = this; | |
vm.removeAttachment = removeAttachment; | |
vm.attachmentList = []; | |
vm.attachment = {}; |
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
angular.module('app') | |
.factory("authentication", ["$http", "$q", "$window", authentication]); | |
function authentication($http, $q, $window) { | |
var user; | |
function login() { | |
// check if the user already exists for this session |