Class: SiSU_Proj_HTML::Bits
- Inherits:
-
Object
- Object
- SiSU_Proj_HTML::Bits
- Includes:
- SiSU_Parts_HTML
- Defined in:
- lib/sisu/html_parts.rb
Overview
require_relative ‘css’ # css.rb
include SiSU_Style
Direct Known Subclasses
Instance Method Summary collapse
- #credits_sisu ⇒ Object
- #credits_sisu_manifest ⇒ Object
-
#initialize ⇒ Bits
constructor
A new instance of Bits.
-
#txt_generator ⇒ Object
@dir=SiSU_Env::InfoEnv.new @date=SiSU_Env::InfoDate.new #@[email protected].
-
#widget_promo ⇒ Object
Array used to build promo from list.yml and promo.yml.
- #widget_sisu ⇒ Object
- #widget_sisu_text ⇒ Object
Methods included from SiSU_Parts_HTML
#_url_path_image_base, #band1, #band2, #banner_band, #black, #blue_ink, #blue_tinge, #css, #grey, #grey_medium, #grey_pale, #home_button_only, #ico, #instrument_cover_band_scr, #instrument_cover_band_seg, #num, #num_css, #numless, #paragraph_font_small, #paragraph_font_tiny, #png_home, #png_home_button, #set_color, #set_face, #set_fonts, #set_size_endnote, #set_small, #set_tiny, #table1, #table2, #table_txt, #table_txt_r, #the_banner, #the_color, #the_font, #the_line_break, #the_margin, #the_nav, #the_png, #the_table_cellpad_box, #the_table_close, #the_url_decoration, #the_width, #txt_0, #txt_1, #txt_2, #txt_3, #txt_close, #txt_concordance, #txt_doc_link, #txt_homepage, #txt_manifest, #txt_open, #txt_toc_link, #white, #xml_close, #xml_open, #yellow_light
Methods included from SiSU_Parts_Generic
#footer_signature, #home, #home_txt, #i_choice, #i_home_button, #i_ico, #i_new, #rl_root, #root_http, #sisu, #sisu_txt, #sisudoc, #site, #the_icon, #the_text, #the_url, #txt_home, #txt_hp, #txt_hp_alias, #txt_signature, #urify, #url_close, #url_open
Constructor Details
#initialize ⇒ Bits
Returns a new instance of Bits.
290 291 292 293 294 |
# File 'lib/sisu/html_parts.rb', line 290 def initialize @v=SiSU_Env::InfoVersion.instance.get_version #@dir=SiSU_Env::InfoEnv.new #@date=SiSU_Env::InfoDate.new #{@date.year} end |
Instance Method Details
#credits_sisu ⇒ Object
322 323 324 325 326 327 328 329 |
# File 'lib/sisu/html_parts.rb', line 322 def credits_sisu %{<div class="substance"> <table summary="SiSU summary" cellpadding="4" border="0"> <tr><td> #{} </table></div>} '' end |
#credits_sisu_manifest ⇒ Object
310 311 312 |
# File 'lib/sisu/html_parts.rb', line 310 def credits_sisu_manifest end |
#txt_generator ⇒ Object
@dir=SiSU_Env::InfoEnv.new @date=SiSU_Env::InfoDate.new #SiSU_Proj_HTML::Bits.@[email protected]
295 296 297 298 |
# File 'lib/sisu/html_parts.rb', line 295 def txt_generator %{ <meta name="generator" content="#{@v.project} #{@v.version} of #{@v.date_stamp} (#{@v.date}) (n*x and Ruby!)" /> <link rel="generator" href="http://www.sisudoc.org/" />} end |
#widget_promo ⇒ Object
Array used to build promo from list.yml and promo.yml
330 331 332 |
# File 'lib/sisu/html_parts.rb', line 330 def # Array used to build promo from list.yml and promo.yml # ['sisu_icon','sisu','sisu_search_libre','open_society','fsf','ruby'] end |
#widget_sisu ⇒ Object
313 314 315 316 317 318 319 320 321 |
# File 'lib/sisu/html_parts.rb', line 313 def <<WOK <!-- widget sisu --> <tr><td valign="top" width="100%"> <!-- SiSU Rights --> #{} </td></tr> WOK end |
#widget_sisu_text ⇒ Object
299 300 301 302 303 304 305 306 307 308 309 |
# File 'lib/sisu/html_parts.rb', line 299 def <<WOK <p class="tiny"><font color="#666666" size="2"> Output generated by <a href="#{the_url.sisu}"> #{@v.project} </a> #{@v.version} #{@v.date} (#{@v.date_stamp}) </font></p> WOK end |