Rewriting of Templates to utilize POST instead of GET
This commit is contained in:
parent
ff4f6d6fb6
commit
3915a375c5
|
@ -29,11 +29,18 @@
|
|||
</tr>
|
||||
{{#freelancerProfiles}}
|
||||
<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>{{commissionsclosed}}</th>
|
||||
</tr>
|
||||
{{/freelancerProfiles}}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -27,15 +27,25 @@
|
|||
<div>Detailed Profile:</div>
|
||||
<div>{{freelancergeneralinformation}}</div>
|
||||
<br>
|
||||
<a href="/">Return to freelancer selection</a>
|
||||
<form action="/" method="post">
|
||||
<button type="submit" class="button">Return to freelancer selection</button>
|
||||
</form>
|
||||
<br>
|
||||
<table>
|
||||
{{#templates}}
|
||||
<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>
|
||||
</tr>
|
||||
{{/templates}}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
|
@ -21,6 +21,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user