work
This commit is contained in:
parent
462f09e2ce
commit
3221481501
|
@ -10,15 +10,11 @@
|
|||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<a href="#" class="js-signin">Login</a>
|
||||
<div class="app">
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>cdadmin</h1>
|
||||
<p>
|
||||
<a href="status.html">Status</a>
|
||||
<a href="merge.html">Merge</a>
|
||||
<a href="configure.html">Configure</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="section">
|
||||
<h2>Production</h2>
|
||||
|
@ -42,51 +38,29 @@
|
|||
</p>
|
||||
<p>
|
||||
<button class="btn btn-primary">Rebuild</button>
|
||||
<button class="btn btn-primary">Promote</button>
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pocket"></div>
|
||||
<script src="https://mock.pocketid.app/pocket/consumer.js"></script>
|
||||
<script>
|
||||
document.body
|
||||
.querySelector('.js-signin')
|
||||
.addEventListener('click', Pocket.openSignin);
|
||||
</script>
|
||||
<script src="https://unpkg.com/vue@2.6.12/dist/vue.js"></script>
|
||||
<script src="https://unpkg.com/vue-form-generator@2.3.4/dist/vfg.js"></script>
|
||||
<script src="https://unpkg.com/axios@0.20.0/dist/axios.min.js"></script>
|
||||
<script>
|
||||
new Vue({
|
||||
el: '.app',
|
||||
components: {
|
||||
'vue-form-generator': VueFormGenerator.component
|
||||
},
|
||||
data: {
|
||||
configuration: {
|
||||
repository: '',
|
||||
production: '',
|
||||
staging: ''
|
||||
},
|
||||
schema: {
|
||||
fields: [
|
||||
{
|
||||
type: 'input',
|
||||
inputType: 'text',
|
||||
label: 'Repository',
|
||||
model: 'repository',
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
inputType: 'text',
|
||||
label: 'Production Branch',
|
||||
model: 'production',
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
inputType: 'text',
|
||||
label: 'Staging Branch',
|
||||
model: 'staging',
|
||||
required: true
|
||||
}
|
||||
]
|
||||
},
|
||||
formOptions: {}
|
||||
data: {},
|
||||
methods: {
|
||||
login: function (ev) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue