https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 81ea519580a73d9b974480270bef00c6240eb70a authored by danne on 13 January 2017, 18:16:34 UTC
latest
Tip revision: 81ea519
features.tmpl
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="https://raw.github.com/farinspace/jquery.tableScroll/master/jquery.tablescroll.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"></script>
<script src="https://raw.github.com/farinspace/jquery.tableScroll/master/jquery.tablescroll.js"></script>

<title> Feature comparison matrix </title>
</head>
<body style="margin:10px">

<b>Magic Lantern Nightly ${version}</b>

<p>This table was generated automatically from ML source code. It only shows what things are enabled - they may work or they may not.</p>

<p>Need some help in adding links to relevant forum threads or user guide sections (edit features-html.py to add them). Also, if you find something enabled, but not working, please <a href="http://www.magiclantern.fm/forum/index.php?board=23.0">report a bug.</a></p>

<table id="matrixTable" class="table table-hover">
%for mn in menus:
    %if MN_COUNT.get(mn,0) != 0:
        <thead>
            <tr><th align="left" colspan="${len(cams)+3}">&nbsp;</th></tr>
            <tr><th align="left" colspan="${len(cams)+3}">${mn}</th></tr>
            <tr>
                <th></th>
                <th></th>
                <th></th>
                %for camera in cams:
                    %if shortnames[camera] in porting_threads:
                        <th><a href="${porting_threads[shortnames[camera]]}">${shortnames[camera]}</a></th>
                    %else:
                        <th>${shortnames[camera]}</th>
                    %endif
                %endfor
            </tr>
        </thead>
        <tbody>
            %for f in AF:
                %if MN_DICT.get(f[8:], "Other") == mn:
                <tr>
                    %if f in readme_links:
                    <td width=10% style="white-space: nowrap;">
                    %else:
                    <td colspan="3">
                    %endif
                    
                    %if f in feature_links:
                        <a href="${feature_links[f]}">${f[8:]}</a>
                    %else:
                        <!--<td><a href="http://wiki.magiclantern.fm/features/${f[8:]}">${f[8:]}</a></td>-->
                        ${f[8:]}
                    %endif
                    </td>
                    %if f in readme_links:
                        <td width=10% style="white-space: nowrap;">
                        <font size="-3">${friendly_names.get(f, "")}</font>
                        </td>
                        <td>&nbsp;&nbsp;<a href="${readme_links[f]}"><font size="-3">[README]</font></a></td>
                    %endif
                    %for c in cams:
                        %if FD.get((c,f))==True:
                            <td>&#x2713;</td>
                        %else:
                            <td>${FD.get((c,f), "")}</td>
                        %endif
                    %endfor 
                </tr>
                %endif
            %endfor
        </tbody>
    % endif
%endfor
</table>
<script type="text/javascript">
jQuery(document).ready(function($)
{
	//$('#matrixTable').tableScroll({height:500});
});
</script>
</body>
</html>
back to top