Change bytecdntp to staticfile
This commit is contained in:
		
							parent
							
								
									cbef1fcf8a
								
							
						
					
					
						commit
						3d4f3af686
					
				
							
								
								
									
										6
									
								
								resource/template/common/footer.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								resource/template/common/footer.html
									
									
									
									
										vendored
									
									
								
							@ -6,10 +6,10 @@
 | 
				
			|||||||
            {{.Version}}</small>
 | 
					            {{.Version}}</small>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					<script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.4.1/semantic.min.js"></script>
 | 
					<script src="https://cdn.staticfile.org/semantic-ui/2.4.1/semantic.min.js"></script>
 | 
				
			||||||
<script src="/static/semantic-ui-alerts.min.js"></script>
 | 
					<script src="/static/semantic-ui-alerts.min.js"></script>
 | 
				
			||||||
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>
 | 
					<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
 | 
				
			||||||
<script src="/static/main.js?v20220518"></script>
 | 
					<script src="/static/main.js?v20220518"></script>
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
    (function () {
 | 
					    (function () {
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								resource/template/common/header.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								resource/template/common/header.html
									
									
									
									
										vendored
									
									
								
							@ -9,8 +9,8 @@
 | 
				
			|||||||
    <meta content="telephone=no" name="format-detection">
 | 
					    <meta content="telephone=no" name="format-detection">
 | 
				
			||||||
    <title>{{.Title}}</title>
 | 
					    <title>{{.Title}}</title>
 | 
				
			||||||
    <link rel="stylesheet" type="text/css"
 | 
					    <link rel="stylesheet" type="text/css"
 | 
				
			||||||
        href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.4.1/semantic.min.css">
 | 
					        href="https://cdn.staticfile.org/semantic-ui/2.4.1/semantic.min.css">
 | 
				
			||||||
    <link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-logos/0.17/font-logos.min.css" type="text/css"
 | 
					    <link href="https://cdn.staticfile.org/font-logos/0.17/font-logos.min.css" type="text/css"
 | 
				
			||||||
        rel="stylesheet" />
 | 
					        rel="stylesheet" />
 | 
				
			||||||
    <link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
 | 
					    <link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
 | 
				
			||||||
    <link rel="stylesheet" type="text/css" href="/static/main.css?v2022042314">
 | 
					    <link rel="stylesheet" type="text/css" href="/static/main.css?v2022042314">
 | 
				
			||||||
 | 
				
			|||||||
@ -73,7 +73,7 @@
 | 
				
			|||||||
</div>
 | 
					</div>
 | 
				
			||||||
{{template "component/server" .}}
 | 
					{{template "component/server" .}}
 | 
				
			||||||
{{template "common/footer" .}}
 | 
					{{template "common/footer" .}}
 | 
				
			||||||
<script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/clipboard.js/2.0.10/clipboard.min.js" type="application/javascript"></script>
 | 
					<script src="https://cdn.staticfile.org/clipboard.js/2.0.10/clipboard.min.js" type="application/javascript"></script>
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
    var clipboard = new ClipboardJS('.ui.icon.green.mini.button');
 | 
					    var clipboard = new ClipboardJS('.ui.icon.green.mini.button');
 | 
				
			||||||
    const checkBoxList = document.querySelectorAll('tbody > tr > td > input.nezha-servers[type=checkbox]')
 | 
					    const checkBoxList = document.querySelectorAll('tbody > tr > td > input.nezha-servers[type=checkbox]')
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								resource/template/theme-daynight/home.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								resource/template/theme-daynight/home.html
									
									
									
									
										vendored
									
									
								
							@ -10,8 +10,8 @@
 | 
				
			|||||||
    <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
					    <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <link rel="stylesheet" href="/static/theme-daynight/css/main.css?v202108042286">
 | 
					    <link rel="stylesheet" href="/static/theme-daynight/css/main.css?v202108042286">
 | 
				
			||||||
    <link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
 | 
					    <link href="https://cdn.staticfile.org/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
 | 
				
			||||||
    <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {{if ts .CustomCode}}
 | 
					    {{if ts .CustomCode}}
 | 
				
			||||||
    {{.CustomCode|safe}}
 | 
					    {{.CustomCode|safe}}
 | 
				
			||||||
@ -165,8 +165,8 @@
 | 
				
			|||||||
    </footer>
 | 
					    </footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <script src="/static/theme-daynight/js/main.js?v202102012266"></script>
 | 
					    <script src="/static/theme-daynight/js/main.js?v202102012266"></script>
 | 
				
			||||||
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
 | 
				
			||||||
    <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/limonte-sweetalert2/11.4.4/sweetalert2.all.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/limonte-sweetalert2/11.4.4/sweetalert2.all.min.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        const initData = JSON.parse('{{.Servers}}').servers;
 | 
					        const initData = JSON.parse('{{.Servers}}').servers;
 | 
				
			||||||
 | 
				
			|||||||
@ -9,8 +9,8 @@
 | 
				
			|||||||
    <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
					    <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
				
			||||||
    <link rel="stylesheet" href="/static/theme-daynight/css/service.css?v202108042286" />
 | 
					    <link rel="stylesheet" href="/static/theme-daynight/css/service.css?v202108042286" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
 | 
					    <link href="https://cdn.staticfile.org/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
 | 
				
			||||||
    <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {{if ts .CustomCode}}
 | 
					    {{if ts .CustomCode}}
 | 
				
			||||||
    {{.CustomCode|safe}}
 | 
					    {{.CustomCode|safe}}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								resource/template/theme-hotaru/home.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								resource/template/theme-hotaru/home.html
									
									
									
									
										vendored
									
									
								
							@ -14,8 +14,8 @@
 | 
				
			|||||||
    <meta http-equiv="Content-Language" content="zh" />
 | 
					    <meta http-equiv="Content-Language" content="zh" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Styles -->
 | 
					    <!-- Styles -->
 | 
				
			||||||
    <link rel="stylesheet" type="text/css" href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.4.1/semantic.min.css">
 | 
					    <link rel="stylesheet" type="text/css" href="https://cdn.staticfile.org/semantic-ui/2.4.1/semantic.min.css">
 | 
				
			||||||
    <link rel="stylesheet" type="text/css" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css">
 | 
					    <link rel="stylesheet" type="text/css" href="https://cdn.staticfile.org/font-awesome/6.0.0/css/all.min.css">
 | 
				
			||||||
    <link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
 | 
					    <link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
 | 
				
			||||||
    <link rel="stylesheet" href="/static/theme-hotaru/css/core.css?v202012121912" type="text/css">
 | 
					    <link rel="stylesheet" href="/static/theme-hotaru/css/core.css?v202012121912" type="text/css">
 | 
				
			||||||
    <link rel="stylesheet" href="/static/theme-hotaru/css/main.css?v202101171153" type="text/css">
 | 
					    <link rel="stylesheet" href="/static/theme-hotaru/css/main.css?v202101171153" type="text/css">
 | 
				
			||||||
@ -141,10 +141,10 @@
 | 
				
			|||||||
            <a href="/server">{{tr "AdminPanel"}}</a>
 | 
					            <a href="/server">{{tr "AdminPanel"}}</a>
 | 
				
			||||||
        </p>
 | 
					        </p>
 | 
				
			||||||
    </footer>
 | 
					    </footer>
 | 
				
			||||||
    <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
    <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.4.1/semantic.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/semantic-ui/2.4.1/semantic.min.js"></script>
 | 
				
			||||||
    <script src="/static/semantic-ui-alerts.min.js"></script>
 | 
					    <script src="/static/semantic-ui-alerts.min.js"></script>
 | 
				
			||||||
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>
 | 
					    <script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
 | 
				
			||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        const initData = JSON.parse('{{.Servers}}').servers;
 | 
					        const initData = JSON.parse('{{.Servers}}').servers;
 | 
				
			||||||
        var statusCards = new Vue({
 | 
					        var statusCards = new Vue({
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										10
									
								
								resource/template/theme-mdui/home.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								resource/template/theme-mdui/home.html
									
									
									
									
										vendored
									
									
								
							@ -9,7 +9,7 @@
 | 
				
			|||||||
  <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
					  <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- MDUI CSS -->
 | 
					  <!-- MDUI CSS -->
 | 
				
			||||||
  <link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-0-M/mdui/1.0.2/css/mdui.min.css"/>
 | 
					  <link rel="stylesheet" href="https://cdn.staticfile.org/mdui/1.0.2/css/mdui.min.css"/>
 | 
				
			||||||
  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
					  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
				
			||||||
  <style>
 | 
					  <style>
 | 
				
			||||||
	.mdui-table td, .mdui-table th{padding: 6px;}
 | 
						.mdui-table td, .mdui-table th{padding: 6px;}
 | 
				
			||||||
@ -37,7 +37,7 @@
 | 
				
			|||||||
        <div class="mdui-col" v-for='server in servers' :id="server.ID">
 | 
					        <div class="mdui-col" v-for='server in servers' :id="server.ID">
 | 
				
			||||||
          <div :class="'mdui-card mt' + (server.live?'':' offline')">
 | 
					          <div :class="'mdui-card mt' + (server.live?'':' offline')">
 | 
				
			||||||
            <div class="mdui-card-header">
 | 
					            <div class="mdui-card-header">
 | 
				
			||||||
	      <img class="mdui-card-header-avatar" :src="'https://lf6-cdn-tos.bytecdntp.com/cdn/expire-0-M/flag-icon-css/4.1.5/flags/1x1/' + (server.Host.CountryCode?server.Host.CountryCode:'cn') + '.svg'"/>
 | 
						      <img class="mdui-card-header-avatar" :src="'https://cdn.staticfile.org/flag-icon-css/4.1.5/flags/1x1/' + (server.Host.CountryCode?server.Host.CountryCode:'cn') + '.svg'"/>
 | 
				
			||||||
	      <div class="mdui-card-header-title">@#server.Name#@</div>
 | 
						      <div class="mdui-card-header-title">@#server.Name#@</div>
 | 
				
			||||||
	      <div class="mdui-card-header-subtitle">@#server.Host.CountryCode.toUpperCase()#@ | @#server.Host.Platform#@ @#server.Host.PlatformVersion#@</div>
 | 
						      <div class="mdui-card-header-subtitle">@#server.Host.CountryCode.toUpperCase()#@ | @#server.Host.Platform#@ @#server.Host.PlatformVersion#@</div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
@ -153,9 +153,9 @@
 | 
				
			|||||||
{{template "theme-mdui/footer" .}}
 | 
					{{template "theme-mdui/footer" .}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <script src="/static/theme-mdui/mdui.js"></script>
 | 
					  <script src="/static/theme-mdui/mdui.js"></script>
 | 
				
			||||||
  <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/mdui/1.0.2/js/mdui.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/mdui/1.0.2/js/mdui.min.js"></script>
 | 
				
			||||||
  <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
  <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <script>
 | 
					  <script>
 | 
				
			||||||
    var container=document.querySelector("#container");
 | 
					    var container=document.querySelector("#container");
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								resource/template/theme-mdui/service.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								resource/template/theme-mdui/service.html
									
									
									
									
										vendored
									
									
								
							@ -9,7 +9,7 @@
 | 
				
			|||||||
  <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
					  <link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20210804" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- MDUI CSS -->
 | 
					  <!-- MDUI CSS -->
 | 
				
			||||||
  <link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-0-M/mdui/1.0.2/css/mdui.min.css"/>
 | 
					  <link rel="stylesheet" href="https://cdn.staticfile.org/mdui/1.0.2/css/mdui.min.css"/>
 | 
				
			||||||
  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
					  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
				
			||||||
  {{if ts .CustomCode}}
 | 
					  {{if ts .CustomCode}}
 | 
				
			||||||
  {{.CustomCode|safe}}
 | 
					  {{.CustomCode|safe}}
 | 
				
			||||||
@ -116,9 +116,9 @@
 | 
				
			|||||||
{{template "theme-mdui/footer" .}}
 | 
					{{template "theme-mdui/footer" .}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <script src="/static/theme-mdui/mdui.js"></script>
 | 
					  <script src="/static/theme-mdui/mdui.js"></script>
 | 
				
			||||||
  <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/mdui/1.0.2/js/mdui.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/mdui/1.0.2/js/mdui.min.js"></script>
 | 
				
			||||||
  <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
  <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
 | 
				
			||||||
  <script>
 | 
					  <script>
 | 
				
			||||||
    var container=document.querySelector("#container");
 | 
					    var container=document.querySelector("#container");
 | 
				
			||||||
    container.style.minHeight=window.innerHeight-document.body.clientHeight+container.clientHeight+'px';
 | 
					    container.style.minHeight=window.innerHeight-document.body.clientHeight+container.clientHeight+'px';
 | 
				
			||||||
 | 
				
			|||||||
@ -8,7 +8,7 @@
 | 
				
			|||||||
  <title>{{.Title}}</title>
 | 
					  <title>{{.Title}}</title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- MDUI CSS -->
 | 
					  <!-- MDUI CSS -->
 | 
				
			||||||
  <link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-0-M/mdui/1.0.2/css/mdui.min.css"/>
 | 
					  <link rel="stylesheet" href="https://cdn.staticfile.org/mdui/1.0.2/css/mdui.min.css"/>
 | 
				
			||||||
  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
					  <link rel="stylesheet" href="/static/theme-mdui/mdui.css" type="text/css">
 | 
				
			||||||
  {{if ts .CustomCode}}
 | 
					  {{if ts .CustomCode}}
 | 
				
			||||||
  {{.CustomCode|safe}}
 | 
					  {{.CustomCode|safe}}
 | 
				
			||||||
@ -34,8 +34,8 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/mdui/1.0.2/js/mdui.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/mdui/1.0.2/js/mdui.min.js"></script>
 | 
				
			||||||
  <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
 | 
					  <script src="https://cdn.staticfile.org/jquery/3.6.0/jquery.min.js"></script>
 | 
				
			||||||
  <script>
 | 
					  <script>
 | 
				
			||||||
    var $input = mdui.$('#container').find('.mdui-textfield-input');
 | 
					    var $input = mdui.$('#container').find('.mdui-textfield-input');
 | 
				
			||||||
    var $dialog = new mdui.Dialog(mdui.$('.mdui-dialog'));
 | 
					    var $dialog = new mdui.Dialog(mdui.$('.mdui-dialog'));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user