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
# | |
# given an array of hash refs return a structure that is designed to used | |
# by one of IC's looping tags via the "list" attribute | |
# | |
sub make_itl_loop_struct { | |
my $self = shift; | |
my $data = shift; | |
unless (defined $data) { | |
Vend::Exception::ArgumentMissing->throw('data arg not provided'); |
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
Management Area | |
{ | |
"comboBase":"/combo?", | |
"root":"ic/vendor/yui3/build/", | |
"base":"/ic/vendor/yui3/build/", | |
"combine":true, | |
"insertBefore":"styleoverrides", | |
"groups":{ | |
"gallery":{ |
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
{ | |
"filter":"raw", | |
"comboBase":"/combo?", | |
"root":"ic/vendor/yui3/build/", | |
"base":"/ic/vendor/yui3/build/", | |
"combine":true, | |
"insertBefore":"styleoverrides", | |
"groups":{ | |
"gallery":{ | |
"combine":true, |
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
Per System: | |
open iptables to camp port ranges | |
set up Interchange::Deployment | |
set up camps | |
git clone | |
useradd camp | |
groupadd camp | |
createuser -PE camp | |
createdb camp |
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
Y.MakeNode.prototype._templateHandlers["@@"] = function (args) { | |
args = this._parseMakeNodeArgs(args); | |
if (args.length !== 2 || args[0] === "" || args[1] === "") { | |
return; | |
} | |
var av = this.get(args[0]); | |
if (! av) { | |
return; | |
} | |
return av.get(args[1]); |
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
// use as follows (can be combined) | |
{ | |
ATTRS: { | |
total: { value: 0, toJSON: false }, | |
lines: { value: null, setter: '_setML', mlClass: Y.App.Manage.ML.Lines } | |
} | |
} | |
// base class definition |
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
{? {n @ model @ id} {n @ model @ id} "<select class={c supplierSelect}><option value=>{s choose_one_option_label}</option></select>"} |
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
sub get_subtree { | |
my ($self, %opt) = @_; | |
my (@load, %referents, @top_nodes, @tree, %map, $db, $nodes); | |
$nodes = delete $opt{work_chart_nodes}; | |
$db = $opt{db} || $self->init_db; | |
%map = map { | |
$_->db( undef ); | |
$_->children( [] ); |
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
YUI.add( | |
"ep-w-work_entry-duration-base", | |
function (Y) { | |
var Clazz = Y.namespace("EP.W.WorkEntry.Duration").Base = Y.Base.create( | |
"ep-w-work_entry-duration-base", | |
Y.Widget, | |
[ Y.MakeNode, Y.IC.ModelConsumer ], | |
{ | |
BOUNDING_TEMPLATE: '<tr></tr>', | |
CONTENT_TEMPLATE: null, |
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
YUI.add( | |
"ep-w-work_entry-base", | |
function (Y) { | |
var UI = Y.Widget.UI_SRC; | |
var MODE = "Mode"; | |
var STATUS = "Status"; | |
var WC_AC_SOURCE = "WorkChart/ac?"; | |
var Clazz = Y.namespace("EP.W.WorkEntry").Base = Y.Base.create( |