}
end
def color_white
'"#ffffff"'
end
def color_black
'#000000'
end
def color_shadow #hmmm
'"4"'
end
def color_blue_dark
'#000099'
end
def color_blue
'blue'
end
def color_blue_base
'#b9d4dd'
#'#eff6ff' #light
#'#c0d9d9' #light
#'#0044cc' #pale
#'#c0d9d9' #sky
end
def color_blue_ink
'#003399'
end
def color_blue_tinge
'#e3ecef'
#'#d7dddd'
#'#f2f5f7'
end
def color_blue_grey
'#8faebf'
end
def color_blue_murky
'#437389'
end
#def color_brown
# '#423a27'
#end
def color_beige
'#f1e8de'
#'#fff3b6'#custard
end
def color_subtleglow
'#dddccc'
end
def color_glow
'#fff0c3'
end
def color_rose
'#ffdec9'
end
def color_turquoise
'#1c869b'
end
def color_grey_pale
'#eeeeee'
# '#dddddd' #light
end
def color_grey_medium
'#cccccc'
end
def color_grey
'#999999'
end
def color_yellow_light
'#fff3b6'
end
def color_yellow
'#ffde14'
end
def color_yellow_dark
'#ffcc00'
end
def color_green_light
'#b7d398' # #e2efd5 #b7d398 #b1c999 # '#aed19e'
end
def color_green
'#0a8400'
end
def color_green_dark
'#086800'
end
def color_ruby
'#a00000'
end
def color_maroon
'#800000'
end
def color_paper
%{"#{color_white}"}
end
def color_band1
%{"#{color_white}"}
#'"#777777"'
end
def color_band2
%{"#{color_white}"}
#'"#cccccc"'
end
def color_body
%{\n\n}
end
def color_font_face #was font WATCH
"#{color_black}"
end
def color_surround
%{"#{color_white}"}
end
def color_band
%{"#{color_white}"}
end
def color_table1
'ffffcc'
end
def color_table2
'c0d0f0'
end
def color_band1
'"#ffffff"'
end
def color_band2
'"#ffffff"'
end
#% icon
def icon_ico
'rb7.ico'
end
def icon_sisu
'sisu.png'
end
def icon_manifest
'bullet_red.png'
end
def icon_doc
'b_doc.png'
end
def icon_toc
'b_toc.png'
end
def icon_wmp
'b_wmp.png'
end
def icon_odf
'b_odf.png'
end
def icon_pdf
'b_pdf.png'
end
def icon_pdf_portrait
'b_pdf.png'
end
def icon_pdf_landscape
'b_pdf.png'
end
def icon_status
'b_status.png'
end
def icon_external
'b_ext.png'
end
def icon_external_toc
'b_ext_toc.png'
end
def icon_seg_toc
'b_bluebell.png'
end
def icon_crosslink_toc
'b_amber.png'
end
def icon_mail
'b_mail.png'
end
def icon_para
'b_para.png'
end
def icon_pdf
'b_pdf.png'
end
def icon_ftp
'b_ftp.png'
end
def icon_gopher
'b_gopher.png'
end
def icon_choice
'b_choice.png'
end
def icon_new
'b_new.png'
end
def icon_book
'b_amber.png'
# b_book.png
end
def icon_dot_clear
'dot_clear.png'
end
def icon_dot_white
'dot_white.png'
end
def icon_dot
icon_dot_white
end
def icon_amber
'b_amber.png'
end
def icon_rose
'b_rose.png'
end
def icon_bluebell
'b_bluebell.png'
end
def icon_home_button
'sisu.png'
end
def icon_home_banner
'sisu.png'
end
def icon_site
'b_home.png'
end
def icon_bluedot
'blueband.png'
end
def icon_next
'arrow_next_red.png'
end
def icon_previous
'arrow_prev_red.png'
end
def icon_up
'arrow_up_red.png'
end
#% font
def font_fonts
@fonts
end
def font_face
%{face="#{font_fonts}"}
end
def font_lmtoc_face
%{face="#{font_fonts}"}
end
def font_ebook_face
%{face="#{font_fonts}"}
end
def font_face_lmtoc
%{face="#{font_fonts}"}
end
def font_color
'color="#000000"'
end
def font_size
'size="4"'
end
def font_size_txt
'size="4"'
end
def font_size_txt_00
'size="3"'
end
def font_size_endnote
'size="3"'
end
def font_small
'size="3"'
end
def font_tiny
'size="2"'
end
#% markup
def markup_italics_list #regular expression of words to be italised
end
def markup_bold_list #regular expression of words to be made bold
'SiSU'
end
def markup_make_italic
if defined? italics_list and italics_list
#make=italics_list.split(/;\s+/).join('|').strip
make={}
if italics_list
r=italics_list.dup
x=case r
when /\/i$/; 'i'
else ''
end
r.gsub!(/^\/(.+?)\/i?/,'\1')
r.gsub!(/\(/,'(?:') # avoid need to escape use of brackets within regex provided
m='\b(' + r + ')\b'
make[:str]
make[:regx]=if x =~/i/; /#{m}/i
else /#{m}/
end
else nil
end
end
end
def markup_make_bold
if defined? bold_list and not bold_list.empty?
make={}
if bold_list
#make=bold_list.split(/;\s+/).join('|').strip
r=bold_list.dup
x=case r
when /\/i$/; 'i'
else ''
end
r.gsub!(/^\/(.+?)\/i?/,'\1')
r.gsub!(/\(/,'(?:') # avoid need to escape use of brackets within regex provided
m='\b(' + r + ')\b'
make[:str]
make[:regx]=if x =~/i/; /#{m}/i
else /#{m}/
end
else nil
end
make
end
end
#% paragraph
def paragraph_txt
%{
}
end
def paragraph_txt_00
%{
}
end
def paragraph_font_citation
%{}
end
def paragraph_endnote
%{
}
end
def paragraph_table
%{
}
end
def paragraph_table_xml
end
def paragraph_tiny
%{
}
end
def paragraph_small
%{
} # keep but not used?
end
def paragraph_font_tiny
%{}
end
def paragraph_font_small
%{}
end
def paragraph_heading_1
%{
}
end
def paragraph_heading_1_center
%{
}
end
#% table
def table_close
'
'
end
def table_close_centered_table
end
def table_align_A
end
def table_align_B
end
def table_align_C
end
def table_width_1
'"100%"'
end
def table_width_2
'"99%"'
end
def table_width_3
'"94%"'
end
def table_width_4
'"90%"'
end
def table_width_txt
'"94%"'
end
def table_width_txt_avgo
'"100%"'
end
def table_width_txt_r
'"96%"'
end
def table_cellpad_small_paper_margins
'"6"'
end
def table_cellpad_paper_margins
'"36"'
end
def table_cellpad_A
'"0"'
end
def table_cellpad_B
'"20"'
end
def table_cellpad_shadow
'"4"'
end
def table_cellpad_band
'"16"'
end
def table_cellpad_box
'"20"'
end
def table_table_align_A
'
'
end
def table_table_align_B
'
'
end
def table_table_align_C
' '
end
#% table_do
def table_do_table_paper
%{#{table_align_C}
\n\n}
end
def table_do_table_surround
%{
\n}
end
#% indent
def indent_level_0
'"1%"'
end
def indent_level_1
'"4%"'
end
def indent_level_2
'"6%"'
end
def indent_level_3
'"8%"'
end
def indent_level_4
'"10%"'
end
#% margin
def margin_num
'
'
end
def margin_numless
'
'
end
def margin_num_css
'
'
end
def margin_num_header
'
'
end
def margin_txt_00_1
%{
}
end
def margin_txt_w1
%{
}
end
def margin_txt_w2
%{
}
end
def margin_txt_0
%{
}
end
def margin_txt_1
%{
}
end
def margin_txt_2
%{
}
end
def margin_txt_3
%{
}
end
def margin_css
'
'
end
#% png
def png_ico
%{ }
end
def png_sisu #check url path
%{ }
end
def png_hp
dir=SiSU_Env::Info_env.new #(@fns)
%{ }
end
def png_site
#dir=SiSU_Env::Info_env.new #(@fns)
%{}
end
def png_homepage
png_site
end
def png_nav
%{}
end
def png_manifest
%{}
end
def png_doc
%{}
end
def png_toc
%{}
end
def png_odf
%{}
end
def png_pdf
%{}
end
def png_pdf_portrait
%{}
end
def png_pdf_landscape
%{}
end
def png_wmp
%{}
end
def png_para
%{}
end
def png_status
%{}
end
def png_mark
%{}
end
def png_doc_tiny
%{}
end
def png_toc_tiny
%{}
end
def png_status_tiny
%{}
end
def png_ftp
%{}
end
def png_gopher
%{}
end
def png_crosslink
%{}
end
def png_crosslink_ext
%{}
end
def png_home
dir=SiSU_Env::Info_env.new #(@fns)
%{}
end
def png_home_button
#dir=SiSU_Env::Info_env.new #(@fns)
%{}
end
def png_book
%{}
end
#% png_nav
def png_nav_home
end
def png_nav_toc
%{}
end
def png_nav_doc
end
def png_nav_previous
%{}
end
def png_nav_next
%{}
end
def png_nav_pre
png_nav_previous
end
def png_nav_nxt
png_nav_next
end
def png_nav_pdf
%{}
end
def png_nav_pdf_portrait
%{}
end
def png_nav_pdf_landscape
%{}
end
def png_nav_dot_toc
%{}
end
def png_nav_dot_previous
%{}
end
def png_nav_dot_next
%{}
end
def png_nav_dot_pre
png_nav_dot_previous
end
def png_nav_dot_nxt
png_nav_dot_next
end
#% nav_txt
def nav_txt_home
%{
#{png_site}
}
end
def nav_txt_home_button
%{
#{png_home_button}
}
end
def nav_txt_homepage
%{
#{png_site} homepage
}
end
def nav_txt_toc_link
%{
#{png_toc} toc
}
end
def nav_txt_toc_link_verbose
%{
#{png_toc} segments' toc
}
end
def nav_txt_doc_link
%{
#{png_doc} scroll
}
end
def nav_txt_manifest
%{
#{png_manifest} ?
}
end
def nav_txt_concordance
%{
A-Z
}
end
def nav_txt_previous
'
<< Previous
Full Text '
end
def nav_txt_next
%{
Next >>
}
end
def nav_txt_odf
%{
#{png_odf} odt
}
end
def nav_txt_pdfs
%{
pdfs
}
end
def nav_txt_pdf_portrait
%{
#{png_pdf_portrait}
pdf
}
end
def nav_txt_pdf_landscape
%{
#{png_pdf_landscape}
pdf
}
end
#% banner
def banner_home
%{
#{png_site}
an
( international | transnational )
commercial law & e-commerce
infrastructure monitor
'
end
#% widget
def widget_promo # Array used to build promo from list.yml and promo.yml
# ['sisu_icon','sisu','sisu_search_libre','open_society','fsf','ruby']
end
def widget_browsers
<
If you have problems viewing pages on this site please update your browser:
WOK
end
def widget_way_better
<
Developed
using
Ruby
on
Debian/Gnu/Linux
software infrastructure,
& with the usual GPL (or OSS) suspects.
Better - "performance, reliability, scalability, security
& total cost of ownership"
[not to mention flexibility & choice]
Get With the Future
Way Better!
#{table_close}
#{table_close}
WOK
end
def widget_wayBetter
widget_way_better
end
#% credits
def credits_itl_cover_band
%{
\@
#{txt_home}
#{banner_url_txt_sisu}
#{table_close*4}}
end
def credits_splash
%{
#{credits_splash}
#{table_close}
}
end
end
class Home < Skin
def initialize
@v=SiSU_Env::Info_version.new.get_version
@dir=SiSU_Env::Info_env.new
end
def redirect
<SiSU
SiSU informtion provided at www.jus.uio.no/sisu/SiSU
If your browser supports redirection, you will be escorted there shortly.