forked from Cliffbreak/tsviewer
		
	updated templates && styles
This commit is contained in:
		
							parent
							
								
									0121873d35
								
							
						
					
					
						commit
						1a9f7fd72e
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,16 @@
 | 
			
		|||
*{
 | 
			
		||||
    padding: 0;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
.content {
 | 
			
		||||
    max-width: 500px;
 | 
			
		||||
    margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h2{
 | 
			
		||||
    padding-top: 20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
small{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,13 @@
 | 
			
		|||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
        <div class="content">
 | 
			
		||||
    <h2>Online Members</h2>
 | 
			
		||||
    <ul>
 | 
			
		||||
        {{range .Clients}}
 | 
			
		||||
        <li>{{.Nickname}}</li>
 | 
			
		||||
        {{end}}
 | 
			
		||||
    </ul>
 | 
			
		||||
    <h2>{{.Server.Name}}</h2>
 | 
			
		||||
    <!-- <small>{{.Server.Version}}</small> -->
 | 
			
		||||
    {{$clients := .Clients}}
 | 
			
		||||
| 
						 | 
				
			
			@ -20,6 +27,7 @@
 | 
			
		|||
            {{end}}
 | 
			
		||||
        {{end}}
 | 
			
		||||
    {{end}}
 | 
			
		||||
</div>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue