1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

Small fixes in UIs

Left Menu <li> items are clickable instead of <a>.

Corrected some typos. Updated language template.
(cherry picked from commit 8b7945d0fb6ec3818fc3ae4893f66528ed486bc6)
This commit is contained in:
Hector Sanjuan 2012-01-13 13:03:48 +01:00 committed by Ruben S. Montero
parent 544190a48b
commit 95f0788dbc
5 changed files with 10 additions and 13 deletions

View File

@ -57,14 +57,14 @@ function showTab(tabname){
$(document).ready(function () {
$(".tab").hide();
$(".outer-west ul li.subTab a").live("click",function(){
var tab = $(this).attr('href');
$(".outer-west ul li.subTab").live("click",function(){
var tab = $('a',this).attr('href');
showTab(tab);
return false;
});
$(".outer-west ul li.topTab a").live("click",function(){
var tab = $(this).attr('href');
$(".outer-west ul li.topTab").live("click",function(){
var tab = $('a',this).attr('href');
//toggle subtabs trick
$('li.'+tab.substr(1)).toggle();
showTab(tab);

View File

@ -57,14 +57,14 @@ function showTab(tabname){
$(document).ready(function () {
$(".tab").hide();
$(".outer-west ul li.subTab a").live("click",function(){
var tab = $(this).attr('href');
$(".outer-west ul li.subTab").live("click",function(){
var tab = $('a',this).attr('href');
showTab(tab);
return false;
});
$(".outer-west ul li.topTab a").live("click",function(){
var tab = $(this).attr('href');
$(".outer-west ul li.topTab").live("click",function(){
var tab = $('a',this).attr('href');
//toggle subtabs trick
$('li.'+tab.substr(1)).toggle();
showTab(tab);

View File

@ -587,7 +587,7 @@ var update_template_tmpl =
'<form action="javascript:alert(\'js error!\');">\
<h3 style="margin-bottom:10px;">'+tr("Please, choose and modify the template you want to update")+':</h3>\
<fieldset style="border-top:none;">\
<label for="template_template_update_select">'+tr("Select a network")+':</label>\
<label for="template_template_update_select">'+tr("Select a template")+':</label>\
<select id="template_template_update_select" name="template_template_update_select"></select>\
<div class="clear"></div>\
<div>\

View File

@ -241,7 +241,7 @@ var user_buttons = {
},
"User.update_dialog" : {
type: "action",
text: tr("Update a template"),
text: tr("Update properties"),
alwaysActive: true
},
"User.update_password" : {

View File

@ -139,7 +139,6 @@ locale={
"Group":"",
"Group ":"",
"Group name":"",
"Group permissions":"",
"Groups":"",
"Hardware that will emulate this network interface. With Xen this is the type attribute of the vif.":"",
"hd":"",
@ -249,10 +248,8 @@ locale={
"OS":"",
"OS and Boot options":"",
"Other":"",
"Other permissions":"",
"Owned by group":"",
"Owner":"",
"Owner permissions":"",
"PAE":"",
"Password":"",
"Password for the VNC server":"",