Brought back flatpages. Templates refinement
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 31 Oct 2012 12:59:24 +0000 (14:59 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 31 Oct 2012 12:59:24 +0000 (14:59 +0200)
15 files changed:
flowspec/views.py
initial_data/README.txt [new file with mode: 0644]
initial_data/fixtures_manual.xml [new file with mode: 0644]
locale/el/LC_MESSAGES/django.mo
locale/el/LC_MESSAGES/django.po
templates/base.html
templates/error.html
templates/flatpages/default.html
templates/footer.html
templates/getinfo.html [deleted file]
templates/gettos.html [deleted file]
templates/registration/activate.html
templates/registration/activation_complete.html
templates/user_routes.html
templates/welcome.html

index 80cae3e..774a810 100644 (file)
@@ -435,12 +435,6 @@ def get_peer_techc_mails(user):
     mail.extend(techmails_list)
     return mail
 
-def gettos(request):
-    return render_to_response('gettos.html', context_instance=RequestContext(request))
-
-def getinfo(request):
-    return render_to_response('getinfo.html', context_instance=RequestContext(request))
-
 def send_new_mail(subject, message, from_email, recipient_list, bcc_list):
     return EmailMessage(subject, message, from_email, recipient_list, bcc_list).send()
 
diff --git a/initial_data/README.txt b/initial_data/README.txt
new file mode 100644 (file)
index 0000000..9c363d6
--- /dev/null
@@ -0,0 +1,6 @@
+The 'fixtures_manual.xml' file fills the site table along with the flatpages
+Before running make sure you have set the default site name
+
+Run from root folder:
+
+./manage.py loaddata initial_data/fixtures_manual.xml
diff --git a/initial_data/fixtures_manual.xml b/initial_data/fixtures_manual.xml
new file mode 100644 (file)
index 0000000..88ebe59
--- /dev/null
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<django-objects version="1.0">
+    <object pk="2" model="flatpages.flatpage">
+        <field type="CharField" name="url">/fod/info/el/</field>
+        <field type="CharField" name="title">Πληροφορίες</field>
+        <field type="TextField" name="content">&lt;h5&gt;Πληροφορίες&lt;/h5&gt;\r
+\r
+Η υπηρεσία FoD (Firewall on Demand) παρέχει στην εκπαιδευτική και ακαδημαϊκή κοινότητα τη δυνατότητα για προστασία έναντι δικτυακών επιθέσεων που στοχέυουν στο δικτυακό εξοπλισμό που διαχειρίζονται.\r
+\r
+Ειδικότερα, η υπηρεσία απευθύνεται στα NOC των ιδρυμάτων‐φορέων του δικτύου ΕΔΕΤ που έχουν ανάγκες για βραχυπρόθεσμη προστασία έναντι δικτυακών επιθέσεων με προορισμό τον εξοπλισμό που διαχειρίζονται.\r
+\r
+Για τη διασφάλιση της ακεραιότητας της υπηρεσίας και προκειμένου αυτή να μην αποτελέσει πηγή επιθέσεων, το authentication των χρηστων πραγματοποιείται με τη χρήση Shibboleth. Το authorisation βασίζεται σε ένα συνδυασμό συγκεκριμένων attributes του Shibboleth με το address space που κάθε φορέας διαχειρίζεται. Το λογισμικό που επιλέχθηκε για την υλοποίηση της υπηρεσίας βασίζεται αποκλειστικά σε ανοιχτό κώδικα.\r
+\r
+Αιτήματα ή διευκρινίσεις που αφορούν στη λειτουργία της υπηρεσίας θα πρέπει να υποβάλλονται στο helpdesk του ΕΔΕΤ, τηλεφωνικά στο 800‐11‐47638 ή μέσω e‐mail στο helpdesk -στο- grnet.gr.\r
+\r
+&lt;h5&gt;Συμμετοχή&lt;/h5&gt;\r
+\r
+Η συμμετοχή στην υπηρεσία προϋποθέτη την ορθή διαμόρφωση συγκεκριμένων Shibboleth attributes:&lt;ul&gt;&lt;li&gt;HTTP_EPPN&lt;/li&gt;&lt;li&gt;HTTP_SHIB_HOMEORGANIZATION&lt;/li&gt;&lt;li&gt;HTTP_SHIB_INETORGPERSON_MAIL&lt;/li&gt;&lt;li&gt;Ένα κατάλληλο HTTP_SHIB_EP_ENTITLEMENT το οποίο παρέχεται από το Helpdesk&lt;/li&gt;&lt;/ul&gt;\r
+Προεραιτικά:\r
+&lt;ul&gt;&lt;li&gt;HTTP_SHIB_INETORGPERSON_GIVENNAME&lt;/li&gt;&lt;li&gt;HTTP_SHIB_PERSON_SURNAME&lt;/li&gt;&lt;/ul&gt;\r
+\r
+&lt;h5&gt;Χρήση&lt;/h5&gt;\r
+\r
+Η υπηρεσία δίνει τη δυνατότητα στους χρήστες να περιορίσουν ενεργές επιθέσεις που στοχεύουν στο δικτυακό τους εξοπλισμό. Βασίζεται στη δημιουργία δυναμικών φίλτρων firewall οι οποίοι εφαρμόζονται στο δίκτυο με τη χρήση του διαχειριστικού πρωτοκόλλου netconf και διαδίδονται στις συμβατές (Juniper) διτκυακές συσκευές του δικτύου κορμού της ΕΔΕΤ μέσω του BGP flowspec NLRI.\r
+\r
+Για την ορθή συμπλήρωση της αίτησης ενός νέου φίλτρου είναι απαραίτητο η διεύθυνση προορισμού να ανήκει στο δίκτυο διαχείρισης του φορέα από τον οποίο προέρχεται ο χρήστης. Στην παρούσα φάση περιορίζονται επιθέσεις ανά /29 υποδίκτυα.\r
+\r
+Τα αιτήματα για νέα φίλτρα εφαρμόζονται άμεσα στο δίκτυο και ως εκ τούτου θα πρέπει να δίνται ιδιαίτερη προσοχή κατά την αίτησή τους. Τα φίλτρα που έχουν εφαρμοσθεί στο δίκτυο αφαιρούνται μετά το πέρας της ημερομηνίας λήξης τους, \r
+ενώ οι χρήστες μπορούν να τα ενεργοποιήσουν ξανά μέσω της αντίστοιχης επιλογής. Παράλληλα, δίνεται η δυνατότητα για απενεργοποίηση αιτημάτων πριν τη λήξη τους κατά τη βούληση του χρήστη.\r
+\r
+&lt;h5&gt;Ασφάλεια&lt;/h5&gt;\r
+Για λόγους ασφαλείας, η υποβολή αιτημάτων καταγράφεται ενημερώνοντας τους διαχειριστές της υπηρεσίας. Οι διαχιριστές της υπηρεσίας μπορούν ανά πάσα στιγμή να αφαιρέσουν ενεργά αιτήματα από το δίκτυο, εάν κάτι τέτοιο κριθεί αναγκαίο.\r
+</field>
+        <field type="BooleanField" name="enable_comments">False</field>
+        <field type="CharField" name="template_name"></field>
+        <field type="BooleanField" name="registration_required">False</field>
+        <field to="sites.site" name="sites" rel="ManyToManyRel"><object pk="1"></object></field>
+    </object>
+    <object pk="1" model="flatpages.flatpage">
+        <field type="CharField" name="url">/fod/info/en/</field>
+        <field type="CharField" name="title">Info</field>
+        <field type="TextField" name="content">&lt;h5&gt;Intro&lt;/h5&gt;\r
+\r
+Firewall on Demand service provides potential users (educational and academic community) the option to protect their networking equipment against network attacks and threats.\r
+\r
+In particular, the service is targeted at network operators of GRNET's institutions who have needs for short-term protection against network attacks with destination, equipment they operate.\r
+To ensure the integrity of the service and in order to prevent the service being a source of attacks, the authentication of users is done via Shibboleth. The authorisation is based on a combination of Shibboleth attributes with the address space that each organization manages.\r
+The software chosen to implement the service is solely based on open source.\r
+Requests or clarifications concerning the operation of the service should be submitted to GRNET Helpdesk via phone at 800-11-47638 or via e-mail to helpdesk-at-grnet.gr.\r
+\r
+&lt;h5&gt;Joining the service&lt;/h5&gt;\r
+\r
+Joining the service requires the appropriate configuration of certain Shibboleth attributes:&lt;ul&gt;&lt;li&gt;HTTP_EPPN&lt;/li&gt;&lt;li&gt;HTTP_SHIB_HOMEORGANIZATION&lt;/li&gt;&lt;li&gt;HTTP_SHIB_INETORGPERSON_MAIL&lt;/li&gt;&lt;li&gt;An appropriate HTTP_SHIB_EP_ENTITLEMENT which is provided by GRNET Helpdesk&lt;/li&gt;&lt;/ul&gt;\r
+Optionally:\r
+&lt;ul&gt;&lt;li&gt;HTTP_SHIB_INETORGPERSON_GIVENNAME&lt;/li&gt;&lt;li&gt;HTTP_SHIB_PERSON_SURNAME&lt;/li&gt;&lt;/ul&gt;\r
+\r
+&lt;h5&gt;Use&lt;/h5&gt;\r
+\r
+The service enables users to mitigate active attacks aimed at their network equipment. \r
+It is based on the creation of dynamic firewall filters that are applied to the network using the management protocol NETCONF and are propagated to compatible (Juniper) backbone network devices via BGP flowspec NLRI.\r
+In order to properly complete the application for a new filter is essential that the destination address belongs to the user's administrative network. Currently attacks are limited per /29 subnet.\r
+Requests for new filters are applied directly to the network and therefore users should pay extra attention in their request. Filters that have been applied to the network are removed after their expiry date, and users can activate then again by selecting the corresponding option. \r
+Moreover, users are given the option for early deactivation of their requests.\r
+\r
+&lt;h5&gt;Security&lt;/h5&gt;\r
+\r
+For security reasons, the submission of requests is monitored by the administrators of the service.\r
+The service administrators may at any time remove active requests from the network, if this is deemed necessary</field>
+        <field type="BooleanField" name="enable_comments">False</field>
+        <field type="CharField" name="template_name"></field>
+        <field type="BooleanField" name="registration_required">False</field>
+        <field to="sites.site" name="sites" rel="ManyToManyRel"><object pk="1"></object></field>
+    </object>
+    <object pk="4" model="flatpages.flatpage">
+        <field type="CharField" name="url">/fod/tos/el/</field>
+        <field type="CharField" name="title">Όροι χρήσης</field>
+        <field type="TextField" name="content">&lt;h5&gt;Όροι χρήσης της υπηρεσίας Firewall on Demand&lt;/h5&gt;\r
+\r
+Η υπηρεσία FoD παρέχεται από την ΕΔΕΤ Α.Ε. προς την ακαδημαϊκή και ερευνητική κοινότητα και η χρήση της υπηρεσίας οφείλει να γίνεται μόνο για την προώθηση ακαδημαϊκών, εκπαιδευτικών και ερευνητικών σκοπών.\r
+Οι παρακάτω όροι εφαρμόζονται από όλους τους χρήστες της υπηρεσίας. Οι παρόντες όροι χρήσης, όπως κάθε φορά ισχύουν και τροποποιούνται, αποτελούν τη σύμβαση μεταξύ των χρηστών της υπηρεσίας και της ΕΔΕΤ Α.Ε. Για τη χρήση της υπηρεσίας είναι απαραίτητη η αποδοχή των παρακάτω όρων.\r
+\r
+&lt;h5&gt;Δυνητικοί Χρήστες&lt;/h5&gt;\r
+\r
+Η υπηρεσία απευθύνεται στα Κέντρα Δικτύων (ή σε αντίστοιχες δομές) των εγκεκριμένων από το ΔΣ &lt;a href='http://www.noc.grnet.gr/node/35' target='_blank'&gt;φορέων&lt;/a&gt; της ΕΔΕΤ Α.Ε που συμμετέχουν στην ομοσπονδιακή ταυτοποίηση με τη χρήση Shibboleth.\r
+Η υπηρεσία παρέχεται προκειμένου να περιοριστούν δικτυακές επιθέσεις που στοχεύουν στον εξοπλισμό των φορέων. Η είσοδος και χρήση της υπηρεσίας προϋποθέτη την ορθή διαμόρφωση συγκεκριμένων ιδιοτήτων του Shibboleth.\r
+</field>
+        <field type="BooleanField" name="enable_comments">False</field>
+        <field type="CharField" name="template_name"></field>
+        <field type="BooleanField" name="registration_required">False</field>
+        <field to="sites.site" name="sites" rel="ManyToManyRel"><object pk="1"></object></field>
+    </object>
+    <object pk="3" model="flatpages.flatpage">
+        <field type="CharField" name="url">/fod/tos/en/</field>
+        <field type="CharField" name="title">Terms of Service</field>
+        <field type="TextField" name="content">&lt;h5&gt;Terms of Service&lt;/h5&gt;\r
+\r
+The FoD service is provided by GRNET to the academic and research community and the use of the service should only be done to promote academic, educational and research purposes. The following terms apply to all users of the service. These terms of use, as applicable, and each time amended, constitute the contract between the service users and GRNET. To use the service, users are required to accept the following terms.\r
+\r
+&lt;h5&gt;Potential Users&lt;/h5&gt;\r
+\r
+The service is targeted at the Network Operation Centers (or similar structures) approved by the board of GRNET SA, participating in the federal identification using Shibboleth. The service is provided to mitigate network attacks aimed at network equipment. The entrance and use of the service requires proper configuration and release of specific Shibboleth attributes.</field>
+        <field type="BooleanField" name="enable_comments">False</field>
+        <field type="CharField" name="template_name"></field>
+        <field type="BooleanField" name="registration_required">False</field>
+        <field to="sites.site" name="sites" rel="ManyToManyRel"><object pk="1"></object></field>
+    </object>
+</django-objects>
\ No newline at end of file
index 416306c..f8255a7 100644 (file)
Binary files a/locale/el/LC_MESSAGES/django.mo and b/locale/el/LC_MESSAGES/django.mo differ
index 7a7a84e..a79d7b3 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-10-30 18:53+0200\n"
+"POT-Creation-Date: 2012-10-31 14:55+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Leonidas Poulopoulos <leopoul@grnet.gr>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -124,7 +124,7 @@ msgid "Port should be an integer"
 msgstr "Η port θα πρέπει να είναι ένας ακέραιος αριθμός"
 
 #: flowspec/models.py:107 templates/apply.html:201
-#: templates/user_routes.html:248
+#: templates/user_routes.html:250
 msgid "Name"
 msgstr "Όνομα"
 
@@ -158,20 +158,20 @@ msgid "Protocol"
 msgstr "Πρωτόκολλο"
 
 #: flowspec/models.py:121 templates/apply.html:345
-#: templates/user_routes.html:250
+#: templates/user_routes.html:252
 msgid "Then"
 msgstr "Ενέργειες"
 
-#: flowspec/models.py:124 templates/user_routes.html:251
+#: flowspec/models.py:124 templates/user_routes.html:253
 msgid "Status"
 msgstr "Κατάσταση"
 
 #: flowspec/models.py:127 templates/apply.html:366
-#: templates/user_routes.html:254
+#: templates/user_routes.html:256
 msgid "Expires"
 msgstr "Λήγει"
 
-#: flowspec/models.py:128 templates/user_routes.html:255
+#: flowspec/models.py:128 templates/user_routes.html:257
 msgid "Response"
 msgstr "Απόκριση Δικτύου"
 
@@ -319,7 +319,7 @@ msgstr "Βασικές Πληροφορίες Φίλτρου"
 msgid "Admin Options"
 msgstr "Επιλογές Διαχείρισης"
 
-#: templates/apply.html:219 templates/user_routes.html:253
+#: templates/apply.html:219 templates/user_routes.html:255
 msgid "Applier"
 msgstr "Χρήστης"
 
@@ -384,7 +384,7 @@ msgstr "Διαχειριστής"
 msgid "Logout"
 msgstr "Έξοδος"
 
-#: templates/base.html:65
+#: templates/base.html:65 templates/base.html.py:129
 msgid ""
 "After clicking Retry Login, it is strongly suggested to close your browser "
 "and visit the page again"
@@ -392,11 +392,12 @@ msgstr ""
 "Αφού επιλέξετε Επανάληψη Εισόδου κλείστε τον browser σας και επισκεφθείτε "
 "ξανά τη σελίδα"
 
-#: templates/base.html:65
+#: templates/base.html:65 templates/base.html.py:129
 msgid "Retry Login"
 msgstr "Επανάληψη Εισόδου"
 
-#: templates/base.html:67 templates/base.html.py:124 templates/welcome.html:20
+#: templates/base.html:67 templates/base.html.py:126 templates/base.html:132
+#: templates/welcome.html:21
 msgid "Shibboleth Login"
 msgstr "Είσοδος με Shibboleth"
 
@@ -404,30 +405,30 @@ msgstr "Είσοδος με Shibboleth"
 msgid "Language"
 msgstr "Γλώσσα"
 
-#: templates/base.html:133 templates/user_routes.html:212
-#: templates/user_routes.html.py:218
+#: templates/base.html:142 templates/user_routes.html:214
+#: templates/user_routes.html.py:220
 msgid "My rules"
 msgstr "Τα φίλτρα μου"
 
-#: templates/error.html:4 templates/error.html.py:30
+#: templates/error.html:4 templates/error.html.py:23
 msgid "Activation Pending"
 msgstr "Απαιτείται Ενεργοποίηση"
 
-#: templates/error.html:4 templates/error.html.py:30
+#: templates/error.html:4 templates/error.html.py:23
 msgid "Error"
 msgstr "Σφάλμα"
 
-#: templates/error.html:34
+#: templates/error.html:28
 msgid ""
 "One or more required shibboleth attributes were not released towards this "
 "service"
 msgstr "Ένα ή περισσότερα Shibboleth attributes δεν προωθήθηκαν στην υπηρεσία"
 
-#: templates/error.html:39
+#: templates/error.html:33
 msgid "Required shibboleth attributes"
 msgstr "Απαιτούμενα Shibboleth attributes "
 
-#: templates/error.html:46
+#: templates/error.html:40
 msgid "Optional"
 msgstr "Προεραιτικά"
 
@@ -444,8 +445,7 @@ msgstr ""
 msgid "GRNET"
 msgstr "ΕΔΕΤ"
 
-#: templates/footer.html:8 templates/getinfo.html:27
-#: templates/getinfo.html.py:28
+#: templates/footer.html:8
 msgid "Info"
 msgstr "Πληροφορίες"
 
@@ -453,166 +453,6 @@ msgstr "Πληροφορίες"
 msgid "Service Terms"
 msgstr "Όροι Χρήσης"
 
-#: templates/getinfo.html:33
-msgid "Intro"
-msgstr "Εισαγωγή"
-
-#: templates/getinfo.html:34
-msgid ""
-"Firewall on Demand service provides potential users (educational and "
-"academic community) the option to protect their networking equipment against "
-"network attacks and threats.\n"
-"\n"
-"In particular, the service is targeted at network operators of GRNET's "
-"institutions who have needs for short-term protection against network "
-"attacks with destination, equipment they operate.\n"
-"To ensure the integrity of the service and in order to prevent the service "
-"being a source of attacks, the authentication of users is done via "
-"Shibboleth. The authorisation is based on a combination of Shibboleth "
-"attributes with the address space that each organization manages.\n"
-"The software chosen to implement the service is solely based on open "
-"source.\n"
-"Requests or clarifications concerning the operation of the service should be "
-"submitted to GRNET Helpdesk via phone at 800-11-47638 or via e-mail to "
-"helpdesk-at-grnet.gr.\n"
-"\n"
-"\n"
-msgstr ""
-"Η υπηρεσία FoD (Firewall on Demand) παρέχει στην εκπαιδευτική και ακαδημαϊκή "
-"κοινότητα τη δυνατότητα για προστασία έναντι δικτυακών επιθέσεων που "
-"στοχέυουν στο δικτυακό εξοπλισμό που διαχειρίζονται.\n"
-"Ειδικότερα, η υπηρεσία απευθύνεται στα NOC των ιδρυμάτων‐φορέων του δικτύου "
-"ΕΔΕΤ που έχουν ανάγκες για βραχυπρόθεσμη προστασία έναντι δικτυακών "
-"επιθέσεων με προορισμό τον εξοπλισμό που διαχειρίζονται.\n"
-"Για τη διασφάλιση της ακεραιότητας της υπηρεσίας και προκειμένου αυτή να μην "
-"αποτελέσει πηγή επιθέσεων, το authentication των χρηστων πραγματοποιείται με "
-"τη χρήση Shibboleth. Το authorisation βασίζεται σε ένα συνδυασμό "
-"συγκεκριμένων attributes του Shibboleth με το address space που κάθε φορέας "
-"διαχειρίζεται.\n"
-"Το λογισμικό που επιλέχθηκε για την υλοποίηση της υπηρεσίας βασίζεται "
-"αποκλειστικά σε ανοιχτό κώδικα.\n"
-"Αιτήματα ή διευκρινίσεις που αφορούν στη λειτουργία της υπηρεσίας θα πρέπει "
-"να υποβάλλονται στο helpdesk του ΕΔΕΤ, τηλεφωνικά στο 800‐11‐47638 ή μέσω e‐"
-"mail στο helpdesk -στο- grnet.gr.\n"
-
-#: templates/getinfo.html:43
-msgid "Joining the service"
-msgstr "Συμμετοχή"
-
-#: templates/getinfo.html:44
-msgid ""
-"Joining the service requires the appropriate configuration of certain "
-"Shibboleth attributes"
-msgstr ""
-"Η συμμετοχή στην υπηρεσία προϋποθέτη την ορθή διαμόρφωση συγκεκριμένων "
-"Shibboleth attributes"
-
-#: templates/getinfo.html:49
-msgid ""
-"An appropriate HTTP_SHIB_EP_ENTITLEMENT which is provided by GRNET Helpdesk"
-msgstr ""
-"Ένα κατάλληλο HTTP_SHIB_EP_ENTITLEMENT το οποίο παρέχεται από το Helpdesk"
-
-#: templates/getinfo.html:51
-msgid "Optionally"
-msgstr "Προεραιτικά"
-
-#: templates/getinfo.html:56
-msgid "Use"
-msgstr "Χρήση"
-
-#: templates/getinfo.html:58
-msgid ""
-"The service enables users to mitigate active attacks aimed at their network "
-"equipment. \n"
-"It is based on the creation of dynamic firewall filters that are applied to "
-"the network using the management protocol NETCONF and are propagated to "
-"compatible (Juniper) backbone network devices via BGP flowspec NLRI.\n"
-"In order to properly complete the application for a new filter is essential "
-"that the destination address belongs to the user's administrative network. "
-"Currently attacks are limited per /29 subnet.\n"
-"Requests for new filters are applied directly to the network and therefore "
-"users should pay extra attention in their request. Filters that have been "
-"applied to the network are removed after their expiry date, and users can "
-"activate then again by selecting the corresponding option. \n"
-"Moreover, users are given the option for early deactivation of their "
-"requests.\n"
-msgstr ""
-"Η υπηρεσία δίνει τη δυνατότητα στους χρήστες να περιορίσουν ενεργές "
-"επιθέσεις που στοχεύουν στο δικτυακό τους εξοπλισμό. Βασίζεται στη "
-"δημιουργία δυναμικών φίλτρων firewall οι οποίοι εφαρμόζονται στο δίκτυο με "
-"τη χρήση του διαχειριστικού πρωτοκόλλου netconf και διαδίδονται στις "
-"συμβατές (Juniper) διτκυακές συσκευές του δικτύου κορμού της ΕΔΕΤ μέσω του "
-"BGP flowspec NLRI.\n"
-"Για την ορθή συμπλήρωση της αίτησης ενός νέου φίλτρου είναι απαραίτητο η "
-"διεύθυνση προορισμού να ανήκει στο δίκτυο διαχείρισης του φορέα από τον "
-"οποίο προέρχεται ο χρήστης. Στην παρούσα φάση περιορίζονται επιθέσεις "
-"ανά /29 υποδίκτυα.\n"
-"Τα αιτήματα για νέα φίλτρα εφαρμόζονται άμεσα στο δίκτυο και ως εκ τούτου θα "
-"πρέπει να δίνται ιδιαίτερη προσοχή κατά την αίτησή τους. Τα φίλτρα που έχουν "
-"εφαρμοσθεί στο δίκτυο αφαιρούνται μετά το πέρας της ημερομηνίας λήξης τους, "
-"ενώ οι χρήστες μπορούν να τα ενεργοποιήσουν ξανά μέσω της αντίστοιχης "
-"επιλογής. Παράλληλα, δίνεται η δυνατότητα για απενεργοποίηση αιτημάτων πριν "
-"τη λήξη τους κατά τη βούληση του χρήστη\n"
-
-#: templates/getinfo.html:65
-msgid "Security"
-msgstr "Ασφάλεια"
-
-#: templates/getinfo.html:66
-msgid ""
-"For security reasons, the submission of requests is monitored by the "
-"administrators of the service.\n"
-"The service administrators may at any time remove active requests from the "
-"network, if this is deemed necessary"
-msgstr ""
-"Για λόγους ασφαλείας, η υποβολή αιτημάτων καταγράφεται ενημερώνοντας τους "
-"διαχειριστές της υπηρεσίας.\n"
-"Οι διαχιριστές της υπηρεσίας μπορούν ανά πάσα στιγμή να αφαιρέσουν ενεργά "
-"αιτήματα από το δίκτυο, εάν κάτι τέτοιο κριθεί αναγκαίο"
-
-#: templates/gettos.html:27 templates/gettos.html.py:28
-msgid "Terms of Service"
-msgstr "Όροι χρήσης της υπηρεσίας Firewall on Demand"
-
-#: templates/gettos.html:33
-msgid ""
-"The FoD service is provided by GRNET to the academic and research community "
-"and the use of the service should only be done to promote academic, "
-"educational and research purposes.\n"
-"The following terms apply to all users of the service. These terms of use, "
-"as applicable, and each time amended, constitute the contract between the "
-"service users and GRNET.\n"
-"To use the service, users are required to accept the following terms."
-msgstr ""
-"Η υπηρεσία FoD παρέχεται από την ΕΔΕΤ Α.Ε. προς την ακαδημαϊκή και "
-"ερευνητική κοινότητα και η χρήση της υπηρεσίας οφείλει να γίνεται μόνο για "
-"την προώθηση ακαδημαϊκών, εκπαιδευτικών και ερευνητικών σκοπών.\n"
-"Οι παρακάτω όροι εφαρμόζονται από όλους τους χρήστες της υπηρεσίας. Οι "
-"παρόντες όροι χρήσης, όπως κάθε φορά ισχύουν και τροποποιούνται, αποτελούν "
-"τη σύμβαση μεταξύ των χρηστών της υπηρεσίας και της ΕΔΕΤ Α.Ε. Για τη χρήση "
-"της υπηρεσίας είναι απαραίτητη η αποδοχή των παρακάτω όρων."
-
-#: templates/gettos.html:36
-msgid "Potential Users"
-msgstr "Δυνητικοί Χρήστες"
-
-#: templates/gettos.html:37
-msgid ""
-"The service is targeted at the Network Operation Centers (or similar "
-"structures) approved by the board of GRNET SA, participating in the federal "
-"identification using Shibboleth. The service is provided to mitigate network "
-"attacks aimed at network equipment. The entrance and use of the service "
-"requires proper configuration and release of specific Shibboleth attributes."
-msgstr ""
-"Η υπηρεσία απευθύνεται στα Κέντρα Δικτύων (ή σε αντίστοιχες δομές) των "
-"εγκεκριμένων από το ΔΣ <a href='http://www.noc.grnet.gr/node/35' "
-"target='_blank'>φορέων</a> της ΕΔΕΤ Α.Ε που συμμετέχουν στην ομοσπονδιακή "
-"ταυτοποίηση με τη χρήση Shibboleth. Η υπηρεσία παρέχεται προκειμένου να "
-"περιοριστούν δικτυακές επιθέσεις που στοχεύουν στον εξοπλισμό των φορέων. Η "
-"είσοδος και χρήση της υπηρεσίας προϋποθέτη την ορθή διαμόρφωση συγκεκριμένων "
-"ιδιοτήτων του Shibboleth."
-
 #: templates/profile.html:11
 msgid "Username"
 msgstr ""
@@ -647,7 +487,7 @@ msgid ""
 "Helpdesk to resolve this issue."
 msgstr ""
 
-#: templates/user_routes.html:21 templates/user_routes.html.py:301
+#: templates/user_routes.html:21 templates/user_routes.html.py:314
 msgid "Suspend"
 msgstr "Κατάργηση"
 
@@ -691,71 +531,71 @@ msgstr "Επόμενη"
 msgid "Last"
 msgstr "Τελευταία"
 
-#: templates/user_routes.html:225 templates/user_routes.html.py:329
+#: templates/user_routes.html:227 templates/user_routes.html.py:342
 msgid "Console"
 msgstr "Κονσόλα"
 
-#: templates/user_routes.html:226
+#: templates/user_routes.html:228
 msgid "Add Rule"
 msgstr "Δημιουργία φίλτρου"
 
-#: templates/user_routes.html:249
+#: templates/user_routes.html:251
 msgid "Match"
 msgstr "Όροι"
 
-#: templates/user_routes.html:252
+#: templates/user_routes.html:254
 msgid "Details"
 msgstr "Λεπτομέρειες"
 
-#: templates/user_routes.html:256
+#: templates/user_routes.html:258
 msgid "Actions"
 msgstr "Ενέργειες"
 
-#: templates/user_routes.html:273 templates/user_routes.html.py:297
+#: templates/user_routes.html:295 templates/user_routes.html.py:309
 msgid "Suspended by user"
 msgstr "Απενεργοποιήθηκε από το χρήστη"
 
-#: templates/user_routes.html:276 templates/user_routes.html.py:297
+#: templates/user_routes.html:298 templates/user_routes.html.py:309
 msgid "Suspended by administrator"
 msgstr "Απενεργοποιήθηκε από το διαχειριστή"
 
-#: templates/user_routes.html:279
+#: templates/user_routes.html:301
 msgid "Suspended due to expiration"
 msgstr "Απενεργοποιήθηκε λόγω λήξης"
 
-#: templates/user_routes.html:282
+#: templates/user_routes.html:304
 msgid "Syncronization error. Configuration in device deffers from rule"
 msgstr "Σφάλμα συγχρονισμού. Διαφορά διαμόρφωσης από συσκευή"
 
-#: templates/user_routes.html:297
+#: templates/user_routes.html:309
 msgid "Rule expired"
 msgstr "Λήξη Φίλτρου"
 
-#: templates/user_routes.html:300
+#: templates/user_routes.html:313
 msgid "Edit"
 msgstr "Επεξεργασία"
 
-#: templates/user_routes.html:305
+#: templates/user_routes.html:318
 msgid "Reactivate"
 msgstr "Ενεργοποίηση"
 
-#: templates/user_routes.html:308
+#: templates/user_routes.html:321
 msgid "ReSync"
 msgstr ""
 
-#: templates/user_routes.html:311
+#: templates/user_routes.html:324
 msgid "Fix it!"
 msgstr "Επιδιόρθωση"
 
-#: templates/user_routes.html:324
+#: templates/user_routes.html:337
 msgid "Suspend Rule"
 msgstr "Κατάργηση Φίλτρου"
 
-#: templates/user_routes.html:325
+#: templates/user_routes.html:338
 msgid "You are about to suspend rule"
 msgstr "Πρόκειται να απενεργοποιήσετε το φίλτρο"
 
-#: templates/user_routes.html:326
+#: templates/user_routes.html:339
 msgid ""
 "Suspending the rule will automatically remove the configuration from the "
 "network and mark this rule as inactive."
@@ -763,7 +603,7 @@ msgstr ""
 "Η απενεργοποίηση του φίλτρου θα προκαλέσει την αυτόματη αφαίρεση της "
 "συγκρότησης από το δίκτυο."
 
-#: templates/user_routes.html:327
+#: templates/user_routes.html:340
 msgid "Are you sure you want to proceed?"
 msgstr "Είστε βέβαιοι ότι επιθυμείτε να συνεχίσετε;"
 
@@ -771,22 +611,22 @@ msgstr "Είστε βέβαιοι ότι επιθυμείτε να συνεχί
 msgid "Login"
 msgstr "Είσοδος"
 
-#: templates/welcome.html:9
+#: templates/welcome.html:10
 msgid "Welcome to GRNET's FoD service."
 msgstr "Καλωσήρθατε στην υπηρεσία FoD του ΕΔΕΤ."
 
-#: templates/welcome.html:10
+#: templates/welcome.html:11
 msgid ""
 "If you are new to the service, take some time to read the service description"
 msgstr ""
 "Εάν χρησιμοποιείτε την υπηρεσία για πρώτη φορά, αφιερώστε λίγο χρόνο στην "
 "ανάγνωση της περιγραφής της υπηρεσίας"
 
-#: templates/welcome.html:10
+#: templates/welcome.html:11
 msgid "here"
 msgstr "εδώ"
 
-#: templates/welcome.html:11
+#: templates/welcome.html:12
 msgid ""
 "If you have properly set your Shibboleth attributes, you can login using the "
 "link on the right"
@@ -794,7 +634,7 @@ msgstr ""
 "Έαν έχετε ορίσει ορθά τις απαιτούμενες παραμέτρους του Shibboleth, μπορείτε "
 "να εισέλθετε επιλέγοντας το σύνδεσμο στα δεξιά"
 
-#: templates/welcome.html:12
+#: templates/welcome.html:13
 msgid ""
 "For troubleshooting info and remarks do not hesitate to contact GRNET's "
 "Helpdesk."
@@ -805,21 +645,171 @@ msgstr ""
 #: templates/registration/activate.html:3
 #: templates/registration/activation_complete.html:3
 #: templates/registration/activation_complete.html:7
+#: templates/registration/activation_complete.html:21
 msgid "Activation Complete"
 msgstr "Ολοκλήρωση ενεργοποίησης"
 
-#: templates/registration/activate.html:7
+#: templates/registration/activate.html:14
 msgid "Activation Status"
 msgstr "Κατάσταση Ενεργοποίησης"
 
-#: templates/registration/activate.html:9
+#: templates/registration/activate.html:19
 msgid "succesfully activated"
 msgstr "ενεργοποιήθηκε επιτυχώς"
 
-#: templates/registration/activate.html:11
+#: templates/registration/activate.html:21
 msgid "The user has probably been already activated."
 msgstr "Ο χρήστης έχει ήδη ενεργοποιηθεί"
 
 #: templates/registration/activation_complete.html:8
+#: templates/registration/activation_complete.html:23
 msgid "The user will be notified about his/her account activation"
 msgstr "Ο χρήστης θα ενημερωθεί για την ενεργοποίηση του λογαριασμού"
+
+#~ msgid "Intro"
+#~ msgstr "Εισαγωγή"
+
+#~ msgid ""
+#~ "Firewall on Demand service provides potential users (educational and "
+#~ "academic community) the option to protect their networking equipment "
+#~ "against network attacks and threats.\n"
+#~ "\n"
+#~ "In particular, the service is targeted at network operators of GRNET's "
+#~ "institutions who have needs for short-term protection against network "
+#~ "attacks with destination, equipment they operate.\n"
+#~ "To ensure the integrity of the service and in order to prevent the "
+#~ "service being a source of attacks, the authentication of users is done "
+#~ "via Shibboleth. The authorisation is based on a combination of Shibboleth "
+#~ "attributes with the address space that each organization manages.\n"
+#~ "The software chosen to implement the service is solely based on open "
+#~ "source.\n"
+#~ "Requests or clarifications concerning the operation of the service should "
+#~ "be submitted to GRNET Helpdesk via phone at 800-11-47638 or via e-mail to "
+#~ "helpdesk-at-grnet.gr.\n"
+#~ "\n"
+#~ "\n"
+#~ msgstr ""
+#~ "Η υπηρεσία FoD (Firewall on Demand) παρέχει στην εκπαιδευτική και "
+#~ "ακαδημαϊκή κοινότητα τη δυνατότητα για προστασία έναντι δικτυακών "
+#~ "επιθέσεων που στοχέυουν στο δικτυακό εξοπλισμό που διαχειρίζονται.\n"
+#~ "Ειδικότερα, η υπηρεσία απευθύνεται στα NOC των ιδρυμάτων‐φορέων του "
+#~ "δικτύου ΕΔΕΤ που έχουν ανάγκες για βραχυπρόθεσμη προστασία έναντι "
+#~ "δικτυακών επιθέσεων με προορισμό τον εξοπλισμό που διαχειρίζονται.\n"
+#~ "Για τη διασφάλιση της ακεραιότητας της υπηρεσίας και προκειμένου αυτή να "
+#~ "μην αποτελέσει πηγή επιθέσεων, το authentication των χρηστων "
+#~ "πραγματοποιείται με τη χρήση Shibboleth. Το authorisation βασίζεται σε "
+#~ "ένα συνδυασμό συγκεκριμένων attributes του Shibboleth με το address space "
+#~ "που κάθε φορέας διαχειρίζεται.\n"
+#~ "Το λογισμικό που επιλέχθηκε για την υλοποίηση της υπηρεσίας βασίζεται "
+#~ "αποκλειστικά σε ανοιχτό κώδικα.\n"
+#~ "Αιτήματα ή διευκρινίσεις που αφορούν στη λειτουργία της υπηρεσίας θα "
+#~ "πρέπει να υποβάλλονται στο helpdesk του ΕΔΕΤ, τηλεφωνικά στο 800‐11‐47638 "
+#~ "ή μέσω e‐mail στο helpdesk -στο- grnet.gr.\n"
+
+#~ msgid "Joining the service"
+#~ msgstr "Συμμετοχή"
+
+#~ msgid ""
+#~ "Joining the service requires the appropriate configuration of certain "
+#~ "Shibboleth attributes"
+#~ msgstr ""
+#~ "Η συμμετοχή στην υπηρεσία προϋποθέτη την ορθή διαμόρφωση συγκεκριμένων "
+#~ "Shibboleth attributes"
+
+#~ msgid ""
+#~ "An appropriate HTTP_SHIB_EP_ENTITLEMENT which is provided by GRNET "
+#~ "Helpdesk"
+#~ msgstr ""
+#~ "Ένα κατάλληλο HTTP_SHIB_EP_ENTITLEMENT το οποίο παρέχεται από το Helpdesk"
+
+#~ msgid "Optionally"
+#~ msgstr "Προεραιτικά"
+
+#~ msgid "Use"
+#~ msgstr "Χρήση"
+
+#~ msgid ""
+#~ "The service enables users to mitigate active attacks aimed at their "
+#~ "network equipment. \n"
+#~ "It is based on the creation of dynamic firewall filters that are applied "
+#~ "to the network using the management protocol NETCONF and are propagated "
+#~ "to compatible (Juniper) backbone network devices via BGP flowspec NLRI.\n"
+#~ "In order to properly complete the application for a new filter is "
+#~ "essential that the destination address belongs to the user's "
+#~ "administrative network. Currently attacks are limited per /29 subnet.\n"
+#~ "Requests for new filters are applied directly to the network and "
+#~ "therefore users should pay extra attention in their request. Filters that "
+#~ "have been applied to the network are removed after their expiry date, and "
+#~ "users can activate then again by selecting the corresponding option. \n"
+#~ "Moreover, users are given the option for early deactivation of their "
+#~ "requests.\n"
+#~ msgstr ""
+#~ "Η υπηρεσία δίνει τη δυνατότητα στους χρήστες να περιορίσουν ενεργές "
+#~ "επιθέσεις που στοχεύουν στο δικτυακό τους εξοπλισμό. Βασίζεται στη "
+#~ "δημιουργία δυναμικών φίλτρων firewall οι οποίοι εφαρμόζονται στο δίκτυο "
+#~ "με τη χρήση του διαχειριστικού πρωτοκόλλου netconf και διαδίδονται στις "
+#~ "συμβατές (Juniper) διτκυακές συσκευές του δικτύου κορμού της ΕΔΕΤ μέσω "
+#~ "του BGP flowspec NLRI.\n"
+#~ "Για την ορθή συμπλήρωση της αίτησης ενός νέου φίλτρου είναι απαραίτητο η "
+#~ "διεύθυνση προορισμού να ανήκει στο δίκτυο διαχείρισης του φορέα από τον "
+#~ "οποίο προέρχεται ο χρήστης. Στην παρούσα φάση περιορίζονται επιθέσεις "
+#~ "ανά /29 υποδίκτυα.\n"
+#~ "Τα αιτήματα για νέα φίλτρα εφαρμόζονται άμεσα στο δίκτυο και ως εκ τούτου "
+#~ "θα πρέπει να δίνται ιδιαίτερη προσοχή κατά την αίτησή τους. Τα φίλτρα που "
+#~ "έχουν εφαρμοσθεί στο δίκτυο αφαιρούνται μετά το πέρας της ημερομηνίας "
+#~ "λήξης τους, ενώ οι χρήστες μπορούν να τα ενεργοποιήσουν ξανά μέσω της "
+#~ "αντίστοιχης επιλογής. Παράλληλα, δίνεται η δυνατότητα για απενεργοποίηση "
+#~ "αιτημάτων πριν τη λήξη τους κατά τη βούληση του χρήστη\n"
+
+#~ msgid "Security"
+#~ msgstr "Ασφάλεια"
+
+#~ msgid ""
+#~ "For security reasons, the submission of requests is monitored by the "
+#~ "administrators of the service.\n"
+#~ "The service administrators may at any time remove active requests from "
+#~ "the network, if this is deemed necessary"
+#~ msgstr ""
+#~ "Για λόγους ασφαλείας, η υποβολή αιτημάτων καταγράφεται ενημερώνοντας τους "
+#~ "διαχειριστές της υπηρεσίας.\n"
+#~ "Οι διαχιριστές της υπηρεσίας μπορούν ανά πάσα στιγμή να αφαιρέσουν ενεργά "
+#~ "αιτήματα από το δίκτυο, εάν κάτι τέτοιο κριθεί αναγκαίο"
+
+#~ msgid "Terms of Service"
+#~ msgstr "Όροι χρήσης της υπηρεσίας Firewall on Demand"
+
+#~ msgid ""
+#~ "The FoD service is provided by GRNET to the academic and research "
+#~ "community and the use of the service should only be done to promote "
+#~ "academic, educational and research purposes.\n"
+#~ "The following terms apply to all users of the service. These terms of "
+#~ "use, as applicable, and each time amended, constitute the contract "
+#~ "between the service users and GRNET.\n"
+#~ "To use the service, users are required to accept the following terms."
+#~ msgstr ""
+#~ "Η υπηρεσία FoD παρέχεται από την ΕΔΕΤ Α.Ε. προς την ακαδημαϊκή και "
+#~ "ερευνητική κοινότητα και η χρήση της υπηρεσίας οφείλει να γίνεται μόνο "
+#~ "για την προώθηση ακαδημαϊκών, εκπαιδευτικών και ερευνητικών σκοπών.\n"
+#~ "Οι παρακάτω όροι εφαρμόζονται από όλους τους χρήστες της υπηρεσίας. Οι "
+#~ "παρόντες όροι χρήσης, όπως κάθε φορά ισχύουν και τροποποιούνται, "
+#~ "αποτελούν τη σύμβαση μεταξύ των χρηστών της υπηρεσίας και της ΕΔΕΤ Α.Ε. "
+#~ "Για τη χρήση της υπηρεσίας είναι απαραίτητη η αποδοχή των παρακάτω όρων."
+
+#~ msgid "Potential Users"
+#~ msgstr "Δυνητικοί Χρήστες"
+
+#~ msgid ""
+#~ "The service is targeted at the Network Operation Centers (or similar "
+#~ "structures) approved by the board of GRNET SA, participating in the "
+#~ "federal identification using Shibboleth. The service is provided to "
+#~ "mitigate network attacks aimed at network equipment. The entrance and use "
+#~ "of the service requires proper configuration and release of specific "
+#~ "Shibboleth attributes."
+#~ msgstr ""
+#~ "Η υπηρεσία απευθύνεται στα Κέντρα Δικτύων (ή σε αντίστοιχες δομές) των "
+#~ "εγκεκριμένων από το ΔΣ <a href='http://www.noc.grnet.gr/node/35' "
+#~ "target='_blank'>φορέων</a> της ΕΔΕΤ Α.Ε που συμμετέχουν στην ομοσπονδιακή "
+#~ "ταυτοποίηση με τη χρήση Shibboleth. Η υπηρεσία παρέχεται προκειμένου να "
+#~ "περιοριστούν δικτυακές επιθέσεις που στοχεύουν στον εξοπλισμό των φορέων. "
+#~ "Η είσοδος και χρήση της υπηρεσίας προϋποθέτη την ορθή διαμόρφωση "
+#~ "συγκεκριμένων ιδιοτήτων του Shibboleth."
index c8d146b..b36c3f6 100644 (file)
                                                <a href="{% url logout %}">{% trans "Logout" %}</a>
                                        </li>
                                        {% else %}
+                                       {% if error %}
+                                               {% if inactive %}
+                                                       <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
+                                               {% else %}
+                                               <li>
+                                                       <a id='ttip' data-placement="bottom" rel="tooltip" href="{% url logout %}" data-original-title="{% trans 'After clicking Retry Login, it is strongly suggested to close your browser and visit the page again' %}">{% trans "Retry Login" %}</a>
+                                               </li>{% endif %}
+                                               {% else %}                                              
                                        <li><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></li>
                                        {% endif %}
+                                       {% endif %}
                                    </ul>
                                        
                                    </div>    
index 14c0696..b37fa02 100644 (file)
@@ -6,51 +6,49 @@
 {% block extrahead %}
        <script type="text/javascript">
        $(document).ready(function(){
-               $(".relogin").tooltip({ position: "bottom center", opacity: 0.7});
+               $("#ttip").tooltip();
                });
        </script>
-       <style type="text/css">
-
-           .tooltip {
-               display: none;
-               background: transparent url(/fodstatic/black_arrow_updown.png);
-               font-size: 12px;
-               height: 70px;
-               width: 160px;
-               padding: 25px;
-                       padding-top: 30px;
-               color: #fff;
-           }
+{% endblock %}
 
-</style>
+    {% block content %}
+       <div class="container-fluid">
+      <div class="row-fluid">
+        <div class="span2">
+        </div><!--/span-->
 
-{% endblock %}
+               <div class="span10">
+                       <div class="row-fluid">
+                               <!--/span-->
+                               {% if error %}{% if inactive %}<h3 class="muted">{% trans "Activation Pending" %}</h3>{% else %}<h3 class="muted">{% trans "Error" %}</h3>{% endif %}{% endif %}
+                               <hr><br>
+                                       
+                                       <div class="span10 alert {% if missing_attributes %}alert-error{% else %}alert-info{% endif %}">
+                                       {% if missing_attributes %}
+                                               <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
+                                               {% endif %}
+                                               <p>{% autoescape off %}{{error}}{% endautoescape %}</p>
+                                               {% if missing_attributes %}
+                                               <p>
+                                               {% trans "Required shibboleth attributes" %}:<br>
+                                               <ul>
+                                               <li>HTTP_EPPN</li>
+                                               <li>HTTP_SHIB_HOMEORGANIZATION</li>
+                                               <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
+                                               <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
+                                               </ul>
+                                               {% trans "Optional" %}:
+                                               <ul>
+                                               <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
+                                               <li>HTTP_SHIB_PERSON_SURNAME</li>
+                                               </ul>
+                                               </p>
+                                               {% endif %}
+                                       </div>
+                               <!--/span-->
+                       </div><!--/row-->
+               </div><!--/span-->
 
-{% block content %}
-       {% if error %}{% if inactive %}<h3 class="muted">{% trans "Activation Pending" %}</h3>{% else %}<h3 class="muted">{% trans "Error" %}</h3>{% endif %}{% endif %}
-       <div class="container"><div class="row">
-       <div class="span8">
-       {% if missing_attributes %}
-       <p>{% trans "One or more required shibboleth attributes were not released towards this service" %}</p>
-       {% endif %}
-       <p {% if not inactive %}style="color: red;"{% endif %}>{% autoescape off %}{{error}}{% endautoescape %}</p>
-       {% if missing_attributes %}
-       <p>
-       {% trans "Required shibboleth attributes" %}:<br>
-       <ul>
-       <li>HTTP_EPPN</li>
-       <li>HTTP_SHIB_HOMEORGANIZATION</li>
-       <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
-       <li>An appropriate HTTP_SHIB_EP_ENTITLEMENT</li>
-       </ul>
-       {% trans "Optional" %}:
-       <ul>
-       <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
-       <li>HTTP_SHIB_PERSON_SURNAME</li>
-       </ul>
-       </p>
-       {% endif %}
-       </div>
-       </div>
-       </div>
-{% endblock %}
+        </div><!--/span-->
+    </div><!--/.fluid-container-->
+       {% endblock %}
index 839383a..de7f883 100644 (file)
@@ -1,9 +1,44 @@
 {% extends "base.html" %}
+
 {% load i18n %}
+    {% block title %}{{ flatpage.title }}{% endblock %}
+    {% block breadcrumbs %}:: {% trans flatpage.title %}{% endblock %}
+              
+    {% block extrahead %}
+    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
+       <META HTTP-EQUIV="Expires" CONTENT="-1">
+    <style type="text/css">
+      
+      .headtitle {font-family: "Franklin Gothic Demi", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif; letter-spacing: -1px; }
+    </style>
+    <script type="text/javascript" src="/fodstatic/js/jquery.min.js"></script>
+<script type="text/javascript">
 
-{% block title %}{{ flatpage.title }}{% endblock %}
-{% block breadcrumbs %}:: {% trans flatpage.title %}{% endblock %}
+        function setlang(lang) {
+                $("#langsel").val(lang);
+                var form = $("#langform");
+                $.ajax({
+                               url: form.attr('action'), 
+                               data: form.serialize(),
+                               type: "POST",
+                               cache: false,
+                               success:function(data){
+                                               window.location.href=location.href + "../" + lang + "/";
+                                       }
+                });
+                
+        }
+</script>
+    
 
-{% block content %}
-{{ flatpage.content|linebreaks }}
 {% endblock %}
+
+               {% block content %}
+                       <h4 class='muted'>{{ flatpage.title }}</h4>
+                       <hr>
+                       <div class="span9">
+                       {{ flatpage.content|linebreaks }}
+                       </div>
+               {% endblock %}
+
index fd25835..d9964fd 100644 (file)
@@ -5,7 +5,7 @@
         {% if user.is_authenticated %}
        {% trans "If you have any questions or need help, contact GRNET Helpdesk at <a href='mailto:helpdesk@grnet.gr'>helpdesk@grnet.gr</a> or 800-11-47638." %}<br />
        {% endif %}
-        <a href="http://www.grnet.gr">{% trans "GRNET" %} NOC</a> | <a href="{% url getinfo %}">{% trans "Info" %}</a> | <a href="{% url gettos %}">{% trans "Service Terms" %}</a>
+        <a href="http://www.grnet.gr">{% trans "GRNET" %} NOC</a> | <a href="/fod/info/{{LANGUAGE_CODE}}/">{% trans "Info" %}</a> | <a href="/fod/tos/{{LANGUAGE_CODE}}/">{% trans "Service Terms" %}</a>
        <p style="text-align: center;"><img width="46" height="40" border="0" class="image image-img_assist_custom-46x40 " src="//noc.grnet.gr/sites/default/files/images/image_PSSYGK.img_assist_custom-46x40.png" alt="Flag ΨΣ" title="Flag ΨΣ"> <img width="49" height="40" border="0" class="image image-img_assist_custom-49x40 " src="//noc.grnet.gr/sites/default/files/images/image_EEflag.img_assist_custom-49x40.png" alt="EU flag" title="EU flag"> <img width="90" height="40" border="0" class="image image-img_assist_custom-90x40 " src="//noc.grnet.gr/sites/default/files/images/image_YPDBMTH.img_assist_custom-90x40.png" alt="Flag ΥΠΔΒΜΘ" title="Flag ΥΠΔΒΜΘ"><img width="67" height="40" border="0" class="image image-img_assist_custom-67x40 " src="//noc.grnet.gr/sites/default/files/images/image_ESPA.img_assist_custom-67x40.png" alt="ESPA" title="ESPA"></p>
       </div>
     </footer>
\ No newline at end of file
diff --git a/templates/getinfo.html b/templates/getinfo.html
deleted file mode 100644 (file)
index e847d7d..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% block extrahead %}
-
-
-<style type="text/css">
-       #console {
-               background: none repeat scroll 0 0 #36102a !important;
-               color: #edeae8 !important;
-               font-family: monospace !important;
-       }
-       .message {
-               font-family: monospace !important;
-       }
-       .tooltip {
-       display:none;
-       background:transparent url(/fodstatic/black_arrow.png);
-       font-size:12px;
-       height:70px;
-       width:160px;
-       padding:25px;
-       color:#fff;     
-}
-       
-</style>
-{% endblock %}
-{% block title %}{% trans "Info" %}{% endblock %}
-{% block breadcrumbs %}<li class="active"><span class="divider">/</span>{% trans "Info" %}</li>{% endblock %}
-{% block content %}
-{% csrf_token %}
-<div>
-
-    <h5>{% trans "Intro" %}</h5>
-{% blocktrans %}Firewall on Demand service provides potential users (educational and academic community) the option to protect their networking equipment against network attacks and threats.
-
-In particular, the service is targeted at network operators of GRNET's institutions who have needs for short-term protection against network attacks with destination, equipment they operate.
-To ensure the integrity of the service and in order to prevent the service being a source of attacks, the authentication of users is done via Shibboleth. The authorisation is based on a combination of Shibboleth attributes with the address space that each organization manages.
-The software chosen to implement the service is solely based on open source.
-Requests or clarifications concerning the operation of the service should be submitted to GRNET Helpdesk via phone at 800-11-47638 or via e-mail to helpdesk-at-grnet.gr.
-
-
-{% endblocktrans %}
-<h5>{% trans "Joining the service" %}</h5>
-{% blocktrans %}Joining the service requires the appropriate configuration of certain Shibboleth attributes{% endblocktrans %}:
-                               <ul>
-                               <li>HTTP_EPPN</li>
-                               <li>HTTP_SHIB_HOMEORGANIZATION</li>
-                               <li>HTTP_SHIB_INETORGPERSON_MAIL</li>
-                               <li>{% blocktrans %}An appropriate HTTP_SHIB_EP_ENTITLEMENT which is provided by GRNET Helpdesk{% endblocktrans %}</li>
-                               </ul>
-                               {% trans "Optionally" %}:
-                               <ul>
-                               <li>HTTP_SHIB_INETORGPERSON_GIVENNAME</li>
-                               <li>HTTP_SHIB_PERSON_SURNAME</li>
-                               </ul>
-<h5>{% trans "Use" %}</h5>
-
-{% blocktrans %}The service enables users to mitigate active attacks aimed at their network equipment. 
-It is based on the creation of dynamic firewall filters that are applied to the network using the management protocol NETCONF and are propagated to compatible (Juniper) backbone network devices via BGP flowspec NLRI.
-In order to properly complete the application for a new filter is essential that the destination address belongs to the user's administrative network. Currently attacks are limited per /29 subnet.
-Requests for new filters are applied directly to the network and therefore users should pay extra attention in their request. Filters that have been applied to the network are removed after their expiry date, and users can activate then again by selecting the corresponding option. 
-Moreover, users are given the option for early deactivation of their requests.
-{% endblocktrans %}
-
-<h5>{% trans "Security" %}</h5>
-{% blocktrans %}For security reasons, the submission of requests is monitored by the administrators of the service.
-The service administrators may at any time remove active requests from the network, if this is deemed necessary{% endblocktrans %}
-</div>
-{% endblock %}
diff --git a/templates/gettos.html b/templates/gettos.html
deleted file mode 100644 (file)
index b4f0061..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% block extrahead %}
-
-
-<style type="text/css">
-       #console {
-               background: none repeat scroll 0 0 #36102a !important;
-               color: #edeae8 !important;
-               font-family: monospace !important;
-       }
-       .message {
-               font-family: monospace !important;
-       }
-       .tooltip {
-       display:none;
-       background:transparent url(/fodstatic/black_arrow.png);
-       font-size:12px;
-       height:70px;
-       width:160px;
-       padding:25px;
-       color:#fff;     
-}
-       
-</style>
-{% endblock %}
-{% block title %}{% trans "Terms of Service" %}{% endblock %}
-{% block breadcrumbs %}<li class="active"><span class="divider">/</span>{% trans "Terms of Service" %}</li>{% endblock %}
-{% block content %}
-{% csrf_token %}
-<div>
-
-{% blocktrans %}The FoD service is provided by GRNET to the academic and research community and the use of the service should only be done to promote academic, educational and research purposes.
-The following terms apply to all users of the service. These terms of use, as applicable, and each time amended, constitute the contract between the service users and GRNET.
-To use the service, users are required to accept the following terms.{% endblocktrans %}
-    <h3>{% trans "Potential Users" %}</h3>
-{% blocktrans %}The service is targeted at the Network Operation Centers (or similar structures) approved by the board of GRNET SA, participating in the federal identification using Shibboleth. The service is provided to mitigate network attacks aimed at network equipment. The entrance and use of the service requires proper configuration and release of specific Shibboleth attributes.{% endblocktrans %}
-</div>
-{% endblock %}
index 8ac78a8..4e758bc 100644 (file)
@@ -2,13 +2,30 @@
 {% load i18n %}
 {% block title %}{% trans "Activation Complete" %}{% endblock %}
 {% block brcrmb_container %}{% endblock %}
-{% block content %}
-<div align="center" id="registration">
-    <h3>{% trans "Activation Status" %}</h3>
-{% if account %}
-    <p>{{account}} {% trans "succesfully activated" %}</p>
-{% else %}
-    <p>{% trans "The user has probably been already activated." %}</p>
-{% endif %}
-</div>
-{% endblock %}
+    {% block content %}
+       <div class="container-fluid">
+      <div class="row-fluid">
+        <div class="span2">
+        </div><!--/span-->
+
+               <div class="span10">
+                       <div class="row-fluid">
+                               <!--/span-->
+                               <h3 class='muted'>{% trans "Activation Status" %}</h3>
+                               <hr><br>
+                                       
+                                       <div class="span10 alert {% if account %}alert-success{% else %}alert-info{% endif %}">
+                                       {% if account %}
+                                           {{account}} {% trans "succesfully activated" %}
+                                       {% else %}
+                                           {% trans "The user has probably been already activated." %}
+                                       {% endif %}
+                                       </div>
+                               <!--/span-->
+                       </div><!--/row-->
+               </div><!--/span-->
+
+        </div><!--/span-->
+    </div><!--/.fluid-container-->
+       {% endblock %}
+
index da5020f..5475269 100644 (file)
@@ -8,3 +8,24 @@
 <p>{% trans "The user will be notified about his/her account activation" %}</p>
 </div>
 {% endblock %}
+
+    {% block content %}
+       <div class="container-fluid">
+      <div class="row-fluid">
+        <div class="span2">
+        </div><!--/span-->
+
+               <div class="span10">
+                       <div class="row-fluid">
+                               <!--/span-->
+                               <h3>{% trans "Activation Complete" %}</h3>
+                                       <hr>
+                                       {% trans "The user will be notified about his/her account activation" %}
+                                       </div>
+                               <!--/span-->
+                       </div><!--/row-->
+               </div><!--/span-->
+
+        </div><!--/span-->
+    </div><!--/.fluid-container-->
+       {% endblock %}
\ No newline at end of file
index e172500..ffabf02 100644 (file)
@@ -162,6 +162,8 @@ $(document).ready(function(){
        if (reg_exp == '') {
             reg_exp = '|'
         }
+       
+       
     oTable.fnFilter(reg_exp.slice(0, -1), 4, true);
     
     
@@ -262,11 +264,31 @@ function delete_route(route){
 
 <tr class="GradeC" >
        <td>{{ route.pk }}</td>
-       <td><span {% if route.comments %} class="commentclass" style="border-bottom:1px dotted red;" title="{{route.comments}}" {% endif %}>{{ route.name }}</span></td>
+       
+       <td {% if route.comments %}style="color: #0088CC;"{% endif %}>{% if route.comments %}<span rel="tooltip" data-placement="top" title="{{route.comments}}">{{ route.name }}</span>{% else %}{{ route.name }}{% endif %}</td>
+       
        <td>{{ route.get_match|safe|escape }}</td>
+       
        <td style="text-align: center;">{{route.get_then|safe|escape}}</td>
+       
        <td style="text-align: center; ">{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}
-               <a href="#" rel="tooltip" 
+               {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{% if route.status == 'OUTOFSYNC' %}ERROR{% else %}{{route.status}}{% endif %}{% endif %}{% else %}{{route.status}}{% endif %}</td>
+               
+       {% comment %}<td style="text-align: center;">{{ route.response }}</td>{% endcomment %}
+       
+       <td style="text-align: center;">{{ route.applier }}</td>
+       
+       <td style="text-align: center;" nowrap>
+               <span {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}{% else %}{% if route.days_to_expire %}
+               data-placement="top"
+               rel = 'tooltip'
+               style="border-bottom:1px dashed red;" 
+        title="Expires {% ifequal route.days_to_expire '0' %}today{% else%}in {{route.days_to_expire}} day{{ route.days_to_expire|pluralize }}{% endifequal %}"
+               {% endif %}{% endif %}>{{ route.expires|date:"d M y" }}</span></td>
+               
+       <td style="text-align: center; {% if route.status == 'EXPIRED' %} color: #0088CC; {% endif %}">
+               {% if route.status == 'EXPIRED' %}
+               <span rel="tooltip"
                        {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}  
                        data-placement="top" 
                        title = "{% ifequal route.status 'INACTIVE' %}
@@ -284,17 +306,8 @@ function delete_route(route){
                                                        {% endifequal %}
                                                {% endifequal %}
                                         {% endifequal %}"
-                       {% endif %}>{% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' %}SUSPENDED{% else %}{% if route.status == 'OUTOFSYNC' %}ERROR{% else %}{{route.status}}{% endif %}{% endif %}</a>
-               {% else %}{{route.status}}{% endif %}</td>
-       {% comment %}<td style="text-align: center;">{{ route.response }}</td>{% endcomment %}
-       <td style="text-align: center;">{{ route.applier }}</td>
-       <td style="text-align: center;">
-               <span {% if route.status == 'EXPIRED' or route.status == 'ADMININACTIVE' or route.status == 'INACTIVE' or route.status == 'OUTOFSYNC'%}{% else %}{% if route.days_to_expire %}
-               class="expiresclass" 
-               style="border-bottom:2px dashed red;" 
-        title="Expires {% ifequal route.days_to_expire '0' %}today{% else%}in {{route.days_to_expire}} day{{ route.days_to_expire|pluralize }}{% endifequal %}"
-               {% endif %}{% endif %}>{{ route.expires }}</span></td>
-       <td style="text-align: center;">{% if route.status == 'EXPIRED' %}{% trans "Rule expired" %}{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/fodstatic/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td>
+                       {% endif %}>{% trans "Rule expired" %}</span>{% else %}{% if route.status == 'ADMININACTIVE' %}{% trans "Suspended by administrator" %}{% else %}{% if route.status == 'INACTIVE' %}{% trans "Suspended by user" %}{% else %}{{ route.response }}{% if route.status == 'PENDING' %}<img src="/fodstatic/dots.gif">{% endif %}{% endif %}{% endif %}{% endif %}</td>
+                       
        <td style="text-align: center; width:180px;">
                {% ifequal route.status 'ACTIVE' %}
                <a href="{% url edit-route route.name %}" class="edit_button btn btn-small" id="edit_button_{{route.pk}}">{% trans "Edit" %}</a> 
index 481d8fd..23aa1ff 100644 (file)
@@ -6,8 +6,9 @@
 <div class="row">
 <div class="span6">
 <h3 class="muted">{% trans "Welcome" %}</h3>
+<hr>
 <p>{% blocktrans %}Welcome to GRNET's FoD service.{% endblocktrans %}</p>
-<p>{% blocktrans %}If you are new to the service, take some time to read the service description{% endblocktrans %} <a href="{% url getinfo %}">{% trans "here" %}</a>.</p>
+<p>{% blocktrans %}If you are new to the service, take some time to read the service description{% endblocktrans %} <a href="/fod/info/en">{% trans "here" %}</a>.</p>
 <p>{% blocktrans %}If you have properly set your Shibboleth attributes, you can login using the link on the right{% endblocktrans %}</p>
 <p>{% blocktrans %}For troubleshooting info and remarks do not hesitate to contact GRNET's Helpdesk.{% endblocktrans %}</p>
 </div>