Ambrosia

 view release on metacpan or  search on metacpan

share/Templates/Templates/XSLT+DOJO/edit_json.xsl  view on Meta::CPAN

	<xslt:for-each select="atns:Key">
		<input type="hidden">
			<xslt:attribute name="name"><xslt:value-of select="atns:FieldRef/@Name"/></xslt:attribute>
		<xsl:attribute name="value"><xsl:value-of>
				<xslt:attribute name="select"><xslt:value-of select="concat('./',../@Name,'/@',atns:FieldRef/@Name)"/></xslt:attribute>
			</xsl:value-of>
			</xsl:attribute>
		</input>
	</xslt:for-each>
	<table>
		<tr><td colspan="2" align="center" style="font-size: 1.2em;">
			<b>Edit <xslt:value-of select="$label" /></b>
		</td></tr>
		<xslt:apply-templates select="atns:Field"/>

		<xslt:variable name="EId" select="@Id" />
		<xslt:if test="boolean(/atns:Application/atns:EntitysRef/atns:Entity[@Id=/atns:Application/atns:Relations/atns:Relation[@RefId=$EId]/atns:EntityRef/@RefId and @Type='BIND'])">
		<xslt:apply-templates
			select="/atns:Application/atns:EntitysRef/atns:Entity[@Id=/atns:Application/atns:Relations/atns:Relation[@RefId=$EId]/atns:EntityRef/@RefId and @Type='BIND']" mode="bind" />
		</xslt:if>
	</table>

share/Templates/Templates/XSLT+DOJO/incDojo_JS_Css.xsl  view on Meta::CPAN

<style type="text/css" media="screen">
	@import "<xsl:value-of select="$dojo_host" />/dojo/resources/dojo.css";
	@import "<xsl:value-of select="$dojo_host" />/dijit/themes/claro/claro.css";
	@import "<xsl:value-of select="$dojo_host" />/dijit/themes/claro/document.css";

	html, body {
		height: 100%;
		margin: 0;
		overflow: hidden;
		padding: 0;
		font-size: 1.1em;
		font-family: Geneva, Arial, Helvetica, sans-serif;
	}

	.heading {
		font-weight: bold;
		padding-bottom: 0.25em;
	}
</style>

<script>
	dojoConfig= {
		has: {
			"dojo-firebug": true
		},
		parseOnLoad: true,

share/Templates/Templates/XSLT+DOJO/list_json.xsl  view on Meta::CPAN

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<xslt:apply-imports/>

		<style type="text/css">
			@import "/ajax/libs/dojo/1.7.2/dojox/grid/resources/Grid.css";
			@import "/ajax/libs/dojo/1.7.2/dojox/grid/resources/claroGrid.css";

			.head {
				text-align:center;
				//font-weight:bold;
				font-size: 1.5em;
				height: 1.6em;
				width: 98%;
			}

			#grid {
				width: 98%;
				height: 80%;
			}
		</style>
		<link rel="stylesheet" type="text/css" href="/ajax/libs/dojo/1.7.2/dojox/grid/enhanced/resources/claro/EnhancedGrid.css"/>

share/Templates/Templates/XSLT+DOJO/main.xsl  view on Meta::CPAN


		<style type="text/css">
			#appLayout {
				height: 95%;
			}
			#leftCol {
				width: 16em;
			}
			.head {
				background-color: #80ccff;
				font-size: 1.5em;
				height: 1.6em;
			}

			.claro .demoLayout .edgePanel {
				//background-color: #d0e9fc;
			}

			a {color:#408DD2;}
		</style>
	</head>



( run in 1.379 second using v1.01-cache-2.11-cpan-5735350b133 )