This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
135 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
var data = { | ||
'_id': '55ca2cfa4466d13442dc84ef', | ||
'createdAt': 'Tue Aug 11 2015 19:12:26 GMT+0200 (CEST)', | ||
'updatedAt': 'Tue Aug 11 2015 19:12:26 GMT+0200 (CEST)', | ||
'message': { | ||
'listed': [ { status: 1, server: 'server1'}, { status: 1, server: 'server2'}, { status: 1, server: 'server3'}, { status: 1, server: 'server4'} ] | ||
}, | ||
'status': 'ERROR', | ||
'source': '::ffff:127.0.0.1', | ||
'__v': 0 | ||
} | ||
|
||
|
||
console.log(data.message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{% extends '../master_layout.html' %} | ||
{% block content %} | ||
|
||
|
||
<div id="content" class=""> | ||
|
||
|
||
|
||
<div class="row"> | ||
|
||
<div class="col-md-10 col-md-offset-1"> | ||
|
||
<!-- <div class="mt30 mb25"> | ||
{% include "../includes/notifications.html" %} | ||
</div> | ||
--> <!-- Input Fields --> | ||
<div class="panel"> | ||
<div class="panel-heading"> | ||
<span class="panel-title">Event Details</span> | ||
<div class="widget-menu mr10"> | ||
<div class="btn-group"> | ||
<a href="/users/settings/edit" class="btn btn-xs btn-default dropdown-toggle"> | ||
<span class="glyphicon glyphicon-edit fs11 mr5"></span>Edit</button> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="panel-body"> | ||
|
||
<div class="col-md-6"> | ||
<form class="form-horizontal" role="form"> | ||
<div class="form-group"> | ||
<label class="col-lg-6 control-label">Event ID</label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{event_data._id}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-lg-6 control-label">Event Status</label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{event_data.status}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-lg-6 control-label">Node Source </label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{event_data.source}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
<form class="form-horizontal" role="form"> | ||
<div class="form-group"> | ||
<label class="col-lg-6 control-label">Event Date</label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{event_data.createdAt}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-6"> | ||
<form class="form-horizontal" role="form"> | ||
<div class="form-group"> | ||
<label class="col-lg-6 control-label">Event Message</label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{ event_data.message.listed }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- <div class="form-group"> | ||
<label class="col-lg-6 control-label">Server</label> | ||
<div class="col-lg-6"> | ||
<div class="bs-component"> | ||
<p class="form-control-static text-muted">{{record.server}}</p> | ||
</div> | ||
</div> | ||
</div> | ||
--> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
{% endblock %} |