Skip to content

Instantly share code, notes, and snippets.

View bennett-elder's full-sized avatar
🏠
Working from home

Bennett Elder bennett-elder

🏠
Working from home
  • Jacksonville, Florida
View GitHub Profile
@bennett-elder
bennett-elder / Add Css.css
Created December 15, 2016 04:42 — forked from ChrisMBarr/Add Css.css
Allows auto-filling of GreenShades timesheet comments & easy filling with pre-made comments
#js-other-comments{
padding: 5px;
border-top: 1px solid #C0C0C0;
}
#js-other-comments a{
padding: 5px 7px;
}
@bennett-elder
bennett-elder / Add Html.htm
Created December 15, 2016 04:41 — forked from ChrisMBarr/Add Html.htm
GreenShades - Display PTO as Days!
<script>
var HOURS_PER_DAY = 8;
//locate the table, find the table rows, but skip the first row since it's the header
$("table[id$='gvBalances_DXMainTable']")
.find("> tbody >tr")
.not(":first")
.each(function(){
//loop though each row here (there's probably only one though)
$(this).children().each(function(i){