From c04f22e91f78c0224419fa9e68e6e16e2976a0bf Mon Sep 17 00:00:00 2001 From: Tina_Azure <-> Date: Tue, 25 Apr 2023 00:52:49 +0200 Subject: [PATCH] Move freelancer interface and return to index button into the includes folder --- templates/alias_Redirect.html | 4 +--- .../customerIndex_FreelancerListing.html | 20 +------------------ templates/customer_FreelancerListing.html | 4 +--- .../customer_FreelancerListing_NOTFOUND.html | 4 +--- templates/customer_Freelancer_Template.html | 9 +-------- .../customer_Freelancer_Template_Request.html | 4 +--- ...reelancer_Template_Request_Fulfilment.html | 10 ++++------ ...cer_Template_Request_Fulfilment_ERROR.html | 10 ++++------ templates/freelancer_Signup.html | 4 +--- ...oginSignupProfileLogoutInterface.html.html | 19 ++++++++++++++++++ .../returnToIndexButton.html.html | 3 +++ 11 files changed, 37 insertions(+), 54 deletions(-) create mode 100644 templates/templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html create mode 100644 templates/templateIncludes/returnToIndexButton.html.html diff --git a/templates/alias_Redirect.html b/templates/alias_Redirect.html index f933b03..c9f1482 100644 --- a/templates/alias_Redirect.html +++ b/templates/alias_Redirect.html @@ -14,9 +14,7 @@ window.onload = formAutoSubmit; -
- -
+ {{> templateIncludes/returnToIndexButton.html.html}}
diff --git a/templates/customerIndex_FreelancerListing.html b/templates/customerIndex_FreelancerListing.html index a6880e2..67b74b0 100644 --- a/templates/customerIndex_FreelancerListing.html +++ b/templates/customerIndex_FreelancerListing.html @@ -23,25 +23,7 @@ {{/freelancerProfiles}} -
- {{^cookieloggedin}} -
- -
-
- -
- {{/cookieloggedin}} - {{#cookieloggedin}} -
- -
-
-
- -
- {{/cookieloggedin}} -
+ {{> templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html}} diff --git a/templates/customer_FreelancerListing.html b/templates/customer_FreelancerListing.html index 0f0c106..b087c85 100644 --- a/templates/customer_FreelancerListing.html +++ b/templates/customer_FreelancerListing.html @@ -11,9 +11,7 @@
Detailed Profile:
{{freelancergeneralinformation}}

-
- -
+ {{> templateIncludes/returnToIndexButton.html.html}}
{{#templates}} diff --git a/templates/customer_FreelancerListing_NOTFOUND.html b/templates/customer_FreelancerListing_NOTFOUND.html index 1eb969c..67de930 100644 --- a/templates/customer_FreelancerListing_NOTFOUND.html +++ b/templates/customer_FreelancerListing_NOTFOUND.html @@ -5,8 +5,6 @@

Freelancer: {{selectedfreelancername}} Could not be found!

- - - + {{> templateIncludes/returnToIndexButton.html.html}} \ No newline at end of file diff --git a/templates/customer_Freelancer_Template.html b/templates/customer_Freelancer_Template.html index 742772d..e4ead11 100644 --- a/templates/customer_Freelancer_Template.html +++ b/templates/customer_Freelancer_Template.html @@ -34,18 +34,11 @@
- - - - -
- - - + {{> templateIncludes/returnToIndexButton.html.html}} diff --git a/templates/customer_Freelancer_Template_Request.html b/templates/customer_Freelancer_Template_Request.html index bd71956..237c5c8 100644 --- a/templates/customer_Freelancer_Template_Request.html +++ b/templates/customer_Freelancer_Template_Request.html @@ -27,9 +27,7 @@
- - - + {{> templateIncludes/returnToIndexButton.html.html}} diff --git a/templates/customer_Freelancer_Template_Request_Fulfilment.html b/templates/customer_Freelancer_Template_Request_Fulfilment.html index 0dd6013..8a9d6e5 100644 --- a/templates/customer_Freelancer_Template_Request_Fulfilment.html +++ b/templates/customer_Freelancer_Template_Request_Fulfilment.html @@ -10,13 +10,11 @@ The Request has been successfully created.
- - - + + +
- - - + {{> templateIncludes/returnToIndexButton.html.html}} diff --git a/templates/customer_Freelancer_Template_Request_Fulfilment_ERROR.html b/templates/customer_Freelancer_Template_Request_Fulfilment_ERROR.html index 3220493..bfb2c00 100644 --- a/templates/customer_Freelancer_Template_Request_Fulfilment_ERROR.html +++ b/templates/customer_Freelancer_Template_Request_Fulfilment_ERROR.html @@ -30,13 +30,11 @@ {{/ERROR_UNABLE_TO_CREATE_REQUEST}}
- - - + + +
- - - + {{> templateIncludes/returnToIndexButton.html.html}} diff --git a/templates/freelancer_Signup.html b/templates/freelancer_Signup.html index fbe82f2..2c202c0 100644 --- a/templates/freelancer_Signup.html +++ b/templates/freelancer_Signup.html @@ -13,9 +13,7 @@
- - - + {{> templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html}} diff --git a/templates/templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html b/templates/templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html new file mode 100644 index 0000000..405df8d --- /dev/null +++ b/templates/templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html @@ -0,0 +1,19 @@ +
+ {{^cookieloggedin}} +
+ + +
+ + + {{/cookieloggedin}} + {{#cookieloggedin}} +
+ + +
+
+ + + {{/cookieloggedin}} +
\ No newline at end of file diff --git a/templates/templateIncludes/returnToIndexButton.html.html b/templates/templateIncludes/returnToIndexButton.html.html new file mode 100644 index 0000000..997636e --- /dev/null +++ b/templates/templateIncludes/returnToIndexButton.html.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file