Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
djnro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
djnro
Commits
80d3b062
Commit
80d3b062
authored
Oct 26, 2012
by
Leonidas Poulopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added translation tags with respective translation
parent
d163b72b
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
243 additions
and
80 deletions
+243
-80
locale/el/LC_MESSAGES/django.mo
locale/el/LC_MESSAGES/django.mo
+0
-0
locale/el/LC_MESSAGES/django.po
locale/el/LC_MESSAGES/django.po
+212
-51
static/css/style.css
static/css/style.css
+3
-0
templates/base.html
templates/base.html
+3
-2
templates/edumanage/contacts_edit.html
templates/edumanage/contacts_edit.html
+1
-1
templates/edumanage/institution_edit.html
templates/edumanage/institution_edit.html
+1
-1
templates/edumanage/realms_edit.html
templates/edumanage/realms_edit.html
+1
-1
templates/edumanage/service_details.html
templates/edumanage/service_details.html
+1
-1
templates/edumanage/services_edit.html
templates/edumanage/services_edit.html
+1
-1
templates/front/geolocate.html
templates/front/geolocate.html
+8
-10
templates/front/index.html
templates/front/index.html
+10
-10
templates/registration/activation_complete.txt
templates/registration/activation_complete.txt
+2
-2
No files found.
locale/el/LC_MESSAGES/django.mo
View file @
80d3b062
No preview for this file type
locale/el/LC_MESSAGES/django.po
View file @
80d3b062
...
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-2
3 13:13
+0300\n"
"POT-Creation-Date: 2012-10-2
5 17:58
+0300\n"
"PO-Revision-Date: 2012-10-23 11:29+0300\n"
"Last-Translator: Leonidas Poulopoulos <leopoul@noc.grnet.gr>\n"
"Language-Team: Greek <leopoul@noc.grnet.gr>\n"
...
...
@@ -25,20 +25,25 @@ msgstr "Ελληνικά"
msgid "English"
msgstr "Αγγλικά"
#: edumanage/forms.py:66 edumanage/forms.py:75 edumanage/forms.py:84
#: edumanage/forms.py:93 edumanage/forms.py:108
#: accounts/views.py:76
#, python-format
msgid "%sUser account activated"
msgstr ""
#: edumanage/forms.py:72 edumanage/forms.py:81 edumanage/forms.py:90
#: edumanage/forms.py:99 edumanage/forms.py:114
msgid "This field is required."
msgstr "Αυτό το πεδίο είναι απαραίτητο"
#: edumanage/forms.py:1
05
#: edumanage/forms.py:1
11
msgid "Invalid network address/hostname format"
msgstr "Λανθασμένη IP διεύθυνση ή όνομα host"
#: edumanage/forms.py:1
44 edumanage/forms.py:146
#: edumanage/forms.py:1
50 edumanage/forms.py:152
msgid "Fill in at least one location name in English"
msgstr "Συμπληρώστε τουλάχιστον ένα όνομα στα Αγγλικά"
#: edumanage/forms.py:17
1 edumanage/forms.py:173
#: edumanage/forms.py:17
7 edumanage/forms.py:179
msgid "Fill in at least the info url"
msgstr "Συμπληρώστε τουλάχιστον το info url"
...
...
@@ -91,10 +96,119 @@ msgid ""
"%(numid)s"
msgstr ""
#: templates/base.html:99 templates/edumanage/services_edit.html:344
#: edumanage/views.py:733
msgid ""
"Your idP should release the HTTP_EPPN attribute towards this service<br>"
msgstr ""
#: edumanage/views.py:735
msgid ""
"Your idP should release the HTTP_SHIB_HOMEORGANIZATION attribute towards "
"this service<br>"
msgstr ""
#: edumanage/views.py:737
msgid ""
"Your idP should release an appropriate HTTP_SHIB_EP_ENTITLEMENT attribute "
"towards this service<br>"
msgstr ""
#: edumanage/views.py:739
msgid ""
"Your idP should release the HTTP_SHIB_INETORGPERSON_MAIL attribute towards "
"this service"
msgstr ""
#: edumanage/views.py:766 edumanage/views.py:810
#, python-format
msgid ""
"User account <strong>%s</strong> is pending activation. Administrators have "
"been notified and will activate this account within the next days. <br>If "
"this account has remained inactive for a long time contact your technical "
"coordinator or GRNET Helpdesk"
msgstr ""
"Εκκρεμεί ενεργοποίηση του λογαριασμού <strong>%s</strong>. Οι διαχειριστές "
"της υπηρεσίας έχουν ενημερωθεί και πρόκειται να ενεργοποιήσουν το λογαριασμό "
"εντός των επόμενων ημερών.<br>Εάν ο λογαριασμός δεν έχει ενεργοποιηθεί για "
"μεγάλο<br>χρονικό διάστημα, επικοινωνήστε με τον τεχνικό σας υπεύθυνο ή το "
"Helpdesk της ΕΔΕΤ"
#: edumanage/views.py:770
#, python-format
msgid ""
"Something went wrong during user authentication. Contact your administrator "
"%s"
msgstr ""
#: edumanage/views.py:774
msgid "Invalid login procedure"
msgstr "Λανθασμένη διαδικασία εισαγωγής στη διαχείριση"
#: edumanage/views.py:800
msgid ""
"Violation warning: User account is already associated with an institution."
"The event has been logged and our administrators will be notified about it"
msgstr ""
#: longerusername/forms.py:11
#, python-format
msgid ""
"Required, %s characters or fewer. Only letters, numbers, and characters such "
"as @.+_- are allowed."
msgstr ""
#: longerusername/models.py:18
#, python-format
msgid ""
"Required, %s characters or fewer. Only letters, numbers, and @, ., +, -, or "
"_ characters."
msgstr ""
#: templates/base.html:94 templates/status.html:12
#: templates/registration/activate.html:13
#: templates/registration/activation_complete.html:13
#: templates/registration/select_institution.html:12
msgid "Manage"
msgstr "Διαχείριση"
#: templates/base.html:101 templates/edumanage/services_edit.html:344
msgid "Language"
msgstr "Γλώσσα"
#: templates/base.html:131 templates/status.html:6
#: templates/edumanage/contacts.html:4
#: templates/edumanage/contacts_edit.html:4
#: templates/edumanage/institution.html:12
#: templates/edumanage/institution_edit.html:5
#: templates/edumanage/realms.html:4 templates/edumanage/realms_edit.html:4
#: templates/edumanage/server_details.html:4
#: templates/edumanage/servers.html:4 templates/edumanage/servers_edit.html:4
#: templates/edumanage/service_details.html:5
#: templates/edumanage/services.html:4
#: templates/edumanage/services_edit.html:5
#: templates/edumanage/welcome.html:182 templates/edumanage/welcome.html:194
#: templates/edumanage/welcome.html:231 templates/registration/activate.html:7
#: templates/registration/activation_complete.html:7
#: templates/registration/select_institution.html:6
msgid "Home"
msgstr "Αρχική"
#: templates/base.html:132
msgid "Closest eduroam"
msgstr "Πλησιέστερο eduroam"
#: templates/base.html:133
msgid "What"
msgstr "Τι είναι"
#: templates/base.html:134
msgid "Participants"
msgstr "Συμμετέχοντες"
#: templates/base.html:137
msgid "Management"
msgstr "Διαχείριση"
#: templates/edumanage/add_user.html:6
#: templates/edumanage/contacts_edit.html:33
msgid "First name"
...
...
@@ -115,28 +229,13 @@ msgstr ""
msgid "Phone"
msgstr "Τηλέφωνο"
#: templates/edumanage/contacts.html:4
#: templates/edumanage/contacts_edit.html:4
#: templates/edumanage/institution.html:12
#: templates/edumanage/institution_edit.html:5
#: templates/edumanage/realms.html:4 templates/edumanage/realms_edit.html:4
#: templates/edumanage/server_details.html:4
#: templates/edumanage/servers.html:4 templates/edumanage/servers_edit.html:4
#: templates/edumanage/service_details.html:5
#: templates/edumanage/services.html:4
#: templates/edumanage/services_edit.html:5
#: templates/edumanage/welcome.html:173 templates/edumanage/welcome.html:185
#: templates/edumanage/welcome.html:222 templates/front/index.html:265
msgid "Home"
msgstr "Αρχική"
#: templates/edumanage/contacts.html:5 templates/edumanage/contacts.html:99
#: templates/edumanage/contacts_edit.html:5
#: templates/edumanage/institution.html:52
#: templates/edumanage/institution_edit.html:115
#: templates/edumanage/service_details.html:137
#: templates/edumanage/services_edit.html:383
#: templates/edumanage/welcome.html:2
03
#: templates/edumanage/welcome.html:2
12
msgid "Contacts"
msgstr "Επαφές"
...
...
@@ -210,7 +309,7 @@ msgstr "Προσθήκη Επαφής"
#: templates/edumanage/institution_edit.html:87
#: templates/edumanage/server_details.html:37
#: templates/edumanage/servers.html:114 templates/edumanage/services.html:114
#: templates/edumanage/services_edit.html:344
#: templates/edumanage/services_edit.html:344
templates/front/index.html:175
msgid "Name"
msgstr "Όνομα"
...
...
@@ -255,17 +354,20 @@ msgid "Add Contact"
msgstr "Προσθήκη Επαφής"
#: templates/edumanage/contacts_edit.html:67
#: templates/edumanage/institution_edit.html:17
3
#: templates/edumanage/institution_edit.html:17
2
#: templates/edumanage/realms_edit.html:59
#: templates/edumanage/servers_edit.html:112
#: templates/edumanage/services_edit.html:470
#: templates/registration/select_institution.html:57
msgid "Apply"
msgstr "Εφαρμογή"
#: templates/edumanage/institution.html:13
#: templates/edumanage/institution.html:18
#: templates/edumanage/institution_edit.html:6
#: templates/edumanage/welcome.html:189
#: templates/edumanage/welcome.html:198
#: templates/registration/activate_edit.html:36
#: templates/registration/select_institution.html:46
msgid "Institution"
msgstr "Φορέας"
...
...
@@ -297,7 +399,7 @@ msgid "Urls"
msgstr "Σύνδεσμοι"
#: templates/edumanage/institution.html:70
#: templates/edumanage/institution_edit.html:14
5
#: templates/edumanage/institution_edit.html:14
4
msgid "Oper Name"
msgstr ""
...
...
@@ -306,7 +408,7 @@ msgid "Number User"
msgstr "Αριθμός Χρηστών"
#: templates/edumanage/institution.html:85
#: templates/edumanage/institution_edit.html:16
4
#: templates/edumanage/institution_edit.html:16
3
msgid "Number Id"
msgstr ""
...
...
@@ -315,7 +417,7 @@ msgstr ""
#: templates/edumanage/institution_edit.html:74
#: templates/edumanage/server_details.html:94
#: templates/edumanage/service_details.html:202
#: templates/edumanage/welcome.html:2
26
#: templates/edumanage/welcome.html:2
35
msgid "Edit"
msgstr "Επεξεργασία"
...
...
@@ -327,27 +429,27 @@ msgstr "Δεν έχουν καθοριστεί λεπτομέρειες για
msgid "No institution defined"
msgstr "Δεν έχει καθοριστεί φορέας"
#: templates/edumanage/institution_edit.html:15
5
#: templates/edumanage/institution_edit.html:15
4
msgid "Number of Users"
msgstr "Αριθμός Χρηστών"
#: templates/edumanage/institution_edit.html:1
80
#: templates/edumanage/institution_edit.html:1
79
#: templates/edumanage/services_edit.html:478
msgid "Add User"
msgstr "Νέος Χρήστης"
#: templates/edumanage/institution_edit.html:18
6
#: templates/edumanage/institution_edit.html:18
5
#: templates/edumanage/services.html:160
#: templates/edumanage/services_edit.html:484
msgid "Close"
msgstr "Κλείσιμο"
#: templates/edumanage/institution_edit.html:18
7
#: templates/edumanage/institution_edit.html:18
6
msgid "Save changes"
msgstr "Αποθήκευση"
#: templates/edumanage/realms.html:5 templates/edumanage/realms_edit.html:5
#: templates/edumanage/welcome.html:20
0
#: templates/edumanage/welcome.html:20
9
msgid "Realms"
msgstr ""
...
...
@@ -379,7 +481,7 @@ msgstr "Proxy σε Εξυπηρετητές"
#: templates/edumanage/server_details.html:5
#: templates/edumanage/servers.html:5 templates/edumanage/servers.html:106
#: templates/edumanage/servers_edit.html:5
#: templates/edumanage/welcome.html:
197
#: templates/edumanage/welcome.html:
206
msgid "Servers"
msgstr "Εξυπηρετητές"
...
...
@@ -456,7 +558,7 @@ msgstr ""
#: templates/edumanage/service_details.html:6
#: templates/edumanage/services.html:5 templates/edumanage/services.html:96
#: templates/edumanage/services_edit.html:6
#: templates/edumanage/welcome.html:
194
#: templates/edumanage/welcome.html:
203
msgid "Services"
msgstr "Υπηρεσίες"
...
...
@@ -471,7 +573,7 @@ msgid "Location Name"
msgstr "Όνομα Τοποθεσίας"
#: templates/edumanage/service_details.html:122
#: templates/edumanage/services.html:115
#: templates/edumanage/services.html:115
templates/front/index.html:178
msgid "Address"
msgstr "Διεύθυνση"
...
...
@@ -482,7 +584,7 @@ msgid "Encryption Level"
msgstr "Επίπεδο Κρυπτογράφησης"
#: templates/edumanage/service_details.html:152
#: templates/edumanage/services_edit.html:399
#: templates/edumanage/services_edit.html:399
templates/front/index.html:193
msgid "Port Restrict"
msgstr ""
...
...
@@ -497,7 +599,7 @@ msgid "AP number"
msgstr "Αριθμός APs"
#: templates/edumanage/service_details.html:187
#: templates/edumanage/services_edit.html:439
#: templates/edumanage/services_edit.html:439
templates/front/index.html:205
msgid "Wired"
msgstr ""
...
...
@@ -521,11 +623,11 @@ msgstr "Υπηρεσία"
msgid "successfully deleted"
msgstr "διαγράφηκε επιτυχώς"
#: templates/edumanage/services.html:106 templates/edumanage/welcome.html:2
26
#: templates/edumanage/services.html:106 templates/edumanage/welcome.html:2
35
msgid "Add new service"
msgstr "Προσθήκη υπηρεσίας"
#: templates/edumanage/services.html:116
#: templates/edumanage/services.html:116
templates/front/index.html:184
msgid "SSID"
msgstr ""
...
...
@@ -570,22 +672,81 @@ msgstr "γλώσσα"
msgid "Save Changes"
msgstr "Αποθήκευση Αλλαγών"
#: templates/edumanage/welcome.html:176
msgid "You are logged in as"
msgstr "Έχετε εισαχθεί ως"
#: templates/edumanage/welcome.html:176
#: templates/edumanage/welcome.html:185
msgid "Logout"
msgstr "Έξοδος"
#: templates/edumanage/welcome.html:2
22
#: templates/edumanage/welcome.html:2
31
msgid "Service Locations"
msgstr "Τοποθεσίες Υπηρεσιών"
#: templates/edumanage/welcome.html:2
26
#: templates/edumanage/welcome.html:2
35
msgid "No services defined yet"
msgstr "Δεν έχουν εισαχθεί υπηρεσίες"
#: templates/front/index.html:273
msgid "Management"
msgstr "Διαχείριση"
#: templates/front/index.html:169
msgid "Main"
msgstr "Βασικές"
#: templates/front/index.html:170
msgid "Advanced"
msgstr "Προηγμένες"
#: templates/front/index.html:181
msgid "Encryption"
msgstr "Κρυπτογράφηση"
#: templates/front/index.html:187
msgid "Number of APs"
msgstr "Αριθμός APs"
#: templates/front/index.html:196
msgid "transp_proxy"
msgstr ""
#: templates/front/index.html:365
msgid "Eduroam in Greece"
msgstr "Eduroam στην Ελλάδα"
#: templates/front/participants.html:21
msgid "Participating Institutions"
msgstr "Συμμετέχοντες Φορείς"
#: templates/front/participants.html:23
msgid ""
"In Greece eduroam is provided by the following instituitons/organizations"
msgstr ""
"Στην Ελλάδα το eduroam παρέχεται από τους ακόλουθους φορείς/οργανισμούς"
#: templates/registration/activate.html:3
#: templates/registration/activation_complete.html:3
#: templates/registration/activation_complete.html:27
msgid "Activation Complete"
msgstr "Ολοκλήρωση Ενεργοποίησης"
#: templates/registration/activate.html:27
msgid "Activation Status"
msgstr "Κατάσταση Ενεργοποίησης"
#: templates/registration/activate.html:32
msgid "succesfully activated"
msgstr "ενεργοποιήθηκε επιτυχώς"
#: templates/registration/activate.html:34
msgid "The user has probably been already activated."
msgstr "Ο χρήστης φαίνεται να έχει ήδη ενεργοποιηθεί"
#: templates/registration/activate_edit.html:28
msgid "User"
msgstr "Χρήστης"
#: templates/registration/activate_edit.html:47
msgid "Activate"
msgstr "Ενεργοποίηση"
#: templates/registration/activation_complete.html:31
msgid "The user will be notified about his/her account activation"
msgstr "Ο χρήστης θα ενημερωθεί για την ενεργοποίση του λογαριασμού"
#~ msgid "You are logged in as"
#~ msgstr "Έχετε εισαχθεί ως"
static/css/style.css
View file @
80d3b062
...
...
@@ -29,6 +29,9 @@ select, textarea, input[type="text"], input[type="password"], input[type="dateti
border-radius
:
6px
6px
0
0
;
}
.btn
{
font-size
:
13px
;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Everything below this line is the same as demo_table.css. This file is
...
...
templates/base.html
View file @
80d3b062
...
...
@@ -81,7 +81,7 @@ body {
<div
class=
"navbar-inner"
>
<div
class=
"container"
style=
"padding-left: 0px; width: auto;"
>
<a
class=
"brand"
href=
"
#
"
><img
src=
"/static/img/logo_holder.png"
/></a>
<a
class=
"brand"
href=
"
{% block logourl %}{% url index %}{% endblock %}
"
><img
src=
"/static/img/logo_holder.png"
/></a>
{% block topmenu %}
<ul
class=
"nav"
>
<li
{%
block
hometop
%}{%
endblock
%}
>
...
...
@@ -91,7 +91,7 @@ body {
<a
href=
"/faq/{{LANGUAGE_CODE}}/"
>
FAQ
</a>
</li>
<li
{%
block
managetop
%}{%
endblock
%}
>
<a
href=
"{% url
login
%}"
style=
"padding-top: 3px; padding-bottom: 0px;"
>
{% trans "Manage" %}
<img
src=
"/static/img/image_shibboleth_logo_color.png"
style=
"padding: 0px;"
></a>
<a
href=
"{% url
manage
%}"
style=
"padding-top: 3px; padding-bottom: 0px;"
>
{% trans "Manage" %}
<img
src=
"/static/img/image_shibboleth_logo_color.png"
style=
"padding: 0px;"
></a>
</li>
</ul>
...
...
@@ -130,6 +130,7 @@ body {
<li
{%
block
homepage
%}{%
endblock
%}
><a
href=
"{% url index %}"
>
{% trans "Home" %}
</a></li>
<li
{%
block
closest
%}{%
endblock
%}
><a
href=
"{% url geolocate %}"
target=
"about:blank()"
>
{% trans "Closest eduroam" %}
</a></li>
<li
{%
block
world
%}{%
endblock
%}
><a
href=
"{% url world %}"
>
{% trans "World eduroam" %}
</a></li>
<li
{%
block
whatis
%}{%
endblock
%}
><a
href=
"/what/{{LANGUAGE_CODE}}/"
>
{% trans "What" %}?
</a></li>
<li
{%
block
participants
%}{%
endblock
%}
><a
href=
"{% url participants %}"
>
{% trans "Participants" %}
</a></li>
<li
{%
block
faq
%}{%
endblock
%}
><a
href=
"/faq/{{LANGUAGE_CODE}}/"
>
FAQ
</a></li>
...
...
templates/edumanage/contacts_edit.html
View file @
80d3b062
...
...
@@ -63,7 +63,7 @@
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-
large btn-
primary"
/>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-primary"
/>
{% trans "Apply" %}
</button>
</div>
</div>
...
...
templates/edumanage/institution_edit.html
View file @
80d3b062
...
...
@@ -169,7 +169,7 @@ function addButton(row){
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-
large btn-
primary"
/>
{% trans "Apply" %}
</button>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-primary"
/>
{% trans "Apply" %}
</button>
</div>
</div>
</form>
...
...
templates/edumanage/realms_edit.html
View file @
80d3b062
...
...
@@ -55,7 +55,7 @@
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-
large btn-
primary"
/>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-primary"
/>
{% trans "Apply" %}
</button>
</div>
</div>
...
...
templates/edumanage/service_details.html
View file @
80d3b062
...
...
@@ -199,7 +199,7 @@
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<a
class=
"btn btn-
large btn-
primary"
href=
"{% url edit-services service.pk %}"
>
{% trans "Edit" %}
</a>
<a
class=
"btn btn-primary"
href=
"{% url edit-services service.pk %}"
>
{% trans "Edit" %}
</a>
</div>
</div>
...
...
templates/edumanage/services_edit.html
View file @
80d3b062
...
...
@@ -466,7 +466,7 @@
</div>
<div
class=
"control-group"
>
<div
class=
"controls"
>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-
large btn-
primary"
/>
<button
type=
"submit"
id=
"applybutton"
value=
"Apply"
class=
"btn btn-primary"
/>
{% trans "Apply" %}
</button>
</div>
</div>
...
...
templates/front/geolocate.html
View file @
80d3b062
...
...
@@ -8,11 +8,10 @@
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- Le styles -->
<script
type=
"text/javascript"
src=
"/static/js/jquery.min.js"
></script>
<link
href=
"/static/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"/static/js/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://maps.google.com/maps/api/js?sensor=true&language=en&libraries=places"
></script>
<script
type=
"text/javascript"
src=
"https://maps.google.com/maps/api/js?
v=3.exp&
sensor=true&language=en&libraries=places"
></script>
<style>
...
...
@@ -43,7 +42,6 @@ margin-bottom: 0px;
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
...
...
@@ -139,10 +137,10 @@ margin-bottom: 0px;
};
map
=
new
google
.
maps
.
Map
(
document
.
getElementById
(
"
map_canvas
"
),
mapOptions
);
//
var input = document.getElementById('searchTextField');
//
var autocomplete = new google.maps.places.Autocomplete(input);
var
input
=
document
.
getElementById
(
'
searchTextField
'
);
var
autocomplete
=
new
google
.
maps
.
places
.
Autocomplete
(
input
);
//
autocomplete.bindTo('bounds', map);
autocomplete
.
bindTo
(
'
bounds
'
,
map
);
infoWindow
=
new
google
.
maps
.
InfoWindow
();
bounds
=
new
google
.
maps
.
LatLngBounds
();
...
...
@@ -169,7 +167,7 @@ margin-bottom: 0px;
moveMarker
(
event
.
latLng
);
});
/*
google.maps.event.addListener(autocomplete, 'place_changed', function() {
google
.
maps
.
event
.
addListener
(
autocomplete
,
'
place_changed
'
,
function
()
{
var
place
=
autocomplete
.
getPlace
();
console
.
log
(
place
);
if
(
place
.
geometry
.
viewport
)
{
...
...
@@ -179,7 +177,7 @@ margin-bottom: 0px;
map
.
setZoom
(
17
);
// Why 17? Because it looks good.
}
moveMarker
(
place
.
geometry
.
location
);
})
*/
})
}
function
calcRoute
(
start
,
end
)
{
...
...
@@ -300,9 +298,9 @@ function autocomplete() {
<li></li>
<li
id=
"distanceText"
style=
"line-height:40px;"
style=
"font-size: 14px;"
></li>
<li></li>
<
!-- <
div class="navbar-search pull-left" style="margin-left: 5px;">
<div
class=
"navbar-search pull-left"
style=
"margin-left: 5px;"
>
<input
type=
"text"
class=
"search-query"
placeholder=
"Search"
id=
"searchTextField"
style=
"width: 150px;"
>
</div>
-->
</div>
</ul>
</div>
<!--/.nav-collapse -->
...
...
templates/front/index.html
View file @
80d3b062
...
...
@@ -166,34 +166,34 @@
"
<div class='tabbable'>
"
+
"
<ul class='nav nav-tabs'>
"
+
"
<li class='active'><a href='#tab1' data-toggle='tab'>
Main
</a></li>
"
+
"
<li><a href='#tab2' data-toggle='tab'>
Advanced
</a></li>
"
+
"
<li class='active'><a href='#tab1' data-toggle='tab'>
{% trans 'Main' %}
</a></li>
"
+
"
<li><a href='#tab2' data-toggle='tab'>
{% trans 'Advanced' %}
</a></li>
"
+
"
</ul>
"
+
"
<div class='tab-content'>
"
+
"
<div class='tab-pane active' id='tab1'>
"
+
"
<dl class='dl-horizontal'>
"
+
"
<dt>
Name
</dt><dd>
"
+
"
<dt>
{% trans 'Name' %}
</dt><dd>
"
+
jsonMarker
.
name
+
"
</dd>
"
+
"
<dt>
Address
</dt><dd>
"
+
"
<dt>
{% trans 'Address' %}
</dt><dd>
"
+
jsonMarker
.
address
+
"
</dd>
"
+
"
<dt>
Encryption
</dt><dd>
"
+
"
<dt>
{% trans 'Encryption' %}
</dt><dd>
"
+
jsonMarker
.
enc
+
"
</dd>
"
+
"
<dt>
SSID
</dt><dd>
"
+
"
<dt>
{% trans 'SSID' %}
</dt><dd>
"
+
jsonMarker
.
SSID
+
"
</dd>
"
+
"
<dt>
Number of APs
</dt><dd>
"
+
"
<dt>
{% trans 'Number of APs' %}
</dt><dd>
"
+
jsonMarker
.
AP_no
+
"
</dd></dl>
"
+
"
</div>
"
+
"
<div class='tab-pane' id='tab2'>
"
+
"
<dl class='dl-horizontal'>
"
+
"
<dt>
Port Restrict
</dt><dd>
"
+
"
<dt>
{% trans 'Port Restrict' %}
</dt><dd>
"
+
jsonMarker
.
port_restrict
+
"
</dd>
"
+
"
<dt>
transp_proxy
</dt><dd>
"
+
"
<dt>
{% trans 'transp_proxy' %}
</dt><dd>
"
+
jsonMarker
.
transp_proxy
+
"
</dd>
"
+
"
<dt>IPv6</dt><dd>
"
...
...
@@ -202,7 +202,7 @@
+
"
<dt>NAT</dt><dd>
"
+
jsonMarker
.
NAT
+
"
</dd>
"
+
"
<dt>
Wired
</dt><dd>
"
+
"
<dt>
{% trans 'Wired' %}
</dt><dd>
"
+
jsonMarker
.
wired
+
"
</dd></dl>
"
+
"
</div>
"
...
...
templates/registration/activation_complete.txt
View file @
80d3b062
...
...
@@ -2,10 +2,10 @@
Μπορείτε να χρησιμοποιήσετε την υπηρεσία eduroam management, κάνοντας login στην παρακάτω
διεύθυνση:
http://{{ site.domain }}{% url
login
%}
http://{{ site.domain }}{% url
manage
%}
---------------------------------------------------------------------------
Your account with username “{{ user.username }}” has been activated.
You may login to eduroam management using the following URL:
http://{{ site.domain }}{% url
login
%}
http://{{ site.domain }}{% url
manage
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment