Rewriting of Templates to utilize POST instead of GET
This commit is contained in:
@ -29,7 +29,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{#freelancerProfiles}}
|
{{#freelancerProfiles}}
|
||||||
<tr>
|
<tr>
|
||||||
<th><a href="/customer/{{name}}/{{id}}">{{name}}</a></th>
|
<th>
|
||||||
|
<form action="/customer/{{name}}" method="post">
|
||||||
|
<button type="submit" name="freelancerID" value="{{id}}" class="button">{{name}}</button>
|
||||||
|
</form>
|
||||||
|
</th>
|
||||||
<th>{{basicinformation}}</th>
|
<th>{{basicinformation}}</th>
|
||||||
<th>{{commissionsclosed}}</th>
|
<th>{{commissionsclosed}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -37,3 +41,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,15 +27,25 @@
|
|||||||
<div>Detailed Profile:</div>
|
<div>Detailed Profile:</div>
|
||||||
<div>{{freelancergeneralinformation}}</div>
|
<div>{{freelancergeneralinformation}}</div>
|
||||||
<br>
|
<br>
|
||||||
<a href="/">Return to freelancer selection</a>
|
<form action="/" method="post">
|
||||||
|
<button type="submit" class="button">Return to freelancer selection</button>
|
||||||
|
</form>
|
||||||
<br>
|
<br>
|
||||||
<table>
|
<table>
|
||||||
{{#templates}}
|
{{#templates}}
|
||||||
<tr>
|
<tr>
|
||||||
<th><a href="/customer/{{freelancername}}/template/{{name}}/{{id}}">{{name}}</a></th>
|
<th>
|
||||||
|
<form action="/customer/{{freelancername}}/template/{{name}}" method="post">
|
||||||
|
<button type="submit" name="templateID" value="{{id}}" class="button">{{name}}</button>
|
||||||
|
</form>
|
||||||
|
</th>
|
||||||
<th>{{content}}</th>
|
<th>{{content}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{{/templates}}
|
{{/templates}}
|
||||||
</table>
|
</table>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -21,6 +21,8 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Freelancer: {{selectedfreelancername}} Could not be found!</h1>
|
<h1>Freelancer: {{selectedfreelancername}} Could not be found!</h1>
|
||||||
<h2><a href="/">Return to freelancer selection</a></h2>
|
<form action="/" method="post">
|
||||||
|
<button type="submit" class="button">Return to freelancer selection</button>
|
||||||
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Reference in New Issue
Block a user