This commit is contained in:
Jeff Bryner 2018-10-19 14:01:14 -07:00
Родитель 2ca77b01f6
Коммит 7404850021
6 изменённых файлов: 19 добавлений и 49 удалений

Просмотреть файл

@ -77,11 +77,6 @@ Copyright (c) 2014 Mozilla Corporation
<template name="blockFQDNModal"> <template name="blockFQDNModal">
<style>
.modal-body .row {
color: black;
}
</style>
<div class="modal fade" id="modalBlockFQDNWindow"> <div class="modal fade" id="modalBlockFQDNWindow">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">

Просмотреть файл

@ -77,11 +77,6 @@ Copyright (c) 2014 Mozilla Corporation
<template name="blockIPModal"> <template name="blockIPModal">
<style>
.modal-body .row {
color: black;
}
</style>
<div class="modal fade" id="modalBlockIPWindow"> <div class="modal fade" id="modalBlockIPWindow">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">

Просмотреть файл

@ -11,11 +11,6 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
--> -->
<template name="ipdshield"> <template name="ipdshield">
<style>
.row {
color: white;
}
</style>
<body> <body>
@ -33,7 +28,7 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
{{#with value}} {{#with value}}
{{#each objKeyValue this}} {{#each objKeyValue this}}
<li>{{key}}: <li>{{key}}:
{{value}}</li> {{value}}</li>
{{/each}} {{/each}}
{{/with}} {{/with}}
</ul></li> </ul></li>
@ -41,7 +36,7 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
<li> <li>
{{key}}: {{key}}:
{{value}} {{value}}
</li> </li>
{{/if}} {{/if}}
{{/each}} {{/each}}
</ul> </ul>
@ -58,13 +53,9 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
</template> </template>
<template name="dshieldmodal"> <template name="dshieldmodal">
<style>
.modal-body .row { color: black;
}
</style>
<div class="modal fade" id="modaldshieldwindow"> <div class="modal fade" id="modaldshieldwindow">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button> <button type="button" class="close" data-dismiss="modal">&times;</button>
<h4>DShield Results</h4> <h4>DShield Results</h4>
@ -78,13 +69,13 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
<div class="row center"> <div class="row center">
<ul class="list-unstyled"> <ul class="list-unstyled">
{{#each objKeyValue dshield.data}} {{#each objKeyValue dshield.data}}
{{#if isAnObject value}} {{#if isAnObject value}}
<li><ul class="list-unstyled">{{key}} <li><ul class="list-unstyled">{{key}}
{{#with value}} {{#with value}}
{{#each objKeyValue this}} {{#each objKeyValue this}}
<li>{{key}}: <li>{{key}}:
{{value}}</li> {{value}}</li>
{{/each}} {{/each}}
{{/with}} {{/with}}
</ul></li> </ul></li>
@ -92,7 +83,7 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
<li> <li>
{{key}}: {{key}}:
{{value}} {{value}}
</li> </li>
{{/if}} {{/if}}
{{/each}} {{/each}}
</ul> </ul>
@ -102,7 +93,7 @@ modal: for Session.set('ipdshieldipaddress','1,2.3.4') then
<div id='rawdshieldjson' class="collapse"> <div id='rawdshieldjson' class="collapse">
<pre>{{dshield.content}}</pre> <pre>{{dshield.content}}</pre>
</div> </div>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>

Просмотреть файл

@ -11,11 +11,6 @@ modal: for Session.set('ipintelipaddress','1,2.3.4') then
--> -->
<template name="ipintel"> <template name="ipintel">
<style>
.row {
color: white;
}
</style>
<body> <body>
@ -33,10 +28,6 @@ modal: for Session.set('ipintelipaddress','1,2.3.4') then
</template> </template>
<template name="intelmodal"> <template name="intelmodal">
<style>
.modal-body .row { color: black;
}
</style>
<div class="modal fade" id="modalintelwindow"> <div class="modal fade" id="modalintelwindow">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">

Просмотреть файл

@ -11,10 +11,6 @@ modal: for Session.set('ipwhoisipaddress','1,2.3.4') then
--> -->
<template name="ipwhois"> <template name="ipwhois">
<style>
.row { color: white;
}
</style>
<body> <body>
@ -35,9 +31,9 @@ modal: for Session.set('ipwhoisipaddress','1,2.3.4') then
{{#each whois.data.nets}} {{#each whois.data.nets}}
{{#each objKeyValue this}} {{#each objKeyValue this}}
<li>{{key}}: {{value}}</li> <li>{{key}}: {{value}}</li>
{{/each}} {{/each}}
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
<div class="row center"> <div class="row center">
@ -52,11 +48,6 @@ modal: for Session.set('ipwhoisipaddress','1,2.3.4') then
</template> </template>
<template name="whoismodal"> <template name="whoismodal">
<style>
.modal-body .row {
color: black;
}
</style>
<div class="modal fade" id="modalwhoiswindow"> <div class="modal fade" id="modalwhoiswindow">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
@ -82,9 +73,9 @@ modal: for Session.set('ipwhoisipaddress','1,2.3.4') then
{{#each whois.data.nets}} {{#each whois.data.nets}}
{{#each objKeyValue this}} {{#each objKeyValue this}}
<li>{{key}}: {{value}}</li> <li>{{key}}: {{value}}</li>
{{/each}} {{/each}}
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
<div class="col-xs-1"><button class="btn btn-xs" data-toggle="collapse" data-target="#rawwhoisjson">raw json</button></div> <div class="col-xs-1"><button class="btn btn-xs" data-toggle="collapse" data-target="#rawwhoisjson">raw json</button></div>
@ -92,7 +83,7 @@ modal: for Session.set('ipwhoisipaddress','1,2.3.4') then
<div id='rawwhoisjson' class="collapse"> <div id='rawwhoisjson' class="collapse">
<pre>{{whois.content}}</pre> <pre>{{whois.content}}</pre>
</div> </div>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>

Просмотреть файл

@ -193,6 +193,13 @@ caption, legend {
color: wheat; color: wheat;
} }
.row {
color: white;
}
.modal-body .row {
color: black;
}
/*bootstrap overrides*/ /*bootstrap overrides*/
.btn { .btn {