Interface: teclas de atalho
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
%meta{'name' => 'robots', :content => 'noindex,nofollow'}
|
||||
%meta{'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=UTF-8'}
|
||||
|
||||
%link{'href' => "#{App.base_path}/stylesheets/cache/wiki.css", 'rel' => 'Stylesheet', 'type' => %'text/css'}
|
||||
%link{'href' => "#{App.base_path}/stylesheets/cache/wiki.css", 'rel' => 'Stylesheet', 'type' => 'text/css'}
|
||||
%link{'href' => "#{App.base_path}/favicon.ico", 'rel' => 'icon', 'type' => 'image/vnd.microsoft.icon'}
|
||||
%link#css_color{'href' => "#{App.base_path}/stylesheets/cache/color.#{@color}.css", 'rel' => 'Stylesheet', 'type' => %'text/css'}
|
||||
|
||||
/[if IE]
|
||||
@@ -29,10 +30,10 @@
|
||||
%ul
|
||||
- if logged_in?
|
||||
%li.grey= "Logged in as {u}"[:logged_in_as, h(@current_user.display_name)]
|
||||
%li.last= link_to 'Logout', logout_path
|
||||
%li.last= link_to 'Logout', logout_path, :accesskey => 'l'
|
||||
- else
|
||||
%li= link_to 'Cadastrar', signup_path
|
||||
%li.last= link_to 'Login', login_path
|
||||
%li.last= link_to 'Login', login_path, :accesskey => 'l'
|
||||
|
||||
#strip
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = "#{App.title} - #{h(@course.full_name)}"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›"
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›"
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Arquivos", course_attachments_url(@course))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = "#{App.title}"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›";
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›";
|
||||
= link_to("Disciplinas", courses_url)
|
||||
- if @course and @course.id
|
||||
= "› " + link_to(h(@course.full_name), course_url)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = "#{App.title} - #{h(@course.full_name)} - Calendário"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›"
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›"
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Calendário", course_events_url)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
- if @course
|
||||
- @title = "#{App.title} - #{h(@course.full_name)} - Mudanças recentes"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›"
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›"
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Log", course_log_url(@course))
|
||||
= link_to("Mudanças Recentes", course_log_url(@course))
|
||||
|
||||
- @left_panel = render 'courses/left_panel'
|
||||
- @content = yield
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = "#{App.title} - #{h(@course.full_name)} - Notícias"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›"
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›"
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Noticias", course_news_url(@course))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = App.title
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›";
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›";
|
||||
= link_to("Usuários", users_path)
|
||||
- if @user and @user.id
|
||||
= "› " + link_to(h(@user.name), user_url(@user))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- @title = "#{App.title} - #{h(@course.full_name)}"
|
||||
- @location = capture do
|
||||
= link_to(App.title, index_url) + "›"
|
||||
= link_to(App.title, index_url, :accesskey => 'z') + "›"
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Wiki", course_wiki_url(@course))
|
||||
|
||||
Reference in New Issue
Block a user