|
@@ -741,6 +741,7 @@ class class_do_render_namumark:
|
|
|
file_bgcolor = ''
|
|
file_bgcolor = ''
|
|
|
file_turn = ''
|
|
file_turn = ''
|
|
|
file_radius = ''
|
|
file_radius = ''
|
|
|
|
|
+ file_rendering = ''
|
|
|
|
|
|
|
|
file_split_regex = r'(?:^|&) *((?:(?!&).)+)'
|
|
file_split_regex = r'(?:^|&) *((?:(?!&).)+)'
|
|
|
file_split_sub_regex = r'(^[^=]+) *= *([^=]+)'
|
|
file_split_sub_regex = r'(^[^=]+) *= *([^=]+)'
|
|
@@ -766,6 +767,9 @@ class class_do_render_namumark:
|
|
|
file_turn = 'light'
|
|
file_turn = 'light'
|
|
|
elif data_sub[0] == 'border-radius':
|
|
elif data_sub[0] == 'border-radius':
|
|
|
file_radius = self.get_tool_px_add_check(data_sub[1])
|
|
file_radius = self.get_tool_px_add_check(data_sub[1])
|
|
|
|
|
+ elif data_sub[0] == 'rendering':
|
|
|
|
|
+ if data_sub[1] == 'pixelated':
|
|
|
|
|
+ file_rendering = 'pixelated'
|
|
|
|
|
|
|
|
link_main_org = ''
|
|
link_main_org = ''
|
|
|
link_sub = link_main
|
|
link_sub = link_main
|
|
@@ -826,11 +830,16 @@ class class_do_render_namumark:
|
|
|
if file_radius != '':
|
|
if file_radius != '':
|
|
|
file_radius = 'border-radius:' + self.get_tool_css_safe(file_radius) + ';'
|
|
file_radius = 'border-radius:' + self.get_tool_css_safe(file_radius) + ';'
|
|
|
|
|
|
|
|
|
|
+ if file_rendering != '':
|
|
|
|
|
+ file_rendering = 'image-rendering:' + self.get_tool_css_safe(file_rendering) + ';'
|
|
|
|
|
+
|
|
|
|
|
+ file_style = file_width + file_height + file_align_style + file_bgcolor + file_radius + file_rendering
|
|
|
|
|
+
|
|
|
image_set = get_main_skin_set(self.curs, self.flask_session, 'main_css_image_set', self.ip)
|
|
image_set = get_main_skin_set(self.curs, self.flask_session, 'main_css_image_set', self.ip)
|
|
|
if image_set == 'new_click' or image_set == 'click':
|
|
if image_set == 'new_click' or image_set == 'click':
|
|
|
- file_end = '<img style="' + file_width + file_height + file_align_style + file_bgcolor + file_radius + '" id="opennamu_image_' + str(image_count) + '" alt="' + link_sub + '" src="">'
|
|
|
|
|
|
|
+ file_end = '<img style="' + file_style + '" id="opennamu_image_' + str(image_count) + '" alt="' + link_sub + '" src="">'
|
|
|
else:
|
|
else:
|
|
|
- file_end = '<img style="' + file_width + file_height + file_align_style + file_bgcolor + file_radius + '" alt="' + link_sub + '" src="' + link_main + '">'
|
|
|
|
|
|
|
+ file_end = '<img style="' + file_style + '" alt="' + link_sub + '" src="' + link_main + '">'
|
|
|
|
|
|
|
|
if file_align == 'center':
|
|
if file_align == 'center':
|
|
|
file_end = '<div style="text-align:center;">' + file_end + '</div>'
|
|
file_end = '<div style="text-align:center;">' + file_end + '</div>'
|
|
@@ -1540,7 +1549,7 @@ class class_do_render_namumark:
|
|
|
table_data_end = '<table class="' + table_parameter['class'] + '" style="' + table_parameter['table'] + '">' + table_caption + table_data_end + '</table>'
|
|
table_data_end = '<table class="' + table_parameter['class'] + '" style="' + table_parameter['table'] + '">' + table_caption + table_data_end + '</table>'
|
|
|
table_data_end = '<div class="table_safe" style="' + table_parameter['div'] + '">' + table_data_end + '</div>'
|
|
table_data_end = '<div class="table_safe" style="' + table_parameter['div'] + '">' + table_data_end + '</div>'
|
|
|
|
|
|
|
|
- self.render_data = re.sub(table_regex, lambda x : ('\n<front_br>' + table_data_end + '<back_br>\n'), self.render_data, 1)
|
|
|
|
|
|
|
+ self.render_data = re.sub(table_regex, lambda x : ('\n<front_br>' + table_data_end + '\n'), self.render_data, 1)
|
|
|
|
|
|
|
|
table_count_all -= 1
|
|
table_count_all -= 1
|
|
|
|
|
|