-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
112 lines (107 loc) · 4.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="">
<title>Arukas Analysis </title>
<!--jQuery-->
<script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<!--Vue-->
<script src="//cdn.bootcss.com/vue/2.1.5/vue.js"></script>
<script src="//cdn.bootcss.com/vue-resource/1.0.3/vue-resource.js"></script>
<!-- Bootstrap core CSS -->
<link href="//v3.bootcss.com/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="//v3.bootcss.com/examples/starter-template/starter-template.css" rel="stylesheet">
<!--layer-->
<script src="//cdn.bootcss.com/layer/3.0.1/layer.min.js"></script>
<!--crypto-js-->
<script src="//cdn.bootcss.com/crypto-js/3.1.9/crypto-js.js"></script>
<!--qrcode-->
<script src="//cdn.bootcss.com/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
</head>
<body>
<div id="app">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">arukas解析</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#" @click="lmsg()">About</a></li>
<li><a href="https://github.com/bestK/ssincurl" target="_blank">Contact</a></li>
</ul>
</div>
</div>
</nav>
<div class="container" style="padding-top:30px">
<div v-show="!configs">
<form role="form" style="margin-bottom:66px">
<div class="form-group">
<label for="email">Email address</label>
<input type="email" class="form-control" v-model.trim="email">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" v-model.trim="password">
</div>
<button type="button" class="btn btn-default" @click="newConfig">Submit</button>
</form>
<b>初衷</b>
<p>IP||Port天天变,好烦啊</p>
<b>支持的功能</b>
<p>根据你自己的帐号密码,直接获取arukasr容器的格式化IP与端口</p>
</div>
<table class="table table-hover table-bordered" v-show="configs">
<tr>
<td>容器IP</td>
<td v-for="conf in configs">{{conf.host}}</td>
</tr>
<tr>
<td>映射端口</td>
<td v-for="conf in configs">{{conf.service_port}}</td>
</tr>
<tr>
<td>实际端口</td>
<td v-for="conf in configs">{{conf.container_port}}</td>
</tr>
<tr>
<td>CMD</td>
<td v-for="conf in configs">{{conf.cmd}}</td>
</tr>
<tr>
<td>Result</td>
<td v-for="conf in configs">
<div :id="conf.service_port">
<input type="text" :value="conf.ss_url">
<button class="btn btn-info" style="margin-bottom: 2px" @click="showQrCode(conf.ss_url,conf.service_port)">显示二维码</button>
</div>
</td>
</tr>
</table>
<button type="button" class="btn btn-default abc" v-show="configs" @click="clearForm">返回</button>
</div><!-- /.container --> <!-- 在真实开发中较长的内容,我们应当注释闭标签 -->
</div>
<script type="text/javascript" src="./js/app.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//v3.bootcss.com/dist/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="//v3.bootcss.com/assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>