Projekt

Obecné

Profil

« Předchozí | Další » 

Revize eb8dd3af

Přidáno uživatelem Pavel Fidranský před více než 6 roky(ů)

changed title of Sidebar unconnected nodes list

Zobrazit rozdíly:

sources/src/main/webapp/css/main.css
490 490
}
491 491

  
492 492
.sidebar-navbar .button {
493
	width: 25%;
494 493
	height: 30px;
495 494
}
496 495

  
sources/src/main/webapp/js/components/sidebar.js
49 49
		var unconnectedButton = app.utils.createHtmlElement('button', {
50 50
			'class': 'button',
51 51
			'id': 'unconnectedButton',
52
			'title': 'Unconnected components',
53
			'data-tooltip': 'top',
52
			'title': 'Unconnected vertices',
54 53
		});
55 54
		unconnectedButton.appendChild(app.dom.createHtmlElement('img', {
56 55
			'src': 'images/tochange/unconnected.gif',
57
			'alt': 'Icon of "toggle unconnected components list" action',
56
			'alt': 'Icon of "toggle unconnected vertices list" action',
58 57
		}));
59
		unconnectedButton.appendChild(app.dom.createTextElement('List'));
58
		unconnectedButton.appendChild(app.dom.createTextElement('Unconnected vertices'));
60 59
		unconnectedButton.addEventListener('click', function() {
61 60
			document.getElementById('unconnectedNodeListComponent').classList.toggle('hidden');
62 61
			app.redrawEdges();
sources/src/main/webapp/js/components/sidebarUnconnectedNodeList.js
55 55
		});
56 56

  
57 57
		// title
58
		rootElement.appendChild(app.dom.htmlStringToElement('<h2 class="node-container-title">Unconnected components</h2>'));
58
		rootElement.appendChild(app.dom.htmlStringToElement('<h2 class="node-container-title">Unconnected vertices</h2>'));
59 59

  
60 60
		// buttons
61 61
		buttonGroup = app.utils.createHtmlElement('div', {

Také k dispozici: Unified diff