réplica de
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-11-04 02:32:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			61 líneas
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			61 líneas
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
  <title>Telebit Admin</title>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
  <div class="v-app">
 | 
						|
    <h1>Telebit Admin</h1>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>GET /api/config</h2>
 | 
						|
      <pre><code>{{ config }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>GET /api/status</h2>
 | 
						|
      <pre><code>{{ status }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>POST /api/init</h2>
 | 
						|
      <form v-on:submit.stop.prevent="initialize">
 | 
						|
 | 
						|
        <label for="-email">Email:</label>
 | 
						|
        <input id="-email" v-model="init.email" type="text" placeholder="john@example.com">
 | 
						|
        <br>
 | 
						|
 | 
						|
        <label for="-teletos"><input id="-teletos" v-model="init.teletos" type="checkbox">
 | 
						|
          Accept Telebit Terms of Service</label>
 | 
						|
        <br>
 | 
						|
 | 
						|
        <label for="-letos"><input id="-letos" v-model="init.letos" type="checkbox">
 | 
						|
          Accept Let's Encrypt Terms of Service</label>
 | 
						|
        <br>
 | 
						|
 | 
						|
      </form>
 | 
						|
      <pre><code>{{ init }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>POST /api/http</h2>
 | 
						|
      <pre><code>{{ http }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>POST /api/tcp</h2>
 | 
						|
      <pre><code>{{ tcp }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
    <section>
 | 
						|
      <h2>POST /api/ssh</h2>
 | 
						|
      <pre><code>{{ ssh }}</code></pre>
 | 
						|
    </section>
 | 
						|
 | 
						|
  </div>
 | 
						|
 | 
						|
  <script src="js/vue.js"></script>
 | 
						|
  <script src="js/app.js"></script>
 | 
						|
</body>
 | 
						|
</html>
 |