This file contains hidden or 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- This XSL Stylesheet created by SharePoint Experts, Inc. --> | |
<!-- http://sharepointexperience.com --> | |
<xsl:output method="html" indent="yes"/> | |
<!-- This template is the "wrapper" or "container" for the custom view. --> | |
<xsl:template match="/"> | |
<!-- This is the actual wrapper element that will be emitted --> | |
<div> |
This file contains hidden or 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- This XSL Stylesheet created by SharePoint Experts, Inc. --> | |
<!-- http://sharepointexperience.com --> | |
<xsl:output method="html" indent="yes"/> | |
<!-- This template is the "wrapper" or "container" for the custom view. --> | |
<xsl:template match="/"> | |
<!-- This is the actual wrapper element that will be emitted --> | |
<div> |
This file contains hidden or 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
<xsl:choose> | |
<xsl:when test="@PercentComplete = '0 %'"> | |
Not started | |
</xsl:when> | |
<xsl:when test="@PercentComplete = '100 %'"> | |
Completed | |
</xsl:when> | |
<xsl:otherwise> | |
In process - Current status is <xsl:value-of select="@status"/> | |
</xsl:otherwise> |
This file contains hidden or 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
<!DOCTYPE xsl:stylesheet [ <!ENTITY theTitle "@Title"> <!ENTITY copytext "Copyright (c) 2012 SharePoint Experts"> ]> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- This XSL Stylesheet created by SharePoint Experts, Inc. --> | |
<!-- http://sharepointexperience.com --> | |
<xsl:output method="html" indent="yes"/> | |
<!-- This template is the "wrapper" or "container" for the custom view. --> | |
<xsl:template match="/"> | |
<!-- This is the actual wrapper element that will be emitted --> |
This file contains hidden or 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="/"> | |
<xmp> | |
<xsl:apply-templates /> | |
</xmp> | |
</xsl:template> | |
<xsl:template match="@*|node()"> |
This file contains hidden or 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
#sliderList li { | |
display: block; | |
width: 400px; | |
height: 200px; | |
margin: 0; | |
padding: 0; | |
position: absolute; | |
left: -400px; | |
top: 0; | |
opacity: 0; |
This file contains hidden or 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- This XSL Stylesheet created by SharePoint Experts, Inc. --> | |
<!-- http://sharepointexperience.com --> | |
<xsl:output indent="yes" method="xml"/> | |
<!-- This template is the "wrapper" or "container" for the custom view. --> | |
<xsl:template match="/"> | |
<!-- This is the actual wrapper element that will be emitted --> | |
<svg height="420px" width="{(count(/dsQueryResponse/Rows/Row)+2)*55}px" xmlns="http://www.w3.org/2000/svg"> | |
<g id="bar" transform="translate(0,420)"> | |
<!-- This will tell the data view to look for the actual content |
This file contains hidden or 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
var bodyClass = | |
"site" | |
+ _spPageContextInfo.siteServerRelativeUrl.replace(/\W/g, "-"); | |
bodyClass += | |
" web" | |
+ _spPageContextInfo.webServerRelativeUrl.replace(/\W/g, "-"); | |
document.body.className += " " + bodyClass; |
This file contains hidden or 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
var SPE = { | |
DesignHelpers: { | |
Classes: { | |
site: "site" + _spPageContextInfo.siteServerRelativeUrl.replace(/\W/g, "-"), | |
web: "web" +_spPageContextInfo.webServerRelativeUrl.replace(/\W/g, "-"), | |
pagestate: "page-state-" + (SP.Ribbon.PageState.Handlers.isInEditMode() == false) ? "view" : "edit" | |
} | |
} | |
}; |
This file contains hidden or 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
function getUserInfo() { | |
var ctx = new SP.ClientContext.get_current(); | |
var web = ctx.get_web(); | |
this.usr = web.get_currentUser(); | |
ctx.load(this.usr); | |
ctx.executeQueryAsync( | |
Function.createDelegate(this, this.getUserInfo_success), |