update tos html

This commit is contained in:
ntr 2019-10-10 15:33:12 +11:00
parent 4b7eecd4f4
commit 91f01ff799
4 changed files with 10 additions and 1128 deletions

View File

@ -13,6 +13,8 @@ rm -rf dist
npm i
npm run build
cp tos.html dist/
# echo "Building acp version $VERSION"
# cd $MNML_PATH/acp
# rm -rf dist

View File

@ -137,6 +137,10 @@ section {
grid-template-columns: 1fr 1fr;
grid-template-rows: min-content 1fr;
button {
cursor: default;
}
.colour-info {
grid-area: vinfo;
display: flex;

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,6 @@ const { Component } = require('preact')
const { connect } = require('preact-redux');
const linkState = require('linkstate').default;
const tos = require('./tos');
const { postData, errorToast, infoToast } = require('../utils');
const addState = connect(
@ -81,7 +80,7 @@ function Register(args) {
onInput={linkState(this, 'terms')
}/>
  Confirm agreement to terms of service  
<button onClick={tos}> VIEW </button>
<button onClick={() => window.open('/tos.html')}>VIEW</button>
</div>
<button
class="login-btn"