Move Generic Style out of Templates
This commit is contained in:
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Redirecting:</h1>
|
<h1>Redirecting:</h1>
|
||||||
@ -29,7 +13,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.onload = formAutoSubmit;
|
window.onload = formAutoSubmit;
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<form action="/" method="post">
|
<form action="/" method="post">
|
||||||
<button type="submit" class="button">Return to freelancer selection</button>
|
<button type="submit" class="button">Return to freelancer selection</button>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer Profiles</h2>
|
<h2>Freelancer Profiles</h2>
|
||||||
@ -39,6 +23,22 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{/freelancerProfiles}}
|
{{/freelancerProfiles}}
|
||||||
</table>
|
</table>
|
||||||
|
<div>
|
||||||
|
{{^cookieloggedin}}
|
||||||
|
<form action="/freelancer/login" method="get">
|
||||||
|
<button type="submit" class="button">Freelancer Login</button>
|
||||||
|
</form>
|
||||||
|
{{/cookieloggedin}}
|
||||||
|
{{#cookieloggedin}}
|
||||||
|
<form action="/freelancer/profile" method="get">
|
||||||
|
<button type="submit" class="button">Profile</button>
|
||||||
|
</form>
|
||||||
|
<br>
|
||||||
|
<form action="/freelancer/logout" method="get">
|
||||||
|
<button type="submit" class="button">Logout</button>
|
||||||
|
</form>
|
||||||
|
{{/cookieloggedin}}
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer: {{freelancername}}</h2>
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Freelancer: {{selectedfreelancername}} Could not be found!</h1>
|
<h1>Freelancer: {{selectedfreelancername}} Could not be found!</h1>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer: {{freelancername}}</h2>
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer: {{freelancername}}</h2>
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer: {{freelancername}}</h2>
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
@ -1,23 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
{{> templateIncludes/style.css.html}}
|
||||||
table {
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
border-collapse: collapse;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
border: 1px solid #dddddd;
|
|
||||||
text-align: left;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) {
|
|
||||||
background-color: #dddddd;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Freelancer: {{freelancername}}</h2>
|
<h2>Freelancer: {{freelancername}}</h2>
|
||||||
|
17
templates/templateIncludes/style.css.html
Normal file
17
templates/templateIncludes/style.css.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<style>
|
||||||
|
table {
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
border: 1px solid #dddddd;
|
||||||
|
text-align: left;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: #dddddd;
|
||||||
|
}
|
||||||
|
</style>
|
Reference in New Issue
Block a user