[mod] sites
This commit is contained in:
		
							parent
							
								
									0a51710752
								
							
						
					
					
						commit
						16785767fa
					
				
					 7 changed files with 77 additions and 1 deletions
				
			
		| 
		 Before Width: | Height: | Size: 849 KiB After Width: | Height: | Size: 849 KiB  | 
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
   <meta name="description" content="caddy test" />
 | 
			
		||||
   <meta name="author" content="andy bunce." />
 | 
			
		||||
	<title>Orlop domain</title>
 | 
			
		||||
	<link rel="shortcut icon" href="orlop.png"/>
 | 
			
		||||
	<link rel="shortcut icon" href="icon.png"/>
 | 
			
		||||
	<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
 | 
			
		||||
	<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" >
 | 
			
		||||
  <link href="https://cdn.jsdelivr.net/npm/vuetify@2.6.x/dist/vuetify.min.css" rel="stylesheet">
 | 
			
		||||
| 
						 | 
				
			
			@ -22,6 +22,7 @@
 | 
			
		|||
	  </div>
 | 
			
		||||
	  <v-container>
 | 
			
		||||
	   <v-row>
 | 
			
		||||
         <!-- item={href,port,text} -->
 | 
			
		||||
        <v-col v-for="item in links">
 | 
			
		||||
          <v-card width="10em">
 | 
			
		||||
              <v-card-title class="text-caption">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										27
									
								
								caddy/site/orlop/index.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								caddy/site/orlop/index.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,27 @@
 | 
			
		|||
// app
 | 
			
		||||
var app = new Vue({ 
 | 
			
		||||
    el: '#app',
 | 
			
		||||
    vuetify: new Vuetify(),
 | 
			
		||||
    data: {
 | 
			
		||||
        message: 'Hello Vue!',
 | 
			
		||||
        links: null,
 | 
			
		||||
        hits:0,
 | 
			
		||||
        loaded: null,
 | 
			
		||||
        target: "caddy",
 | 
			
		||||
        targets: ["srv","top","new"]
 | 
			
		||||
        		
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
  methods:{
 | 
			
		||||
	  load() {
 | 
			
		||||
		      this.loaded =  new Date()
 | 
			
		||||
		      this.hits += 1
 | 
			
		||||
			  fetch("links.json")
 | 
			
		||||
		        .then(response => response.json())
 | 
			
		||||
		        .then(data => (this.links = data));
 | 
			
		||||
           }
 | 
			
		||||
  },
 | 
			
		||||
  mounted () {
 | 
			
		||||
      this.load()  
 | 
			
		||||
    }
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										7
									
								
								caddy/site/orlop/links.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								caddy/site/orlop/links.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
[
 | 
			
		||||
 {"href": "about.orlop.duckdns.org", "text": "about", "port": "19999"},
 | 
			
		||||
 {"href": "jellyfin.orlop.duckdns.org", "text": "jellyfin", "port": "9000"},
 | 
			
		||||
 {"href": "emby.orlop.duckdns.org", "text": "emby", "port": "9981"},
 | 
			
		||||
 {"href": "tvheadend.orlop.duckdns.org", "text": "tvheadend", "port": "8088"}
 | 
			
		||||
 
 | 
			
		||||
]
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB  | 
							
								
								
									
										27
									
								
								caddy/site/quodatum/index.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								caddy/site/quodatum/index.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,27 @@
 | 
			
		|||
// app
 | 
			
		||||
var app = new Vue({ 
 | 
			
		||||
    el: '#app',
 | 
			
		||||
    vuetify: new Vuetify(),
 | 
			
		||||
    data: {
 | 
			
		||||
        message: 'Hello Vue!',
 | 
			
		||||
        links: null,
 | 
			
		||||
        hits:0,
 | 
			
		||||
        loaded: null,
 | 
			
		||||
        target: "caddy",
 | 
			
		||||
        targets: ["srv","top","new"]
 | 
			
		||||
        		
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
  methods:{
 | 
			
		||||
	  load() {
 | 
			
		||||
		      this.loaded =  new Date()
 | 
			
		||||
		      this.hits += 1
 | 
			
		||||
			  fetch("links.json")
 | 
			
		||||
		        .then(response => response.json())
 | 
			
		||||
		        .then(data => (this.links = data));
 | 
			
		||||
           }
 | 
			
		||||
  },
 | 
			
		||||
  mounted () {
 | 
			
		||||
      this.load()  
 | 
			
		||||
    }
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										14
									
								
								caddy/site/quodatum/links.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								caddy/site/quodatum/links.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
[
 | 
			
		||||
 {"href": "http://n2-plus.local:19999/", "text": "netdata", "port": "19999"},
 | 
			
		||||
 {"href": "http://n2-plus.local:9000/", "text": "portainer", "port": "9000"},
 | 
			
		||||
 {"href": "http://n2-plus.local:9981/", "text": "tvheadend", "port": "9981"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8088/", "text": "tiddly", "port": "8088"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8002/", "text": "piwigo", "port": "8002"},
 | 
			
		||||
 {"href": "http://n2-plus.local:3030/", "text": "fuseki", "port": "3030"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8002/", "text": "portainer", "port": "8002"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8443/", "text": "code-server", "port": "8443"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8444/", "text": "code-server4", "port": "8444"},
 | 
			
		||||
 {"href": "http://n2-plus.local:8300/", "text": "gitea", "port": "8300"},
 | 
			
		||||
 {"href": "http://n2-plus.local", "text": "caddy", "port": "80"},
 | 
			
		||||
 {"href": "http://fish.local", "text": "fish", "port": ""}
 | 
			
		||||
]
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue