-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
35,934 additions
and
819 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
body { | ||
text-align: center; | ||
font-family: sans; | ||
#is-art { | ||
width: 75vmin; | ||
height: 75vmin; | ||
position: absolute; | ||
top:0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
margin: auto; | ||
} | ||
|
||
h1 { | ||
#is-art h1 { | ||
font-family: 'Open Sans', sans-serif; | ||
text-align: center; | ||
font-size: 72pt; | ||
} | ||
|
||
#is_art { | ||
position: absolute; | ||
top: 50%; left: 50%; width: 500px; height: 600px; | ||
margin: -200px 0 0 -250px; | ||
#is-art-status { | ||
color: #550000; | ||
} | ||
|
||
#status { | ||
color: #550000; | ||
#is-art-gui { | ||
width: 440px; | ||
height: 300px; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,60 @@ | ||
<head> | ||
<title>Is This Contract Art?</title> | ||
</head> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Is This Contract Art?</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:700" | ||
rel="stylesheet"> | ||
<link href="../../shared/css/bootstrap.css" | ||
rel="stylesheet"> | ||
<link href="../../shared/css/shared.css" | ||
rel="stylesheet"> | ||
<link href="is-art.css" | ||
rel="stylesheet"> | ||
</head> | ||
<body> | ||
<div id="updating">Updating...</div> | ||
|
||
<body> | ||
{{> is_art }} | ||
{{> dapp_modalPlaceholder}} | ||
</body> | ||
<div id="status"></div> | ||
|
||
<template name="is_art"> | ||
<h1 id="is_art">This contract <span id="status">{{ status }}</span> art</h1> | ||
</template> | ||
<div id="representation"> | ||
<div id="is-art"> | ||
<h1>This<br> | ||
contract<br> | ||
<span id="is-art-status">may be</span> art</h1> | ||
</div> | ||
</div> | ||
|
||
<template name="toggle_is_art"> | ||
<h2>Toggle this contract's status as art</h2> | ||
<h3>Pay gas from account:</h3> | ||
{{> dapp_selectAccount accounts=my_accounts}} | ||
</template> | ||
<!-- Here so we don't have to try to click outside the represenation. --> | ||
<div id="background" onclick="Shared.showGui(event, -1)"></div> | ||
|
||
<div id="is-art-gui" class="gui"> | ||
<h2>Toggle</h2> | ||
<form> | ||
<div class="form-group"> | ||
<label for="gui-gas-account">Account to pay gas from</label> | ||
<select class="form-control" id="gui-gas-account"></select> | ||
</div> | ||
<button type="button" class="btn btn-primary" | ||
onClick="IsArt.userSelectedUpdate()">Update</button> | ||
| ||
<button type="button" class="btn btn-default" | ||
onClick="IsArt.userSelectedCancel()">Cancel</button> | ||
</form> | ||
<br> | ||
<p><b><i>Note that toggling the status of the contract will cost | ||
gas!</i></b></p> | ||
<p>To toggle the status of the contract, press "Update".</p> | ||
<p>Otherwise, just press "Cancel".</p> | ||
</div> | ||
|
||
<script src="../../shared/js/jquery.js"></script> | ||
<script src="../../shared/js/bootstrap.js"></script> | ||
<script src="../../shared/js/web3.js"></script> | ||
<script src="../../shared/js/shared.js"></script> | ||
<script src="IsArt.sol.js"></script> | ||
<script src="is-art.js"></script> | ||
</body> | ||
</html> |
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
Oops, something went wrong.