Skip to content

Instantly share code, notes, and snippets.

@stratmm
stratmm / gist:8308859
Created January 7, 2014 23:29
Example Moderizr'd HTML Tag
<html class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths"></html>
- if house_audit.house_audit_document
= link_to image_tag('icons/download-icon.png', :title => "Download word document"), download_house_audit_house_audit_document_path(house_audit, house_audit.house_audit_document)
= link_to image_tag('icons/word-logo.png', :title => "View word document"), "http://docs.google.com/viewer?url=" + u(download_house_audit_house_audit_document_url(house_audit, house_audit.house_audit_document)), :target => "_blank"
= link_to image_tag('icons/delete-image-icon.png', :title => "Delete this document"), house_audit_house_audit_document_path(house_audit, house_audit.house_audit_document), :method => :delete, :remote => true, :confirm => "Are you sure you want to delete this document?"
- else
= link_to image_tag('icons/upload-icon.png', :title => "Upload a new document"), new_house_audit_house_audit_document_path(house_audit), :remote => true
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
<soapenv:Header/>
<soapenv:Body>
<soap:GetListItems>
<!--Optional:-->
<soap:listName>?</soap:listName>
<!--Optional:-->
<soap:viewName>?</soap:viewName>
<!--Optional:-->
<soap:query>