Remove coreId from device listing; Add jumbotron banner
This commit is contained in:
		
							parent
							
								
									0c2c59a2a8
								
							
						
					
					
						commit
						c1f092f5d1
					
				@ -1,7 +1,7 @@
 | 
			
		||||
{{!< default}}
 | 
			
		||||
 | 
			
		||||
{{! Grab 1st coreName value (it will be same value for entire set).}}
 | 
			
		||||
<h1>Alerts from Particle Core: {{alerts.0.coreName}} </h1>
 | 
			
		||||
<h2>Alerts from Particle Core: {{alerts.0.coreName}} </h2>
 | 
			
		||||
 | 
			
		||||
<table class="table table-striped">
 | 
			
		||||
    <thead>
 | 
			
		||||
 | 
			
		||||
@ -11,13 +11,14 @@
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
 | 
			
		||||
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
 | 
			
		||||
 | 
			
		||||
    <!-- Optional theme -->
 | 
			
		||||
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> -->
 | 
			
		||||
</head>
 | 
			
		||||
<body class="container-fluid">
 | 
			
		||||
    
 | 
			
		||||
    <div style="background:#D1E0E0" class="jumbotron">
 | 
			
		||||
        <h1 class="text-center">Patrick's Device Dashboard</h1>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    {{! Everything else gets inserted here }}
 | 
			
		||||
    {{{body}}}
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,11 @@
 | 
			
		||||
    {{#each cores}}
 | 
			
		||||
        <li>
 | 
			
		||||
            <a href="https://particle.kaplon.us/core/{{this.coreId}}">
 | 
			
		||||
                {{this.coreName}} ({{this.coreId}}), {{this.locationDesc}}
 | 
			
		||||
                {{#if this.coreName}}
 | 
			
		||||
                    {{this.coreName}}, {{this.locationDesc}}
 | 
			
		||||
                {{else}}
 | 
			
		||||
                    {{this.coreId}}, {{this.locationDesc}}
 | 
			
		||||
                {{/if}}
 | 
			
		||||
            </a>
 | 
			
		||||
        </li>
 | 
			
		||||
    {{/each}}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user