Skip to content

Commit

Permalink
Minor Changes added
Browse files Browse the repository at this point in the history
  • Loading branch information
AnilChinchawale committed Aug 21, 2019
1 parent 6f9ecd0 commit 3fcb35e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 28 deletions.
41 changes: 17 additions & 24 deletions build/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -278907,15 +278907,12 @@ function (_ViewPlugin) {
var _this2 = this,
_,
_div3,
_btn,
_btn2,
_div4,
_div5,
_div6,
_h,
_btn3,
_btn4,
_div7,
_btn,
_btn2,
_div6,
_mb_,
_h2,
_p,
Expand All @@ -278924,12 +278921,12 @@ function (_ViewPlugin) {
_mb_2,
_p2,
_mb_3,
_btn3,
_btn4,
_btn5,
_btn6,
_btn7,
_btn8,
_btn9,
_btn10,
_btnGroup,
_file,
_col,
Expand All @@ -278941,7 +278938,7 @@ function (_ViewPlugin) {
_mb_5,
_plugins,
_col2,
_div8,
_div7,
_3;

var load = function load(service, item, examples, info) {
Expand Down Expand Up @@ -279050,43 +279047,39 @@ function (_ViewPlugin) {
document.location.reload();
};

var container = (_3 = document.createElement("div"), _3.setAttribute("class", "" + String(css.homeContainer) + " bg-light"), _appendChild(_3, [" ", (_div6 = document.createElement("div"), _appendChild(_div6, [" ", (_div5 = document.createElement("div"), _div5.setAttribute("class", "alert alert-info clearfix " + String(css.thisJumboton) + ""), _appendChild(_div5, [" ", (_div3 = document.createElement("div"), _div3.setAttribute("class", "" + String(css.headlineContainer) + ""), _appendChild(_div3, [" ", (_ = document.createElement("h2"), _.setAttribute("class", ""), _.appendChild(document.createTextNode("The new layout has arrived")), _), " "]), _div3), " ", (_div4 = document.createElement("div"), _div4.setAttribute("class", "" + String(css.jumboBtnContainer) + " px-5"), _appendChild(_div4, [" ", (_btn = document.createElement("button"), _btn.setAttribute("href", "#"), _btn.onclick = function () {
learnMore();
}, _btn.setAttribute("role", "button"), _btn.setAttribute("class", "btn btn-primary btn-lg mx-3"), _btn.appendChild(document.createTextNode("Learn more")), _btn), " ", (_btn2 = document.createElement("button"), _btn2.onclick = function () {
switchToPreviousVersion();
}, _btn2.setAttribute("class", "btn btn-secondary btn-lg"), _btn2.appendChild(document.createTextNode("Use previous version")), _btn2), " "]), _div4), " "]), _div5), document.createComment(" end of jumbotron "), " "]), _div6), document.createComment(" end of jumbotron container "), " ", (_div8 = document.createElement("div"), _div8.setAttribute("class", "row " + String(css.hpSections) + ""), _appendChild(_div8, [" ", (_col = document.createElement("div"), _col.setAttribute("id", "col1"), _col.setAttribute("class", "col-sm-6"), _appendChild(_col, [" ", (_mb_ = document.createElement("div"), _mb_.setAttribute("class", "mb-5"), _appendChild(_mb_, [" ", (_h = document.createElement("h4"), _h.appendChild(document.createTextNode("Environments")), _h), " ", (_div7 = document.createElement("div"), _div7.setAttribute("class", "" + String(css.enviroments) + " pt-2"), _appendChild(_div7, [" ", (_btn3 = document.createElement("button"), _btn3.onclick = function () {
var container = (_3 = document.createElement("div"), _3.setAttribute("class", "" + String(css.homeContainer) + " bg-light"), _appendChild(_3, [" ", (_div5 = document.createElement("div"), _appendChild(_div5, [" ", (_div4 = document.createElement("div"), _div4.setAttribute("class", "alert alert-info clearfix " + String(css.thisJumboton) + ""), _appendChild(_div4, [" ", (_div3 = document.createElement("div"), _div3.setAttribute("class", "" + String(css.headlineContainer) + ""), _appendChild(_div3, [" ", (_ = document.createElement("h2"), _.setAttribute("class", ""), _.appendChild(document.createTextNode("The new layout has arrived")), _), " "]), _div3), " "]), _div4), document.createComment(" end of jumbotron "), " "]), _div5), document.createComment(" end of jumbotron container "), " ", (_div7 = document.createElement("div"), _div7.setAttribute("class", "row " + String(css.hpSections) + ""), _appendChild(_div7, [" ", (_col = document.createElement("div"), _col.setAttribute("id", "col1"), _col.setAttribute("class", "col-sm-6"), _appendChild(_col, [" ", (_mb_ = document.createElement("div"), _mb_.setAttribute("class", "mb-5"), _appendChild(_mb_, [" ", (_h = document.createElement("h4"), _h.appendChild(document.createTextNode("Environments")), _h), " ", (_div6 = document.createElement("div"), _div6.setAttribute("class", "" + String(css.enviroments) + " pt-2"), _appendChild(_div6, [" ", (_btn = document.createElement("button"), _btn.onclick = function () {
startSolidity();
}, _btn3.setAttribute("class", "btn btn-lg btn-secondary mr-3"), _btn3.appendChild(document.createTextNode("Solidity")), _btn3), " ", (_btn4 = document.createElement("button"), _btn4.onclick = function () {
}, _btn.setAttribute("class", "btn btn-lg btn-secondary mr-3"), _btn.appendChild(document.createTextNode("Solidity")), _btn), " ", (_btn2 = document.createElement("button"), _btn2.onclick = function () {
startVyper();
}, _btn4.setAttribute("class", "btn btn-lg btn-secondary"), _btn4.appendChild(document.createTextNode("Vyper")), _btn4), " "]), _div7), " "]), _mb_), " ", (_file = document.createElement("div"), _file.setAttribute("class", "file"), _appendChild(_file, [" ", (_h2 = document.createElement("h4"), _h2.appendChild(document.createTextNode("File")), _h2), " ", (_p = document.createElement("p"), _p.onclick = function () {
}, _btn2.setAttribute("class", "btn btn-lg btn-secondary"), _btn2.appendChild(document.createTextNode("Vyper")), _btn2), " "]), _div6), " "]), _mb_), " ", (_file = document.createElement("div"), _file.setAttribute("class", "file"), _appendChild(_file, [" ", (_h2 = document.createElement("h4"), _h2.appendChild(document.createTextNode("File")), _h2), " ", (_p = document.createElement("p"), _p.onclick = function () {
createNewFile();
}, _p.setAttribute("class", "mb-1 " + String(css.text) + ""), _p.appendChild(document.createTextNode("New File")), _p), " ", (_mb_2 = document.createElement("p"), _mb_2.setAttribute("class", "mb-1"), _appendChild(_mb_2, [" ", (_2 = document.createElement("label"), _2.setAttribute("class", "" + String(css.labelIt) + " " + String(css.text) + ""), _appendChild(_2, [" Open Files ", (_input = document.createElement("input"), _input.setAttribute("title", "open file"), _input.setAttribute("type", "file"), _input.onchange = function (event) {
event.stopPropagation();
var fileExplorer = globalRegistry.get('fileexplorer/browser').api;
fileExplorer.uploadFile(event);
}, _input.setAttribute("multiple", "multiple"), _input), " "]), _2), " "]), _mb_2), " ", (_p2 = document.createElement("p"), _p2.onclick = function () {
connectToLocalhost();
}, _p2.setAttribute("class", "mb-1 " + String(css.text) + ""), _p2.appendChild(document.createTextNode("Connect to Localhost")), _p2), " ", (_mb_3 = document.createElement("p"), _mb_3.setAttribute("class", "mb-1"), _mb_3.appendChild(document.createTextNode("Import From:")), _mb_3), " ", (_btnGroup = document.createElement("div"), _btnGroup.setAttribute("class", "btn-group"), _appendChild(_btnGroup, [" ", (_btn5 = document.createElement("button"), _btn5.onclick = function () {
}, _p2.setAttribute("class", "mb-1 " + String(css.text) + ""), _p2.appendChild(document.createTextNode("Connect to Localhost")), _p2), " ", (_mb_3 = document.createElement("p"), _mb_3.setAttribute("class", "mb-1"), _mb_3.appendChild(document.createTextNode("Import From:")), _mb_3), " ", (_btnGroup = document.createElement("div"), _btnGroup.setAttribute("class", "btn-group"), _appendChild(_btnGroup, [" ", (_btn3 = document.createElement("button"), _btn3.onclick = function () {
importFromGist();
}, _btn5.setAttribute("class", "btn btn-sm btn-secondary"), _btn5.appendChild(document.createTextNode("Gist")), _btn5), " ", (_btn6 = document.createElement("button"), _btn6.onclick = function () {
}, _btn3.setAttribute("class", "btn btn-sm btn-secondary"), _btn3.appendChild(document.createTextNode("Gist")), _btn3), " ", (_btn4 = document.createElement("button"), _btn4.onclick = function () {
load('Github', 'github URL', ['https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol', 'https://github.com/OpenZeppelin/openzeppelin-solidity/blob/67bca857eedf99bf44a4b6a0fc5b5ed553135316/contracts/access/Roles.sol', 'github:OpenZeppelin/openzeppelin-solidity/contracts/ownership/Ownable.sol#v2.1.2']);
}, _btn6.setAttribute("class", "btn btn-sm btn-secondary"), _btn6.appendChild(document.createTextNode("GitHub")), _btn6), " ", (_btn7 = document.createElement("button"), _btn7.onclick = function () {
}, _btn4.setAttribute("class", "btn btn-sm btn-secondary"), _btn4.appendChild(document.createTextNode("GitHub")), _btn4), " ", (_btn5 = document.createElement("button"), _btn5.onclick = function () {
load('Swarm', 'bzz-raw URL', ['bzz-raw://<swarm-hash>']);
}, _btn7.setAttribute("class", "btn btn-sm btn-secondary"), _btn7.appendChild(document.createTextNode("Swarm")), _btn7), " ", (_btn8 = document.createElement("button"), _btn8.onclick = function () {
}, _btn5.setAttribute("class", "btn btn-sm btn-secondary"), _btn5.appendChild(document.createTextNode("Swarm")), _btn5), " ", (_btn6 = document.createElement("button"), _btn6.onclick = function () {
load('Ipfs', 'ipfs URL', ['ipfs://<ipfs-hash>']);
}, _btn8.setAttribute("class", "btn btn-sm btn-secondary"), _btn8.appendChild(document.createTextNode("Ipfs")), _btn8), " ", (_btn9 = document.createElement("button"), _btn9.onclick = function () {
}, _btn6.setAttribute("class", "btn btn-sm btn-secondary"), _btn6.appendChild(document.createTextNode("Ipfs")), _btn6), " ", (_btn7 = document.createElement("button"), _btn7.onclick = function () {
load('Https', 'http/https raw content', ['https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/master/contracts/crowdsale/validation/IndividuallyCappedCrowdsale.sol']);
}, _btn9.setAttribute("class", "btn btn-sm btn-secondary"), _btn9.appendChild(document.createTextNode("https")), _btn9), " ", (_btn10 = document.createElement("button"), _btn10.onclick = function () {
}, _btn7.setAttribute("class", "btn btn-sm btn-secondary"), _btn7.appendChild(document.createTextNode("https")), _btn7), " ", (_btn8 = document.createElement("button"), _btn8.onclick = function () {
var _textPrimary, _span2;

load('@resolver-engine', 'resolver-engine URL', ['github:OpenZeppelin/openzeppelin-solidity/contracts/ownership/Ownable.sol#v2.1.2'], (_span2 = document.createElement("span"), _appendChild(_span2, ["please checkout ", (_textPrimary = document.createElement("a"), _textPrimary.setAttribute("href", "https://github.com/Crypto-Punkers/resolver-engine"), _textPrimary.setAttribute("target", "_blank"), _textPrimary.setAttribute("class", "text-primary"), _textPrimary.appendChild(document.createTextNode("https://github.com/Crypto-Punkers/resolver-engine")), _textPrimary), " for more information"]), _span2));
}, _btn10.setAttribute("class", "btn btn-sm btn-secondary"), _btn10.appendChild(document.createTextNode("Resolver-engine")), _btn10), " "]), _btnGroup), document.createComment(" end of btn-group "), " "]), _file), document.createComment(" end of div.file "), " "]), _col), document.createComment(" end of #col1 "), " ", (_col2 = document.createElement("div"), _col2.setAttribute("id", "col2"), _col2.setAttribute("class", "col-sm-6"), _appendChild(_col2, [" ", (_plugins = document.createElement("div"), _plugins.setAttribute("class", "plugins mb-5"), _appendChild(_plugins, [" ", (_h3 = document.createElement("h4"), _h3.appendChild(document.createTextNode("Featured Plugins")), _h3), " ", (_p3 = document.createElement("p"), _p3.onclick = function () {
}, _btn8.setAttribute("class", "btn btn-sm btn-secondary"), _btn8.appendChild(document.createTextNode("Resolver-engine")), _btn8), " "]), _btnGroup), document.createComment(" end of btn-group "), " "]), _file), document.createComment(" end of div.file "), " "]), _col), document.createComment(" end of #col1 "), " ", (_col2 = document.createElement("div"), _col2.setAttribute("id", "col2"), _col2.setAttribute("class", "col-sm-6"), _appendChild(_col2, [" ", (_plugins = document.createElement("div"), _plugins.setAttribute("class", "plugins mb-5"), _appendChild(_plugins, [" ", (_h3 = document.createElement("h4"), _h3.appendChild(document.createTextNode("Featured Plugins")), _h3), " ", (_p3 = document.createElement("p"), _p3.onclick = function () {
startPipeline();
}, _p3.setAttribute("class", "mb-1 " + String(css.text) + ""), _p3.appendChild(document.createTextNode("Pipeline")), _p3), " ", (_mb_4 = document.createElement("p"), _mb_4.onclick = function () {
startDebugger();
}, _mb_4.setAttribute("class", "mb-1 " + String(css.text) + ""), _mb_4.appendChild(document.createTextNode("Debugger")), _mb_4), " ", (_mb_5 = document.createElement("p"), _mb_5.setAttribute("class", "mb-1"), _appendChild(_mb_5, [" ", (_button = document.createElement("button"), _button.onclick = function () {
startPluginManager();
}, _button.setAttribute("class", "btn btn-sm btn-secondary " + String(css.seeAll) + ""), _appendChild(_button, [" See all Plugins ", (_fas = document.createElement("i"), _fas.setAttribute("class", "fas fa-plug p-1"), _fas), " "]), _button), " "]), _mb_5), " "]), _plugins), " "]), _col2), document.createComment(" end of #col2 "), " "]), _div8), document.createComment(" end of hpSections "), " "]), _3);
}, _button.setAttribute("class", "btn btn-sm btn-secondary " + String(css.seeAll) + ""), _appendChild(_button, [" See all Plugins ", (_fas = document.createElement("i"), _fas.setAttribute("class", "fas fa-plug p-1"), _fas), " "]), _button), " "]), _mb_5), " "]), _plugins), " "]), _col2), document.createComment(" end of #col2 "), " "]), _div7), document.createComment(" end of hpSections "), " "]), _3);
return container;
}
}]);
Expand Down
4 changes: 0 additions & 4 deletions src/app/ui/landing-page/landing-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ export class LandingPage extends ViewPlugin {
<div class="${css.headlineContainer}">
<h2 class="">The new layout has arrived</h2>
</div>
<div class="${css.jumboBtnContainer} px-5">
<button class="btn btn-primary btn-lg mx-3" href="#" onclick=${() => { learnMore() }} role="button">Learn more</button>
<button class="btn btn-secondary btn-lg" onclick=${() => { switchToPreviousVersion() }}>Use previous version</button>
</div>
</div><!-- end of jumbotron -->
</div><!-- end of jumbotron container -->
<div class="row ${css.hpSections}">
Expand Down

0 comments on commit 3fcb35e

Please sign in to comment.