Repo home: http://scm.jolera.com/halton/halton-central
Repo: http://scm.jolera.com/halton/halton-central.git
- SharePoint 2013, connected to SQL Server.
clicks.onValue((() => { | |
let states = [ init ] | |
$(`reset`).click(() => { | |
states = [ init ] | |
$(`cell, message`).html(``) | |
}) | |
return event => { // observe click stream | |
const cell = event.target.dataset // clicked cell |
var bitcore = require('bitcore') | |
var request = require('request') | |
//console.log(new bitcore.PrivateKey()) | |
// get address | |
// setInterval(getPrice, 5000) | |
// | |
// function getPrice () { | |
// request |
Repo home: http://scm.jolera.com/halton/halton-central
Repo: http://scm.jolera.com/halton/halton-central.git
function $folder ($http) { | |
var headers = {'Accept': 'application/json;odata=verbose'} | |
, getFolders = function (url) { | |
return $http({ | |
method: 'GET' | |
, url: url | |
, headers: headers | |
}) | |
.then(function (response) { |
/* | |
.leftCol { | |
float:left | |
}*/ | |
.CSN-PDC-map | |
#map { | |
background:url(http://d2mxabrykbl1km.cloudfront.net/img/map_shadow.png) no-repeat 50% 100%; | |
padding-bottom:30px; | |
-moz-border-radius:5px 5px 0 0; |
/*************************/ | |
/* **[[GLOBAL STYLES]]** */ | |
/*************************/ | |
body { | |
background-color:#272625 | |
} | |
a,a:visited,tr.ms-vb2 { | |
color:#fff | |
} |
function $list ($http) { | |
var headers = {'Accept': 'application/json;odata=verbose'} | |
, getList = function (listName, options) { | |
var site = options && options.site && '/' + options.site || ''; | |
return $http({ | |
method: 'GET' | |
, url: site + '/_api/web/lists/getByTitle(\'' + listName + '\')' | |
, headers: headers |
<%@Master language="C#"%> | |
<%@Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> | |
<%@Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> | |
<%@Register TagPrefix="wssucmui" TagName="MUISelector" Src="~/_controltemplates/15/MUISelector.ascx"%> | |
<%@Register TagPrefix="wssuc" TagName="Welcome" Src="~/_controltemplates/15/Welcome.ascx"%> | |
<%@Register TagPrefix="SearchWC" Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> | |
<%@Register TagPrefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> | |
<%@Register TagPrefix=" |
[ | |
{ | |
"userId": "F7B21BB4-B2F3-4382-81DE-8778ECF2AF84", | |
"begin": 6, | |
"donateNow": 4512, | |
"loginTime": 1428507997602, | |
"loggedIn": 6618, | |
"newDonation": 15305, | |
"payrollSelected": 25041, | |
"notPerpertualSelected": 29090, |
function $web ($http) { | |
var post = function (method, data) { | |
$http({ | |
method: 'POST' | |
, url: '/_layouts/15/CSN.SharePoint/CSNWebMethods.aspx/' + method | |
, headers: {'X-RequestDigest': $('[name="__REQUESTDIGEST"]').val()} | |
, data: data | |
}) | |
.then(function () { | |
console.log('Post success!'); |