Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fixed misinteraction between bootstrap skin and new /brlist selection feature caused by both using the .label class for their own purposes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | brlist-timeline |
| Files: | files | file ages | folders |
| SHA3-256: |
f5bcff6cbd2a2b327b2bda571060b181 |
| User & Date: | stephan 2021-04-19 18:18:18.759 |
Context
|
2021-04-22
| ||
| 00:26 | Apply <code>encodeURIComponent()</code> function to the generated regular expression before appending it to the hyperlink's prefix. This should handle some awkward characters within branch names. Spaces and commas are a noteworthy examples of characters that still should be avoided within branch names. ... (check-in: 6281f24edb user: george tags: brlist-timeline) | |
|
2021-04-19
| ||
| 18:18 | Fixed misinteraction between bootstrap skin and new /brlist selection feature caused by both using the .label class for their own purposes. ... (check-in: f5bcff6cbd user: stephan tags: brlist-timeline) | |
| 16:45 | Do not use bold font for the "View X branch(es)" hyperlink. ... (check-in: 08b90535e8 user: george tags: brlist-timeline) | |
Changes
Changes to skins/bootstrap/css.txt.
cannot compute difference between binary files
Changes to skins/bootstrap/footer.txt.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<th1>
if {! $is_index && ! $is_home} {
html "</div>"
}
</th1>
</div>
<div id="push"></div>
</div>
<footer id="footer">
<p>© Copyright $<project_name>. All right reserved. Fossil $release_version · <a href="$home/timeline.rss">RSS</a></p>
</footer>
<script nonce="$<nonce>">
var tables = document.querySelectorAll('table');
| > > | | | > > | | | | | 1 2 3 4 5 6 7 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 34 35 36 37 38 39 40 41 42 |
<th1>
if {! $is_index && ! $is_home} {
html "</div>"
}
</th1>
</div>
<div id="push"></div>
</div>
<footer id="footer">
<p>© Copyright $<project_name>. All right reserved. Fossil $release_version · <a href="$home/timeline.rss">RSS</a></p>
</footer>
<script nonce="$<nonce>">
window.addEventListener( 'load', function() {
var i;
var tables = document.querySelectorAll('table');
for(i = 0; i < tables.length; i++) {
if (tables[i].id !== "timelineTable"){
tables[i].classList.add('table');
}
};
var submenus = document.querySelectorAll('.submenu');
var labels, j;
for (i = 0; i < submenus.length; i++) {
submenus[i].classList.add('btn-group');
labels = submenus[i].querySelectorAll('.label');
for (j = 0; j < labels.length; j++) {
labels[j].classList.remove('label');
labels[j].classList.add('btn');
labels[j].classList.add('btn-default');
labels[j].classList.add('btn-sm');
}
};
//Handle the collapsible navbar
var collapse = document.querySelector('[data-toggle="collapse"]');
collapse.onclick = function(){
var target = document.querySelector(
collapse.getAttribute('data-target')
);
target.classList.toggle('collapse');
target.classList.toggle('collapsed');
};
});</script>
|
Changes to src/default.css.
| ︙ | ︙ | |||
1783 1784 1785 1786 1787 1788 1789 |
cursor: pointer;
}
body.branch .brlist > table > tbody > tr > td:nth-child(1) {
display: flex;
flex-direction: row;
justify-content: space-between;
}
| | | | 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 |
cursor: pointer;
}
body.branch .brlist > table > tbody > tr > td:nth-child(1) {
display: flex;
flex-direction: row;
justify-content: space-between;
}
body.branch .submenu > a.timeline-link {
display: none;
}
body.branch .submenu > a.timeline-link.selected {
display: inline;
}
/* Objects in the "desktoponly" class are invisible on mobile */
@media screen and (max-width: 600px) {
.desktoponly {
display: none;
|
| ︙ | ︙ |
Changes to src/fossil.page.brlist.js.
| ︙ | ︙ | |||
8 9 10 11 12 13 14 |
* According to MDN 'const' requires Android's WebView 37,
* which may not be available.
* For the time being, continueing without 'const' and 'indexOf'
* (but that may be reconsidered later).
*/
window.addEventListener( 'load', function() {
| | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
* According to MDN 'const' requires Android's WebView 37,
* which may not be available.
* For the time being, continueing without 'const' and 'indexOf'
* (but that may be reconsidered later).
*/
window.addEventListener( 'load', function() {
var anchor = document.querySelector("div.submenu > a:first-of-type" );
if( !anchor || anchor.innerText != "Timeline" ) return;
var prefix = anchor.href.toString() + "?ms=regexp&rel&t=";
anchor.classList.add('timeline-link');
var onChange = function( event ){
var cbx = event.target;
var tr = cbx.parentElement.parentElement;
|
| ︙ | ︙ |