work
This commit is contained in:
		
							parent
							
								
									462f09e2ce
								
							
						
					
					
						commit
						3221481501
					
				@ -10,15 +10,11 @@
 | 
				
			|||||||
    <link rel="stylesheet" href="style.css" />
 | 
					    <link rel="stylesheet" href="style.css" />
 | 
				
			||||||
  </head>
 | 
					  </head>
 | 
				
			||||||
  <body>
 | 
					  <body>
 | 
				
			||||||
 | 
					    <a href="#" class="js-signin">Login</a>
 | 
				
			||||||
    <div class="app">
 | 
					    <div class="app">
 | 
				
			||||||
      <div class="container">
 | 
					      <div class="container">
 | 
				
			||||||
        <div class="header">
 | 
					        <div class="header">
 | 
				
			||||||
          <h1>cdadmin</h1>
 | 
					          <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>
 | 
				
			||||||
        <div class="section">
 | 
					        <div class="section">
 | 
				
			||||||
          <h2>Production</h2>
 | 
					          <h2>Production</h2>
 | 
				
			||||||
@ -42,51 +38,29 @@
 | 
				
			|||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
          <p>
 | 
					          <p>
 | 
				
			||||||
            <button class="btn btn-primary">Rebuild</button>
 | 
					            <button class="btn btn-primary">Rebuild</button>
 | 
				
			||||||
 | 
					            <button class="btn btn-primary">Promote</button>
 | 
				
			||||||
          </p>
 | 
					          </p>
 | 
				
			||||||
        </section>
 | 
					        </section>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </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@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 src="https://unpkg.com/axios@0.20.0/dist/axios.min.js"></script>
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
      new Vue({
 | 
					      new Vue({
 | 
				
			||||||
        el: '.app',
 | 
					        el: '.app',
 | 
				
			||||||
        components: {
 | 
					        data: {},
 | 
				
			||||||
          'vue-form-generator': VueFormGenerator.component
 | 
					        methods: {
 | 
				
			||||||
        },
 | 
					          login: function (ev) {
 | 
				
			||||||
        data: {
 | 
					            ev.preventDefault();
 | 
				
			||||||
          configuration: {
 | 
					            ev.stopPropagation();
 | 
				
			||||||
            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: {}
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user