diff --git a/Source/assets/html/TOS.twig b/Source/assets/html/TOS.twig index cbec40c..55f8029 100644 --- a/Source/assets/html/TOS.twig +++ b/Source/assets/html/TOS.twig @@ -1,4 +1,4 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}

Terms of service

@@ -20,7 +20,7 @@

The registered user in all moment can close their account but all data hosted in CodeShare will remain hosted.
JKA Network is reserved the right to ban the access to account of any user who engage vandalism

+ href="{{path('doc')}}#vandalism">vandalism

Cookie policiy

In CodeShare are used two differents cookies, one for session system and other for cookies' consent. You can block CodeShare cookies but you cannot log in because we cannot check if login was right. diff --git a/Source/assets/html/about.twig b/Source/assets/html/about.twig index 1ddc237..616849d 100644 --- a/Source/assets/html/about.twig +++ b/Source/assets/html/about.twig @@ -1,4 +1,4 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}

diff --git a/Source/assets/html/add.twig b/Source/assets/html/add.twig index 072d911..e15b55e 100644 --- a/Source/assets/html/add.twig +++ b/Source/assets/html/add.twig @@ -52,9 +52,7 @@
- +
diff --git a/Source/assets/html/base.twig b/Source/assets/html/base.twig index 4b9da97..cc46707 100644 --- a/Source/assets/html/base.twig +++ b/Source/assets/html/base.twig @@ -2,35 +2,35 @@ {{ page.title }} - + - - + + + {##} {% block css %}{% endblock %} - - - + + + - + -{% include 'nav.twig' %} -{% include 'header.twig' %} +{% include app.fronthtml~'/nav.twig' %} +{% include app.fronthtml~'/header.twig' %} {% block content %}{% endblock %} -{% include "footer.twig" %} +{% include app.fronthtml~"/footer.twig" %} {% block js %} {% endblock %} - + + + + + + +{% include 'nav.twig' %} +{% include 'header.twig' %} + +{% block content %}{% endblock %} + +{% include "footer.twig" %} + +{% block js %} + +{% endblock %} + + + + + diff --git a/Source/assets/html/code.twig b/Source/assets/html/code.twig index 0b3a49f..919019b 100644 --- a/Source/assets/html/code.twig +++ b/Source/assets/html/code.twig @@ -1,9 +1,9 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}
- {% include "codebox.twig" %} + {% include app.fronthtml~"/codebox.twig" %}
@@ -25,7 +25,7 @@ Delete source {% endif %}#} {% if page.otherV %} -
View version's history
+
View version's history
{% endif %} {#
Se necesita tener JavaScript habilitado para poder ver los comentarios de la web.
#}

Other implementations

@@ -36,12 +36,12 @@ - - - + {# + + #}
- Link + {{i.lLang}}
Lang: {{ i.lLang }}
Version: {{ i.version }}
{{ i.code }}
@@ -81,6 +81,14 @@ {% endfor %} +
+ + +
+
+ + +
diff --git a/Source/assets/html/codebox.twig b/Source/assets/html/codebox.twig index b6efe7f..e630569 100644 --- a/Source/assets/html/codebox.twig +++ b/Source/assets/html/codebox.twig @@ -1,14 +1,14 @@ - {% if code.extlib is not null %} + {% if code.extlib is defined %}
- {{ code.name }} + {{ code.name }}
Author: {{ code.nick }} Version: {{ code.version }} Lang: {{ code.lLang }}
External library: {{ code.extlib }} diff --git a/Source/assets/html/doc.twig b/Source/assets/html/doc.twig index 0b7ef73..d40a223 100644 --- a/Source/assets/html/doc.twig +++ b/Source/assets/html/doc.twig @@ -1,4 +1,4 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}

Documentation

@@ -9,9 +9,9 @@

How can I submit my own solution?

  1. First, you need to sign up in CodeShare (link), and then go to submit page to start.

    - submit
  2. + submit
  3. Write the solution's name and description. Notice that in this input boxes you shouldn't type any reference of language they can be uploaded in multiple languages in the future, and there are a box for language.

    -
  4. +
  5. Now select language to help other users to find it easily.

  6. If your solution use a external library you can add its name and its version in their own input boxes.

  7. After that, introduce the Input and Output examples with the following criteria:

  8. diff --git a/Source/assets/html/error.twig b/Source/assets/html/error.twig index 247c8ec..64b5c62 100644 --- a/Source/assets/html/error.twig +++ b/Source/assets/html/error.twig @@ -1,4 +1,4 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}

    {{ error.number }} - {{ error.text }} diff --git a/Source/assets/html/firstCodes.twig b/Source/assets/html/firstCodes.twig index c9a3138..759ba73 100644 --- a/Source/assets/html/firstCodes.twig +++ b/Source/assets/html/firstCodes.twig @@ -7,7 +7,7 @@ {% endif %}
    - {% include "codebox.twig" %} + {% include app.fronthtml~"/codebox.twig" %}
    {% endfor %} diff --git a/Source/assets/html/firstpage.twig b/Source/assets/html/firstpage.twig index d919ce7..b236bdd 100644 --- a/Source/assets/html/firstpage.twig +++ b/Source/assets/html/firstpage.twig @@ -1,8 +1,8 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}

    Last codes
    -{% include "filter.twig" %} +{% include app.fronthtml~"/filter.twig" %}
    - {% include "firstCodes.twig" %} + {% include app.fronthtml~"/firstCodes.twig" %}
    {% endblock %} \ No newline at end of file diff --git a/Source/assets/html/loginregister.twig b/Source/assets/html/loginregister.twig index 5f10607..130c5f6 100644 --- a/Source/assets/html/loginregister.twig +++ b/Source/assets/html/loginregister.twig @@ -1,4 +1,4 @@ -{% extends "base.twig" %} +{% extends app.fronthtml~"/base.twig" %} {% block content %}
    @@ -11,7 +11,7 @@ {% if page.state == 1 %}

    Bad credentials

    {% elseif page.state == 2 %} -

    Email already exits

    +

    Error during sign-up, check your data

    {% endif %}
    @@ -73,16 +73,14 @@
- +
- +
@@ -127,7 +125,7 @@ document.getElementById("emailre").onchange = checkEmail; document.getElementById("emailre-re").onchange = checkEmail; - {% if page.page == "register" or page.state == 2 %} + {% if page.page == "sign-up" or page.state == 2 %} nowRegister(); {% endif %} diff --git a/Source/assets/html/nav.twig b/Source/assets/html/nav.twig index e23a328..85e8252 100644 --- a/Source/assets/html/nav.twig +++ b/Source/assets/html/nav.twig @@ -11,16 +11,16 @@