Browse Source

use a simple list as bbar config; add a style thingy for extjs form hint labels

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
ccbdd3660d
  1. 6
      htdocs/js/channelviewer.js
  2. 7
      htdocs/mumble/style.css

6
htdocs/js/channelviewer.js

@ -58,8 +58,8 @@ Ext.ux.MumbleChannelViewer = function( config ){
Ext.applyIf( this, { Ext.applyIf( this, {
// This stuff needs the above applied already // This stuff needs the above applied already
bbar: {
items: [ gettext("Auto-Refresh")+':', {
// x-btn x-btn-noicon
bbar: [ gettext("Auto-Refresh")+':', {
xtype: "checkbox", xtype: "checkbox",
ref: "../cbAutoRefresh", ref: "../cbAutoRefresh",
scope: this, scope: this,
@ -86,11 +86,11 @@ Ext.ux.MumbleChannelViewer = function( config ){
}, },
}, gettext("Seconds"), '->', { }, gettext("Seconds"), '->', {
xtype: "button", xtype: "button",
template: null,
text: gettext("Refresh"), text: gettext("Refresh"),
handler: this.refresh, handler: this.refresh,
scope: this scope: this
}] }]
},
} ); } );
Ext.ux.MumbleChannelViewer.superclass.constructor.call( this ); Ext.ux.MumbleChannelViewer.superclass.constructor.call( this );

7
htdocs/mumble/style.css

@ -1,3 +1,10 @@
.form_hint_label {
font-family: Lucida Grande,Verdana,Arial,sans-serif;
font-size: 10px;
font-weight: 400;
font-style: normal;
color: #999999;
}
a.mumble:link, a.mumble:visited, a.mumble:hover, a.mumble:active { a.mumble:link, a.mumble:visited, a.mumble:hover, a.mumble:active {
font-weight: bold; font-weight: bold;

Loading…
Cancel
Save