|
|
@ -111,7 +111,7 @@ |
|
|
|
<div class="smart-contract-libraries-wrapper js-smart-contract-libraries-wrapper"> |
|
|
|
<div class="smart-contract-libraries-wrapper js-smart-contract-libraries-wrapper"> |
|
|
|
<h2 class="smart-contract-title margin-bottom-md"><%= gettext "Contract Libraries" %></h2> |
|
|
|
<h2 class="smart-contract-title margin-bottom-md"><%= gettext "Contract Libraries" %></h2> |
|
|
|
|
|
|
|
|
|
|
|
<div class="contract-library-form-group active"> |
|
|
|
<div class="contract-library-form-group js-contract-library-form-group active"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library1, gettext("Library Name") %> |
|
|
|
<%= label :external_libraries, :library1, gettext("Library Name") %> |
|
|
@ -133,10 +133,10 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="contract-library-form-group"> |
|
|
|
<div class="contract-library-form-group js-contract-library-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library2, gettext("2 Library Name") %> |
|
|
|
<%= label :external_libraries, :library2, gettext("Library Name") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library2_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library2_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -146,7 +146,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library2, gettext("2 Library Address") %> |
|
|
|
<%= label :external_libraries, :library2, gettext("Library Address") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library2_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library2_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -155,10 +155,10 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="contract-library-form-group"> |
|
|
|
<div class="contract-library-form-group js-contract-library-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library3, gettext("3 Library Name") %> |
|
|
|
<%= label :external_libraries, :library3, gettext("Library Name") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library3_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library3_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -168,7 +168,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library3, gettext("3 Library Address") %> |
|
|
|
<%= label :external_libraries, :library3, gettext("Library Address") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library3_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library3_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -177,10 +177,10 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="contract-library-form-group"> |
|
|
|
<div class="contract-library-form-group js-contract-library-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library4, gettext("4 Library Name") %> |
|
|
|
<%= label :external_libraries, :library4, gettext("Library Name") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library4_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library4_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -190,7 +190,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library4, gettext("4 Library Address") %> |
|
|
|
<%= label :external_libraries, :library4, gettext("Library Address") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library4_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library4_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -199,10 +199,10 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="contract-library-form-group"> |
|
|
|
<div class="contract-library-form-group js-contract-library-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label :external_libraries, :library5, gettext("5 Library Name") %> |
|
|
|
<%= label :external_libraries, :library5, gettext("Library Name") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input :external_libraries, :library5_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input :external_libraries, :library5_name, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -212,7 +212,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<div class="smart-contract-form-group-inner-wrapper"> |
|
|
|
<%= label f, :library5, gettext("5 Library Address") %> |
|
|
|
<%= label f, :library5, gettext("Library Address") %> |
|
|
|
<div class="center-column"> |
|
|
|
<div class="center-column"> |
|
|
|
<%= text_input f, :library5_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
<%= text_input f, :library5_address, class: "form-control border-rounded", "aria-describedby": "contract-name-help-block" %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -220,14 +220,15 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="add-contract-library-wrapper"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="add-contract-library-wrapper js-add-contract-library-wrapper"> |
|
|
|
<span class="btn-line js-btn-add-contract-library">Add Library</span> |
|
|
|
<span class="btn-line js-btn-add-contract-library">Add Library</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="smart-contract-form-buttons"> |
|
|
|
<div class="smart-contract-form-buttons"> |
|
|
|
<button |
|
|
|
<button |
|
|
|
class="d-none px-4 position-absolute button button-primary button-sm mr-2" |
|
|
|
class="position-absolute btn-full-primary d-none mr-2" |
|
|
|
disabled="true" |
|
|
|
disabled="true" |
|
|
|
id="loading" |
|
|
|
id="loading" |
|
|
|
name="button" |
|
|
|
name="button" |
|
|
@ -239,13 +240,14 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<%= gettext("Loading....") %> |
|
|
|
<%= gettext("Loading....") %> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
<%= submit gettext("Verify & publish"), class: "button button-primary button-sm mr-2", "data-loading": "animation" %> |
|
|
|
<%= submit gettext("Verify & publish"), class: "btn-full-primary mr-2", "data-loading": "animation" %> |
|
|
|
<%= reset gettext("Reset"), class: "button button-secondary button-sm mr-2" %> |
|
|
|
<%= reset gettext("Reset"), class: "btn-line mr-2 js-smart-contract-form-reset" %> |
|
|
|
<%= |
|
|
|
<%= |
|
|
|
link( |
|
|
|
link( |
|
|
|
gettext("Cancel"), |
|
|
|
gettext("Cancel"), |
|
|
|
to: address_contract_path(@conn, :index, @conn.params["address_id"]), |
|
|
|
class: "btn-no-border", |
|
|
|
class: "button button-sm") |
|
|
|
to: address_contract_path(@conn, :index, @conn.params["address_id"]) |
|
|
|
|
|
|
|
) |
|
|
|
%> |
|
|
|
%> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|