Method: NxgHTML#header

Defined in:
lib/nxgreport/nxghtml.rb

#headerObject



69
70
71
72
73
74
75
76
77
78
# File 'lib/nxgreport/nxghtml.rb', line 69

def header()
    "<div id=\"header\">
      <h1 id=\"app-title\">#{@data_provider[:title]}</h1>
      <div id=\"theme-wrap\">
        <button id=\"theme-switch\" onclick=\"switchTheme()\">
          <i class=\"material-icons\" id=\"theme-icon\">wb_sunny</i>
        </button>
      </div>
    </div>"
end