Commit 351a1c0d7386f8d0f2cec7f49d9d9dec2f50b2a9
1 parent
fb10d2a3
Exists in
master
and in
5 other branches
modifying guest #205
Showing
1 changed file
with
151 additions
and
151 deletions
Show diff stats
core/templates/guest.html
@@ -5,168 +5,168 @@ | @@ -5,168 +5,168 @@ | ||
5 | 5 | ||
6 | <html> | 6 | <html> |
7 | <head> | 7 | <head> |
8 | - <title>{{ title }}</title> | ||
9 | - | ||
10 | - <meta http-equiv="Cache-Control" content="no-cache, no-store" /> | ||
11 | - <link href="{% static 'img/favicon.ico' %}" rel="shortcut icon" /> | ||
12 | - <!-- Roboto font --> | ||
13 | - <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> | ||
14 | - <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
15 | - | ||
16 | - <!-- jQuery & jQuery UI --> | ||
17 | - <script type="text/javascript" src="{% static 'js/vendor/jquery-3.1.0.min.js' %}"></script> | ||
18 | - <script type="text/javascript" src="{% static 'js/vendor/jquery-ui.js' %}"></script> | ||
19 | - | ||
20 | - <!-- Bootstrap and themes (material) --> | ||
21 | - <link rel="stylesheet" type="text/css" href="{% static 'bootstrap-3.3.7/css/bootstrap.css' %}"> | ||
22 | - <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/material.min.css' %}"> | ||
23 | - <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/ripples.min.css' %}"> | ||
24 | - <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/datepicker.css' %}"> | ||
25 | - <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/alertifyjs/alertify.min.css' %}"> | ||
26 | - <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/alertifyjs/themes/bootstrap.css' %}"> | ||
27 | - <script type="text/javascript" src="{% static 'bootstrap-3.3.7/js/bootstrap.js' %}"></script> | ||
28 | - <script type="text/javascript" src="{% static 'js/vendor/bootstrap-acessibility.min.js' %}"></script> | ||
29 | - <script type="text/javascript" src="{% static 'js/vendor/material.min.js' %}"></script> | ||
30 | - <script type="text/javascript" src="{% static 'js/vendor/ripples.min.js' %}"></script> | ||
31 | - <script type="text/javascript" src="{% static 'js/vendor/bootstrap-datepicker.js' %}"></script> | ||
32 | - <script type="text/javascript" src="{% static 'js/vendor/alertify.min.js' %}"></script> | ||
33 | - | ||
34 | - <!-- Font awesome --> | ||
35 | - <link rel="stylesheet" type="text/css" href="{% static 'font-awesome-4.6.3/css/font-awesome.min.css' %}"> | ||
36 | - | ||
37 | - <!-- Custom styles --> | ||
38 | - <link rel="stylesheet" type="text/css" href="{% static 'css/base/amadeus.css' %}"> | ||
39 | - | ||
40 | - <!-- Init material Bootstrap --> | ||
41 | - <script type="text/javascript">$.material.init()</script> | ||
42 | - | ||
43 | - <!--Javascript block for specific-app ones --> | ||
44 | - <script src="{% static 'js/base/amadeus.js' %}"></script> | ||
45 | - {% block style %} | ||
46 | - {% endblock %} | ||
47 | - {% block javascript %} | ||
48 | - <script type="text/javascript" src="{% static 'js/course.js' %}"></script> | ||
49 | - {% endblock %} | 8 | + <title>{{ title }}</title> |
9 | + | ||
10 | + <meta http-equiv="Cache-Control" content="no-cache, no-store" /> | ||
11 | + <link href="{% static 'img/favicon.ico' %}" rel="shortcut icon" /> | ||
12 | + <!-- Roboto font --> | ||
13 | + <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> | ||
14 | + <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
15 | + | ||
16 | + <!-- jQuery & jQuery UI --> | ||
17 | + <script type="text/javascript" src="{% static 'js/vendor/jquery-3.1.0.min.js' %}"></script> | ||
18 | + <script type="text/javascript" src="{% static 'js/vendor/jquery-ui.js' %}"></script> | ||
19 | + | ||
20 | + <!-- Bootstrap and themes (material) --> | ||
21 | + <link rel="stylesheet" type="text/css" href="{% static 'bootstrap-3.3.7/css/bootstrap.css' %}"> | ||
22 | + <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/material.min.css' %}"> | ||
23 | + <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/ripples.min.css' %}"> | ||
24 | + <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/datepicker.css' %}"> | ||
25 | + <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/alertifyjs/alertify.min.css' %}"> | ||
26 | + <link rel="stylesheet" type="text/css" href="{% static 'css/vendor/alertifyjs/themes/bootstrap.css' %}"> | ||
27 | + <script type="text/javascript" src="{% static 'bootstrap-3.3.7/js/bootstrap.js' %}"></script> | ||
28 | + <script type="text/javascript" src="{% static 'js/vendor/bootstrap-acessibility.min.js' %}"></script> | ||
29 | + <script type="text/javascript" src="{% static 'js/vendor/material.min.js' %}"></script> | ||
30 | + <script type="text/javascript" src="{% static 'js/vendor/ripples.min.js' %}"></script> | ||
31 | + <script type="text/javascript" src="{% static 'js/vendor/bootstrap-datepicker.js' %}"></script> | ||
32 | + <script type="text/javascript" src="{% static 'js/vendor/alertify.min.js' %}"></script> | ||
33 | + | ||
34 | + <!-- Font awesome --> | ||
35 | + <link rel="stylesheet" type="text/css" href="{% static 'font-awesome-4.6.3/css/font-awesome.min.css' %}"> | ||
36 | + | ||
37 | + <!-- Custom styles --> | ||
38 | + <link rel="stylesheet" type="text/css" href="{% static 'css/base/amadeus.css' %}"> | ||
39 | + | ||
40 | + <!-- Init material Bootstrap --> | ||
41 | + <script type="text/javascript">$.material.init()</script> | ||
42 | + | ||
43 | + <!--Javascript block for specific-app ones --> | ||
44 | + <script src="{% static 'js/base/amadeus.js' %}"></script> | ||
45 | + {% block style %} | ||
46 | + {% endblock %} | ||
47 | + {% block javascript %} | ||
48 | + <script type="text/javascript" src="{% static 'js/course.js' %}"></script> | ||
49 | + {% endblock %} | ||
50 | </head> | 50 | </head> |
51 | <body> | 51 | <body> |
52 | - {% block nav %} | ||
53 | - <div class="navbar navbar-default"> | ||
54 | - <div class="navbar-header"> | ||
55 | - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> | ||
56 | - <span class="icon-bar"></span> | ||
57 | - <span class="icon-bar"></span> | ||
58 | - <span class="icon-bar"></span> | ||
59 | - </button> | ||
60 | - <a class="navbar-brand" href="{% url 'app:index' %}"><img class="logo" src="{% static 'img/topo-amadeus-white.png' %}" alt="Logo"/></a> | ||
61 | - </div> | ||
62 | - <div class="navbar-collapse collapse navbar-responsive-collapse"> | ||
63 | - <ul class="nav navbar-nav navbar-right notifications"> | ||
64 | - <li class="" data-toggle="tooltip" data-placement="bottom" title data-original-title="notifications"> | 52 | + {% block nav %} |
53 | + <div class="navbar navbar-default"> | ||
54 | + <div class="navbar-header"> | ||
55 | + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> | ||
56 | + <span class="icon-bar"></span> | ||
57 | + <span class="icon-bar"></span> | ||
58 | + <span class="icon-bar"></span> | ||
59 | + </button> | ||
60 | + <a class="navbar-brand" href="{% url 'app:index' %}"><img class="logo" src="{% static 'img/topo-amadeus-white.png' %}" alt="Logo"/></a> | ||
61 | + </div> | ||
62 | + <div class="navbar-collapse collapse navbar-responsive-collapse"> | ||
63 | + <ul class="nav navbar-nav navbar-right notifications"> | ||
64 | + <li class="" data-toggle="tooltip" data-placement="bottom" title data-original-title="notifications"> | ||
65 | <a class="dropdown-toggle" data-toggle="dropdown"> <span id="notification-count" class="badge notification-count">{{notifications.count}}</span><i class="fa fa-bell" aria-hidden="true"></i></a> | 65 | <a class="dropdown-toggle" data-toggle="dropdown"> <span id="notification-count" class="badge notification-count">{{notifications.count}}</span><i class="fa fa-bell" aria-hidden="true"></i></a> |
66 | <ul id="notification-dropdown" class="dropdown-menu"> | 66 | <ul id="notification-dropdown" class="dropdown-menu"> |
67 | - <li class="dropdown-header">{% trans 'Notifications' %}</li> | ||
68 | - {% include "notifications.html" %} | 67 | + <li class="dropdown-header">Notifications</li> |
68 | + {% include "notifications.html" %} | ||
69 | 69 | ||
70 | - <li> | ||
71 | - <a onclick="getNotifications(5)"> | ||
72 | - <div id="notification-see-more" class="list-group-item"> | 70 | + <li> |
71 | + <a onclick="getNotifications(5)"> | ||
72 | + <div id="notification-see-more" class="list-group-item"> | ||
73 | <div class="row-content"> | 73 | <div class="row-content"> |
74 | - <p class="list-group-item-text">{% trans 'See More' %}</p> | 74 | + <p class="list-group-item-text">See More</p> |
75 | </div> | 75 | </div> |
76 | </a> | 76 | </a> |
77 | - </li> | 77 | + </li> |
78 | </ul> | 78 | </ul> |
79 | </li> | 79 | </li> |
80 | 80 | ||
81 | - <li data-toggle="tooltip" data-placement="bottom" title data-original-title="{% trans 'messages' %}"> <a href="#"><i class="fa fa-comments" aria-hidden="true"></i></a> </li> | ||
82 | - <li > <a class="link" href="{% url 'app:index' %}">{{ user }}</a></li> | ||
83 | - | ||
84 | - </ul> | ||
85 | - </div> | ||
86 | - </div> | ||
87 | - {% endblock %} | ||
88 | - <div class="container-fluid"> | ||
89 | - <div class="row"> | ||
90 | - | ||
91 | - <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 col-xl-2"> | ||
92 | - {% block sidebar %} | ||
93 | - <div class="panel panel-primary navigation"> | ||
94 | - <div class="panel-heading"> | ||
95 | - <h4>{% trans 'Menu' %}</h4> | ||
96 | - </div> | ||
97 | - <div class="panel-body"> | ||
98 | - <ul class="nav nav-pills nav-stacked"> | ||
99 | - <li><a href="{% url 'core:register' %}">{% trans 'Register' %}</a></li> | ||
100 | - </ul> | ||
101 | - </div> | ||
102 | - </div> | ||
103 | - {% endblock %} | ||
104 | - | ||
105 | - </div> | ||
106 | - <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 col-xl-10"> | ||
107 | - {% block breadcrumbs %} | ||
108 | - <div class="col-md-12"> | ||
109 | - <form id="searchform" action="{% url 'course:manage' %}" method="get" accept-charset="utf-8"> | ||
110 | - <div class="input-group"> | ||
111 | - <div class="form-group is-empty"> | ||
112 | - <input type="search" class="form-control" placeholder="Search Courses" name="q" id="searchbox"></div> | ||
113 | - <span class="input-group-btn input-group-sm"> | ||
114 | - <button type="button" class="btn btn-fab btn-fab-mini"> | ||
115 | - <i class="material-icons">search</i> | ||
116 | - </button> | ||
117 | - </span> | ||
118 | - </div> | ||
119 | - </form> | ||
120 | - </div> | ||
121 | - | ||
122 | - <div class="col-md-12"> | ||
123 | - <div class="btn-group btn-group-justified btn-group-raised"> | ||
124 | - <a href="?category=all" class="btn btn-raised btn-info">{% trans 'All' %}</a> | ||
125 | - {% for category in categories %} | ||
126 | - <a href="?category={{category.name}}" class="btn btn-raised btn-primary">{{category.name}}</a> | ||
127 | - {% endfor %} | ||
128 | - </div> | ||
129 | - </div> | ||
130 | - | ||
131 | - {% endblock %} | ||
132 | - {% block render_breadcrumbs %}{% endblock %} | ||
133 | - <div> | ||
134 | - </div> | ||
135 | - <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12"> | ||
136 | - {% block content %} | ||
137 | - {% for course in courses %} | ||
138 | - <div class="panel panel-info panel_{{ course.id }}"> | ||
139 | - <div class="panel-heading"> | ||
140 | - <a href="{{ course.get_absolute_url }}" class="panel-title">{{course.name}}</a> | ||
141 | - {% if user|show_course_subscribe:course %} | ||
142 | - <a onclick="subscribe($(this), '{% url 'course:subscribe' course.slug %}', {{ course.id}}, '{% trans 'Are you sure you want to subscribe to this course?' %}')" class="btn btn-sm btn-primary btn-raised pull-right" style="margin-top:-4px">{% trans 'Subscribe' %}</a> | ||
143 | - {% endif %} | ||
144 | - </div> | ||
145 | - | ||
146 | - <div class="panel-body"> | ||
147 | - <p><b>{% trans 'Course Name'%}: </b>{{course.name}}</p> | ||
148 | - <p><b>{% trans 'Begining'%}: </b>{{course.init_date}}</p> | ||
149 | - <p><b>{% trans 'End' %}: </b>{{course.end_date}}</p> | ||
150 | - <p><b>{% trans 'Professor' %}: </b>{{course.professors.name}}</p> | ||
151 | - <p> | ||
152 | - <b>{% trans 'Description' %}:</b> | ||
153 | - <i> | ||
154 | - {{course.content}} | ||
155 | - </i> | ||
156 | - </p> | ||
157 | - </div> | ||
158 | - </div> | ||
159 | - {% endfor %} | ||
160 | - | ||
161 | - {% endblock %} | ||
162 | - </div> | ||
163 | - </div> | ||
164 | - </div> | ||
165 | - <script src="{% static 'js/main.js' %}"></script> | ||
166 | - <script type="text/javascript" src="{% static 'js/topic_editation_presentation.js' %}"></script> | ||
167 | - {% block script_file %} | ||
168 | - | ||
169 | - {% endblock script_file %} | 81 | + <li data-toggle="tooltip" data-placement="bottom" title data-original-title="{% trans 'messages' %}"> <a href="#"><i class="fa fa-comments" aria-hidden="true"></i></a> </li> |
82 | + <li > <a class="link" href="{% url 'app:index' %}">{{ user }}</a></li> | ||
83 | + | ||
84 | + </ul> | ||
85 | + </div> | ||
86 | + </div> | ||
87 | + {% endblock %} | ||
88 | + <div class="container-fluid"> | ||
89 | + <div class="row"> | ||
90 | + | ||
91 | + <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 col-xl-2"> | ||
92 | + {% block sidebar %} | ||
93 | + <div class="panel panel-primary"> | ||
94 | + <div class="panel-heading"> | ||
95 | + <h4>Menu</h4> | ||
96 | + </div> | ||
97 | + <div class="panel-body"> | ||
98 | + <ul class="nav nav-pills nav-stacked"> | ||
99 | + <li><a href="{% url 'core:register' %}">{% trans 'Register' %}</a></li> | ||
100 | + </ul> | ||
101 | + </div> | ||
102 | + </div> | ||
103 | + {% endblock %} | ||
104 | + | ||
105 | + </div> | ||
106 | + <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 col-xl-10"> | ||
107 | + {% block breadcrumbs %} | ||
108 | + <div class="col-md-12"> | ||
109 | + <form id="searchform" action="{% url 'course:manage' %}" method="get" accept-charset="utf-8"> | ||
110 | + <div class="input-group"> | ||
111 | + <div class="form-group is-empty"> | ||
112 | + <input type="search" class="form-control" placeholder="Search Courses" name="q" id="searchbox"></div> | ||
113 | + <span class="input-group-btn input-group-sm"> | ||
114 | + <button type="button" class="btn btn-fab btn-fab-mini"> | ||
115 | + <i class="material-icons">search</i> | ||
116 | + </button> | ||
117 | + </span> | ||
118 | + </div> | ||
119 | + </form> | ||
120 | + </div> | ||
121 | + | ||
122 | + <div class="col-md-10"> | ||
123 | + <div class="btn-group btn-group-justified btn-group-raised"> | ||
124 | + <a href="?category=all" class="btn btn-raised btn-info">Todos</a> | ||
125 | + {% for category in categories %} | ||
126 | + <a href="?category={{category.name}}" class="btn btn-raised btn-primary">{{category.name}}</a> | ||
127 | + {% endfor %} | ||
128 | + </div> | ||
129 | + </div> | ||
130 | + | ||
131 | + {% endblock %} | ||
132 | + {% block render_breadcrumbs %}{% endblock %} | ||
133 | + <div> | ||
134 | + </div> | ||
135 | + <div class="col-xs-12 col-sm-12 col-md-10 col-lg-10 col-xl-12"> | ||
136 | + {% block content %} | ||
137 | + {% for course in courses %} | ||
138 | + <div class="panel panel-info panel_{{ course.id }}"> | ||
139 | + <div class="panel-heading"> | ||
140 | + <a href="{{ course.get_absolute_url }}" class="panel-title">{{course.name}}</a> | ||
141 | + {% if user|show_course_subscribe:course %} | ||
142 | + <a onclick="subscribe($(this), '{% url 'course:subscribe' course.slug %}', {{ course.id}}, '{% trans 'Are you sure you want to subscribe to this course?' %}')" class="btn btn-sm btn-primary btn-raised pull-right" style="margin-top:-4px">{% trans 'Subscribe' %}</a> | ||
143 | + {% endif %} | ||
144 | + </div> | ||
145 | + | ||
146 | + <div class="panel-body"> | ||
147 | + <p><b>Course Name: </b>{{course.name}}</p> | ||
148 | + <p><b>Begining: </b>{{course.init_date}}</p> | ||
149 | + <p><b>End: </b>{{course.end_date}}</p> | ||
150 | + <p><b>Professor: </b>{{course.professors.name}}</p> | ||
151 | + <p> | ||
152 | + <b>Description:</b> | ||
153 | + <i> | ||
154 | + {{course.content}} | ||
155 | + </i> | ||
156 | + </p> | ||
157 | + </div> | ||
158 | + </div> | ||
159 | + {% endfor %} | ||
160 | + | ||
161 | + {% endblock %} | ||
162 | + </div> | ||
163 | + </div> | ||
164 | + </div> | ||
165 | + <script src="{% static 'js/main.js' %}"></script> | ||
166 | + <script type="text/javascript" src="{% static 'js/topic_editation_presentation.js' %}"></script> | ||
167 | + {% block script_file %} | ||
168 | + | ||
169 | + {% endblock script_file %} | ||
170 | </body> | 170 | </body> |
171 | 171 | ||
172 | </html> | 172 | </html> |
173 | \ No newline at end of file | 173 | \ No newline at end of file |