Created
October 20, 2016 18:04
-
-
Save kavichu/1f7b906f5b40ec43b0d9519b6c574835 to your computer and use it in GitHub Desktop.
Docker + Jenkins + NodeJS + DigitalOcean
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
let shine = () => { | |
let table = jQuery(`table[id^="table"]`); | |
let filters = jQuery(`#ctl0_ctl1 > div.content-viewprogram.content > fieldset > div > label:nth-child(1) > span`); | |
const td = jQuery(`table tbody tr:nth-child(1) td:nth-child(9)`); | |
const cellContent = td.find("div.CellContent"); | |
td.css("background-color"," black"); | |
cellContent.css("background-color"," black"); | |
cellContent.css("font-size", "18px"); | |
table.css("width", "60%"); | |
table.css("margin", "0 auto"); | |
filters.css("min-width", "0px"); | |
filters.css("margin-left", table.css("margin-left")); | |
} | |
let fancy_remove = (idx) => { | |
let headers = jQuery(`table[id^="table"] thead tr th:nth-child(${idx})`); | |
let rows = jQuery(`table[id^="table"] tbody tr td:nth-child(${idx})`); | |
if(idx == 9 || idx == 1){ | |
rows = jQuery(`table tbody tr:nth-child(n+2) td:nth-child(${idx})`); | |
}else{ | |
headers.fadeOut("slow"); | |
} | |
rows.fadeOut("slow"); | |
} | |
for(let i=1; i<11; i++) { | |
fancy_remove(i); | |
} | |
setTimeout(shine, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment