<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Test 1</title>
<!-- Bootstrap CSS references -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- DataTable CSS references -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/select/1.2.7/css/select.dataTables.min.css">
<!-- Application Custom CSS -->
<link rel="stylesheet" href="/static/css/style.css">
<!-- Application Catalog -->
<script src="/s6547df1445/static/jsi18n/"></script>
</head>
<body>
<!-- Container Start-->
<div class="container-fluid px-0" id="loContainer">
<!-- Main(Contents) Start-->
<div id="loMain">
<h1 id="SDGPageTitle">Screen for testing</h1>
<div id="tblIndex_wrapper" class="dataTables_wrapper dt-bootstrap4 no-footer">
<div class="row">
<div class="col-5">
<div class="dt-buttons"> <a class="SDGbtn-Function SDGbtn-Function_Delete disabled" tabindex="0" aria-controls="tblIndex" href="#" title="" data-toggle="tooltip" data-original-title="Delete selected FQDNs."><span></span></a> <a class="SDGbtn-Function SDGbtn-Function_MoveUp disabled" tabindex="0" aria-controls="tblIndex" href="#" title="" data-toggle="tooltip" data-original-title="Move up selected FQDN."><span></span></a> <a class="SDGbtn-Function SDGbtn-Function_MoveDown disabled" tabindex="0" aria-controls="tblIndex" href="#" title="" data-toggle="tooltip" data-original-title="Move down selected FQDN."><span></span></a> </div>
</div>
<div class="col-7 text-right">
<div id="tblIndex_filter" class="dataTables_filter">
<label>Search:
<input type="search" class="form-control form-control-sm" placeholder="" aria-controls="tblIndex">
</label>
</div>
<div class="dataTables_length" id="tblIndex_length">
<label>Show
<select name="tblIndex_length" aria-controls="tblIndex" class="custom-select custom-select-sm form-control form-control-sm">
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="-1">All</option>
</select> entries</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<table id="tblIndex" class="table display responsive table-hover table-striped table-bordered table-sm dataTable no-footer" style="width: 100%;" role="grid" aria-describedby="tblIndex_info">
<thead>
<tr role="row">
<th class="toggle-all select-checkbox sorting_disabled" rowspan="1" colspan="1" aria-label="" style="width: 0.2px;"><i id="select_all"></i></th>
<th class="sorting_disabled" rowspan="1" colspan="1" aria-label="No." style="width: 24.2px;">No.</th>
<th class="word-break-all sorting_disabled" rowspan="1" colspan="1" aria-label="FQDN" style="width: 439.2px;">FQDN</th>
<th class="word-break-all sorting_disabled" rowspan="1" colspan="1" aria-label="Description" style="width: 362.2px;">Description</th>
<th class="dt-center sorting_disabled" rowspan="1" colspan="1" aria-label="Permission" style="width: 73.2px;">Permission</th>
<th class="sorting_disabled" rowspan="1" colspan="1" aria-label="Action" style="width: 44.2px;">Action</th>
</tr>
</thead>
<tbody>
<tr role="row" class="odd">
<td class=" select-checkbox"></td>
<td>1</td>
<td class=" word-break-all">www.yahoo.com</td>
<td class=" word-break-all">Yahoo America</td>
<td class=" dt-center"><a href="#" data-toggle="tooltip" title="" style="cursor: default;" data-original-title="Allow"><span class="SDGbtn-Function SDGbtn-Function_Allow"></span></a></td>
<td><a href="#" class="_edit" data-toggle="tooltip" title="" data-original-title="Edit FQDN."><span class="SDGbtn-Function SDGbtn-Function_Edit"></span></a> <a href="#" class="_delete" data-toggle="tooltip" title="" data-original-title="Delete FQDN."><span class="SDGbtn-Function SDGbtn-Function_Delete"></span></a></td>
</tr>
<tr role="row" class="even">
<td class=" select-checkbox"></td>
<td>2</td>
<td class=" word-break-all">www.sdlkjasdlka.asdklasjdakldasdfsddsfsdfsdsdfsdfsdfsfsdsdsdfssdsdfsdsdjasdl.asldkjasldjas.asldkjasldjas.asldkjasldjasdl.askdjaslkdjasld.aslkdjasldasjdlas.asldkjasdlasjdl.alskdjasldjasld.com</td>
<td class=" word-break-all">askdjhasdjhk asdkjhasd kasdhasdk askdsfsdfsdsdsdfsdfsdfsdfsdfsdfsdfsdfsdjhasdkjasdkjhasd asdkhasdjkhasd asdkjhasd kasdkjhasdkjhasdkjhas</td>
<td class=" dt-center"><a href="#" data-toggle="tooltip" title="" style="cursor: default;" data-original-title="Allow"><span class="SDGbtn-Function SDGbtn-Function_Allow"></span></a></td>
<td><a href="#" class="_edit" data-toggle="tooltip" title="" data-original-title="Edit FQDN."><span class="SDGbtn-Function SDGbtn-Function_Edit"></span></a> <a href="#" class="_delete" data-toggle="tooltip" title="" data-original-title="Delete FQDN."><span class="SDGbtn-Function SDGbtn-Function_Delete"></span></a></td>
</tr>
</tbody>
</table>
<div id="tblIndex_processing" class="dataTables_processing card" style="display: none;">Processing...</div>
</div>
</div>
<div class="row">
<div class="col-sm-5">
<div class="dataTables_info" id="tblIndex_info" role="status" aria-live="polite">Showing 1 to 2 of 2 entries</div>
</div>
<div class="col-sm-7">
<div class="dataTables_paginate paging_simple_numbers" id="tblIndex_paginate">
<ul class="pagination">
<li class="paginate_button page-item previous disabled" id="tblIndex_previous"><a href="#" aria-controls="tblIndex" data-dt-idx="0" tabindex="0" class="page-link">Previous</a></li>
<li class="paginate_button page-item active"><a href="#" aria-controls="tblIndex" data-dt-idx="1" tabindex="0" class="page-link">1</a></li>
<li class="paginate_button page-item next disabled" id="tblIndex_next"><a href="#" aria-controls="tblIndex" data-dt-idx="2" tabindex="0" class="page-link">Next</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- Main(Contents) End-->
</div>
<!-- Container End-->
<footer id="loFooter">
<div class="container">
<p>Copyright © 2020, My company, All rights reserved.</p>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/select/1.2.7/js/dataTables.select.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.13/features/mark.js/datatables.mark.min.js"></script>
<script src="https://cdn.datatables.net/plug-ins/1.10.20/api/row().show().js"></script>
<script src="https://cdn.jsdelivr.net/g/mark.js(jquery.mark.min.js),datatables.mark.js"></script>
<script src="/static/js/index.js"></script>
<script src="/static/js/sdg.js"></script>
<script src="/static/js/wait.js"></script>
<script>
$(document).ready(function() {
const table = $("#tblIndex").DataTable({
processing: true,
responsive: true,
deferRender: true,
mark: {
className: "search-result"
},
dom: _dom_settings_index_pages,
lengthMenu: _datatable_page_lengths,
pageLength: dataTablePageLength,
ajax: {
url: 'someurl',
dataSrc: ''
},
drawCallback: function(settings) {
const api = new $.fn.dataTable.Api(settings);
if (api.buttons().length > 0) {
$("a", api.buttons().container(0)).each(function(index) {
$(this).attr('data-toggle', 'tooltip');
});
}
setToolTip();
DatatableUtils.processOnSelectionUpdate(api);
},
language: _language_settings,
columnDefs: [{
targets: 0,
data: "select",
searchable: false,
orderable: false,
className: 'select-checkbox',
width: "1%"
}, {
targets: 1,
searchable: false,
orderable: false,
data: "id",
width: "5%",
visible: false
}, {
targets: 2,
orderable: false,
data: "order",
width: "2%"
}, {
targets: 3,
orderable: false,
data: "domain",
className: "word-break-all",
render: $.fn.dataTable.render.text(),
width: "42%"
}, {
targets: 4,
orderable: false,
data: "description",
className: "word-break-all",
render: $.fn.dataTable.render.text(),
width: "35%"
}],
select: {
style: 'multi',
selector: 'td:first-child'
},
order: [],
buttons: []
});
$('#tblIndex').on('click', '.toggle-all', table, DatatableUtils.procesOnToggleAll);
});
</script>
</body>
</html>
@charset "utf-8";
html {
height: 100%;
}
body {
font-size: 14px;
line-height: 100%;
color: #3E3A39;
background-color: #0c8993;
height: 100vh;
display: box;
display: flexbox;
display: flex;
box-orient: vertical;
box-direction: normal;
flex-direction: column;
flex-direction: column;
}
/* BEGIN - new settings */
/* Header
-------------------------------------------*/
#loHeader {
position: fixed;
z-index: 1005;
width: 100%;
border-bottom: 5px solid #0c8993;
}
#loHeader .bg-light {
background-color: #FFF !important;
}
/* Container
-------------------------------------------*/
#loContainer {
display: box;
display: flexbox; /**/
display: flex;
flex: 1 0 auto; /**/
background-color: #FFF;
}
header#loHeader + #loContainer {
padding-top: 61px;
}
.navbar-brand:hover {
opacity: 1.0;
}
#loSidebar {
background-color: #3D4641;
margin-top: 0px;
margin-right: 25px;
margin-bottom: 0px;
margin-left: 25px;
}
#loSidebar .nav li a {
padding: .5rem 2rem;
color: #FFF;
}
/* Main(Contents)
-------------------------------------------*/
#loMain {
flex: 1;
padding: 1rem;
background-color: #FFF;
position: relative;
}
#SDGPageTitle {
background-color: #0c8993;
color: #FFF;
font-size: 24px;
font-weight: normal;
line-height: 50px;
padding: 0 20px;
}
#SDGPageTitleNote {
float: right;
font-size: 15px;
}
#SDGWizardPageTitle {
background-color: #0c8993;
color: #FFF;
font-size: 24px;
font-weight: normal;
line-height: 50px;
padding: 0 20px;
}
/* END - new settings */
img {
outline: none;
border-style: none;
}
em {
color: #E9443D;
font-weight: bold;
}
ul.nav, ul#SDGnavi-Menu, li.no-bullets {
padding: 0px;
list-style: none;
}
li.steps {
list-style: decimal;
}
/* Footer
-------------------------------------------*/
#loFooter {
flex-shrink: 0;
background-color: #0c8993;
text-align: center;
padding: 0px;
padding-top: 12px;
color: #FFF;
font-size: 12px;
font-weight: normal;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
background-color: #c9dedb;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
z-index: 3;
color: #fff;
cursor: default;
background-color: #0c8993;
border-color: #0c8993;
}
.page-item.active .page-link {
z-index: 1;
color: #fff;
background-color: #0c8993;
border-color: #0c8993;
}
/* BEGIN - DataTable Customizations */
table.dataTable {
line-height: normal;
}
table.dataTable tbody td {
vertical-align: middle;
}
table.dataTable thead th {
vertical-align: middle;
}
th.dt-center, td.dt-center {
text-align: center;
}
table.dataTable thead th.select-checkbox {
position: relative;
}
table.dataTable thead th.select-checkbox:before,
table.dataTable thead th.select-checkbox:after {
display: block;
position: absolute;
top: 1.2em;
left: 50%;
width: 12px;
height: 12px;
box-sizing: border-box;
}
table.dataTable thead th.select-checkbox:before {
content: ' ';
margin-top: -8px;
margin-left: -6px;
border: 1px solid black;
border-radius: 3px;
}
div.dataTables_filter,
div.dataTables_length {
display: inline-block;
margin-left: 1em;
}
table.dataTable .word-break-all {
word-break: break-all;
}
/* END - DataTable Customizations */
mark.search-result {
background: orange;
color: black;
padding: 0;
}
You can jump to the latest bin by adding /latest
to your URL
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + [ | Indents selected lines |
ctrl + ] | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Clone Bin |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |