This file contains hidden or 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
@mixin ax-background($pos, $g1: null, $g2: null) { | |
$pos-type: type-of(nth($pos, 1)); | |
// If $pos is missing from mixin, reassign vars and add default position | |
@if ($pos-type == color) or (nth($pos, 1) == "transparent") { | |
$g2: $g1; | |
$g1: $pos; | |
$pos: to top; | |
} @else if ($g1 == null) { |
This file contains hidden or 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
git rm -rf .idea; git commit -m "delete .idea"; git push; |
This file contains hidden or 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
{ | |
key: "combobox1", label: "combobox1", width: "100", | |
formatter: function () { | |
return this.value.NM; | |
}, | |
editor: { | |
type: "select", | |
optionValue: "CD", | |
optionText: "NM", | |
options: function () { |
This file contains hidden or 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
axboot | |
.call({ | |
type: "GET", url: "/api/v1/programs", data: "", | |
callBack: function (res) { | |
var programList = []; | |
res.list.forEach(function (n) { | |
programList.push({ | |
value: n.progCd, text: n.progNm + "(" + n.progCd + ")", | |
progCd: n.progCd, progNm: n.progNm, | |
data: n |
This file contains hidden or 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
/** | |
* @method ax5grid.addRow | |
* @param {Object} _row | |
* @param {Number|String} [_dindex=last] | |
* @returns {ax5grid} | |
* @example | |
* ```js | |
* ax5Grid.addRow($.extend({}, {...}), "first"); | |
* ``` | |
*/ |
This file contains hidden or 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
$('[data-ax5select="printerGrpId"]').ax5select({ | |
columnKeys: { | |
optionValue: "id", | |
optionText: "groupNm" | |
}, | |
onExpand: function (callback) { | |
if (_this.stores && _this.stores[0]) { | |
axboot.ajax({ | |
type: "GET", | |
url: "/api/v1/printers/groups", |
This file contains hidden or 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
function htmlEncode( html ) { | |
return document.createElement( 'a' ).appendChild( | |
document.createTextNode( html ) ).parentNode.innerHTML; | |
}; | |
function htmlDecode( html ) { | |
var a = document.createElement( 'a' ); a.innerHTML = html; | |
return a.textContent; | |
}; |
This file contains hidden or 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
(function () { | |
if (axboot && axboot.def) { | |
axboot.def["DEFAULT_TAB_LIST"] = [ | |
{menuId: "00-dashboard", id: "dashboard", progNm: '홈', menuNm: '홈', progPh: '/jsp/dashboard.jsp', url: '/jsp/dashboard.jsp?progCd=dashboard', status: "on", fixed: true} | |
]; | |
axboot.def["API"] = { | |
"users": "/api/v1/users", | |
"commonCodes": "/api/v1/commonCodes", |
This file contains hidden or 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
var po = []; | |
po.push("<table>"); | |
$(".operations .heading").each(function(){ | |
po.push("<tr>"); | |
po.push("<td>" + $(this).find(".http_method").text().trim() + "</td>"); | |
po.push("<td>" + $(this).find(".path").text().trim() + "</td>"); | |
po.push("</tr>"); | |
}); | |
po.push("</table>"); |
This file contains hidden or 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
<canvas id="canvas" width="500" height="100"></canvas> |