forked from Nyovelt/ShanghaiTech_DT_Fridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
133 lines (103 loc) · 3.67 KB
/
Copy pathindex.html
File metadata and controls
133 lines (103 loc) · 3.67 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
<title>EHS test</title>
<!-- CSS -->
<script type="text/javascript" src="./js/LabelPrintAPI-1.1.0.min.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="./css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
<link href="./css/style.css" type="text/css" rel="stylesheet" media="screen,projection" />
</head>
<style type="text/css">
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
main {
flex: 1 0 auto;
}
</style>
<script>
function textModify() {
var obj = document.getElementById("p");
// alert(obj.innerHTML);
obj.innerHTML = "test/test kg";
}
</script>
<body>
<nav class="light-blue lighten-1" role="navigation">
<div class="nav-wrapper container"><a id="logo-container" href="#" class="brand-logo">EHS</a>
<ul class="right hide-on-med-and-down">
<li><a href="#">admin</a></li>
</ul>
<ul id="nav-mobile" class="side-nav">
<li><a href="#">admin</a></li>
</ul>
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
</div>
</nav>
<main>
<div class="section no-pad-bot" id="index-banner">
<div class="container">
<br><br>
<h1 class="header center orange-text">磅数</h1>
<div class="row center">
<h5 class="header col s12 light" id="p">请按下按钮,并在下面的提示框中输入信息即可。</h5>
</div>
<div class="row center"><a href="#" id="download-button" class="btn-large waves-effect waves-light orange"
onclick="textModify()">显示</a>
</div>
<!-- <input type="button" value="打印文本" onclick="printText()"/> -->
</div>
</div>
</main>
<div class="container">
<div class="section">
</div>
<br><br>
<div class="section">
</div>
</div>
<footer class="page-footer orange ">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">EHS</h5>
</div>
<div class="col l3 s12">
<!-- <h5 class="white-text">Settings</h5>
<ul>
<li><a class="white-text" href="#!">Link 1</a></li>
<li><a class="white-text" href="#!">Link 2</a></li>
<li><a class="white-text" href="#!">Link 3</a></li>
<li><a class="white-text" href="#!">Link 4</a></li>
</ul> -->
</div>
<div class="col l3 s12">
<h5 class="white-text">Connect</h5>
<ul>
<!-- <li><a class="white-text" href="#!">2019级新生群</a></li>
<li><a class="white-text" href="#!">公共服务处</a></li>
<li><a class="white-text" href="#!">团委</a></li> -->
<li><a class="white-text" href="https://www.geekpie.club">GeekPie Association</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Made by <a class="orange-text text-lighten-3" href="http://materializecss.com">Materialize</a> and Modified by
<a class="orange-text text-lighten-3" href="https://github.com/nyovelt">nyovelt</a>
Version: 2020/7/22.2
</div>
</div>
</footer>
<!-- Scripts-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="./js/materialize.js"></script>
<script src="./js/init.js"></script>
</body>
</html>