summaryrefslogtreecommitdiff
path: root/scripts/html_status.py
blob: e8a9bea7607951597bf9a918e243f1bd91743bca (plain)
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
#! /usr/bin/env python3
#===============================
#
# html_status
#
# 2021/02/09 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
#===============================
import sys

import html_base
from html_base import html
#====================================
#
# periject_html
#
#====================================
class periject_html(html_base.myhtml):

    #--------------------
    # print
    #--------------------
    def print(self, argv):
        # remove this script
        argv.pop(0)
        argv.pop(0)

        dir = "{}/html".format(self.top())

        self.print_css(dir)
        with html("body"):
            self.summary(None, dir, argv)

#====================================
#
# As command
#
#====================================
if __name__=='__main__':
    # ./script/find.py -s Active | xargs ./script/html_status.py Active
    periject_html().print(sys.argv)