Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pyramid-debugtoolbar / panels / templates / request_vars.dbtmako
Size: Mime:
<h4>Cookie Variables</h4>
% if cookies:
<table class="table table-striped table-condensed">
	<colgroup>
		<col style="width:20%"/>
		<col/>
	</colgroup>
	<thead>
		<tr>
			<th>Variable</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(cookies):
		<tr>
			<td>${key|h}</td>
			<td>${value|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No cookie data</p>
% endif

<h4>Session Variables</h4>
% if session:
<table class="table table-striped table-condensed">
	<colgroup>
		<col style="width:20%"/>
		<col/>
	</colgroup>
	<thead>
		<tr>
			<th>Variable</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(session):
		<tr>
			<td>${key|h}</td>
			<td>${value|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No session data</p>
% endif

<h4>GET Variables</h4>
% if get:
<table class="table table-striped table-condensed">
	<thead>
		<tr>
			<th>Variable</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(get):
		<tr>
			<td>${key|h}</td>
			<td>${', '.join(value)|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No GET data</p>
% endif

<h4>POST Variables</h4>
% if post:
<table class="table table-striped table-condensed">
	<thead>
		<tr>
			<th>Variable</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(post):
		<tr>
			<td>${key|h}</td>
			<td>${value|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No POST data</p>
% endif

<h4>Request attributes</h4>
% if attrs:
<table class="table table-striped table-condensed">
	<thead>
		<tr>
			<th>Attribute</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(attrs):
		<tr>
			<td>${key|h}</td>
			<td>${value|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No request attributes</p>
% endif

<h4>Request environ</h4>
% if environ:
<table class="table table-striped table-condensed">
	<thead>
		<tr>
			<th>Attribute</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		% for i, (key, value) in enumerate(environ):
		<tr>
			<td>${key|h}</td>
			<td>${value|h}</td>
		</tr>
		% endfor
	</tbody>
</table>
% else:
<p>No request environ</p>
% endif