Overview
Comment:Allow table rows to be focused
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: d4d07b293655b584384766be5a991d7d6a8ede74
User & Date: bohwaz on 2020-12-03 23:29:34
Other Links: branch diff | manifest | tags
Context
2020-12-04
13:25
Only show graphs if there's more than five transactions check-in: d4966c48f4 user: bohwaz tags: dev
2020-12-03
23:29
Allow table rows to be focused check-in: d4d07b2936 user: bohwaz tags: dev
23:29
UX improvements in fees forms check-in: 1c1a6953fd user: bohwaz tags: dev
Changes

Modified src/www/admin/static/scripts/global.js from [9731151492] to [054e0148e7].

240
241
242
243
244
245
246





247
248
249
250
251
252
253
		input.parentNode.insertBefore(span, input.nextSibling);
	};

	g.current_list_input = null;

	g.inputListSelected = function(value, label) {
		var i = g.current_list_input;





		var multiple = i.firstChild.getAttribute('data-multiple');
		var name = i.firstChild.getAttribute('data-name');

		var span = document.createElement('span');
		span.className = 'label';
		span.innerHTML = '<input type="hidden" name="' + name + '[' + value + ']" value="' + label + '" />' + label;








>
>
>
>
>







240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
		input.parentNode.insertBefore(span, input.nextSibling);
	};

	g.current_list_input = null;

	g.inputListSelected = function(value, label) {
		var i = g.current_list_input;

		if (!i) {
			throw Error('Parent input list not found');
		}

		var multiple = i.firstChild.getAttribute('data-multiple');
		var name = i.firstChild.getAttribute('data-name');

		var span = document.createElement('span');
		span.className = 'label';
		span.innerHTML = '<input type="hidden" name="' + name + '[' + value + ']" value="' + label + '" />' + label;

Modified src/www/admin/static/styles/03-forms.css from [ddd03e3cc7] to [c2b57b3af5].

8
9
10
11
12
13
14
15
16
17
18
19
20






21
22
23
24
25
26
27

fieldset legend {
    padding: 0 0.5em;
    font-weight: bold;
    color: #000;
}

table tr.clickable:hover {
    cursor: pointer;
    color: #633;
    background: #ffc;

}







dl dt label {
    font-weight: bold;
}

fieldset dl dt b {
    color: #900;







|





>
>
>
>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

fieldset legend {
    padding: 0 0.5em;
    font-weight: bold;
    color: #000;
}

table.list tr.clickable:hover {
    cursor: pointer;
    color: #633;
    background: #ffc;

}

table tr.focused {
    color: #633;
    background: #ffc !important;
    box-shadow: 0 0 5px .2rem #990;
}

dl dt label {
    font-weight: bold;
}

fieldset dl dt b {
    color: #900;