Best K6 code snippet using html.Width
class.go
Source:class.go
1package uikit22import (3 html "gopkg.in/go-on/lib.v3/types"4)5var (6 Uk_link = html.Class("uk-link")7 Uk_img_preserve = html.Class("uk-img-preserve")8 Uk_h1 = html.Class("uk-h1")9 Uk_h2 = html.Class("uk-h2")10 Uk_h3 = html.Class("uk-h3")11 Uk_h4 = html.Class("uk-h4")12 Uk_h5 = html.Class("uk-h5")13 Uk_h6 = html.Class("uk-h6")14 Uk_grid = html.Class("uk-grid")15 Uk_grid_margin = html.Class("uk-grid-margin")16 Uk_grid_divider = html.Class("uk-grid-divider")17 Uk_width_1_1 = html.Class("uk-width-1-1")18 Uk_width_medium_1_1 = html.Class("uk-width-medium-1-1")19 Uk_panel = html.Class("uk-panel")20 Uk_grid_preserve = html.Class("uk-grid-preserve")21 Uk_width_1_2 = html.Class("uk-width-1-2")22 Uk_width_2_4 = html.Class("uk-width-2-4")23 Uk_width_3_6 = html.Class("uk-width-3-6")24 Uk_width_5_10 = html.Class("uk-width-5-10")25 Uk_width_1_3 = html.Class("uk-width-1-3")26 Uk_width_2_6 = html.Class("uk-width-2-6")27 Uk_width_2_3 = html.Class("uk-width-2-3")28 Uk_width_4_6 = html.Class("uk-width-4-6")29 Uk_width_1_4 = html.Class("uk-width-1-4")30 Uk_width_3_4 = html.Class("uk-width-3-4")31 Uk_width_1_5 = html.Class("uk-width-1-5")32 Uk_width_2_10 = html.Class("uk-width-2-10")33 Uk_width_2_5 = html.Class("uk-width-2-5")34 Uk_width_4_10 = html.Class("uk-width-4-10")35 Uk_width_3_5 = html.Class("uk-width-3-5")36 Uk_width_6_10 = html.Class("uk-width-6-10")37 Uk_width_4_5 = html.Class("uk-width-4-5")38 Uk_width_8_10 = html.Class("uk-width-8-10")39 Uk_width_1_6 = html.Class("uk-width-1-6")40 Uk_width_5_6 = html.Class("uk-width-5-6")41 Uk_width_1_10 = html.Class("uk-width-1-10")42 Uk_width_3_10 = html.Class("uk-width-3-10")43 Uk_width_7_10 = html.Class("uk-width-7-10")44 Uk_width_9_10 = html.Class("uk-width-9-10")45 Uk_width_medium_1_2 = html.Class("uk-width-medium-1-2")46 Uk_width_medium_2_4 = html.Class("uk-width-medium-2-4")47 Uk_width_medium_3_6 = html.Class("uk-width-medium-3-6")48 Uk_width_medium_5_10 = html.Class("uk-width-medium-5-10")49 Uk_width_medium_1_3 = html.Class("uk-width-medium-1-3")50 Uk_width_medium_2_6 = html.Class("uk-width-medium-2-6")51 Uk_width_medium_2_3 = html.Class("uk-width-medium-2-3")52 Uk_width_medium_4_6 = html.Class("uk-width-medium-4-6")53 Uk_width_medium_1_4 = html.Class("uk-width-medium-1-4")54 Uk_width_medium_3_4 = html.Class("uk-width-medium-3-4")55 Uk_width_medium_1_5 = html.Class("uk-width-medium-1-5")56 Uk_width_medium_2_10 = html.Class("uk-width-medium-2-10")57 Uk_width_medium_2_5 = html.Class("uk-width-medium-2-5")58 Uk_width_medium_4_10 = html.Class("uk-width-medium-4-10")59 Uk_width_medium_3_5 = html.Class("uk-width-medium-3-5")60 Uk_width_medium_6_10 = html.Class("uk-width-medium-6-10")61 Uk_width_medium_4_5 = html.Class("uk-width-medium-4-5")62 Uk_width_medium_8_10 = html.Class("uk-width-medium-8-10")63 Uk_width_medium_1_6 = html.Class("uk-width-medium-1-6")64 Uk_width_medium_5_6 = html.Class("uk-width-medium-5-6")65 Uk_width_medium_1_10 = html.Class("uk-width-medium-1-10")66 Uk_width_medium_3_10 = html.Class("uk-width-medium-3-10")67 Uk_width_medium_7_10 = html.Class("uk-width-medium-7-10")68 Uk_width_medium_9_10 = html.Class("uk-width-medium-9-10")69 Uk_width_large_1_2 = html.Class("uk-width-large-1-2")70 Uk_width_large_2_4 = html.Class("uk-width-large-2-4")71 Uk_width_large_3_6 = html.Class("uk-width-large-3-6")72 Uk_width_large_5_10 = html.Class("uk-width-large-5-10")73 Uk_width_large_1_3 = html.Class("uk-width-large-1-3")74 Uk_width_large_2_6 = html.Class("uk-width-large-2-6")75 Uk_width_large_2_3 = html.Class("uk-width-large-2-3")76 Uk_width_large_4_6 = html.Class("uk-width-large-4-6")77 Uk_width_large_1_4 = html.Class("uk-width-large-1-4")78 Uk_width_large_3_4 = html.Class("uk-width-large-3-4")79 Uk_width_large_1_5 = html.Class("uk-width-large-1-5")80 Uk_width_large_2_10 = html.Class("uk-width-large-2-10")81 Uk_width_large_2_5 = html.Class("uk-width-large-2-5")82 Uk_width_large_4_10 = html.Class("uk-width-large-4-10")83 Uk_width_large_3_5 = html.Class("uk-width-large-3-5")84 Uk_width_large_6_10 = html.Class("uk-width-large-6-10")85 Uk_width_large_4_5 = html.Class("uk-width-large-4-5")86 Uk_width_large_8_10 = html.Class("uk-width-large-8-10")87 Uk_width_large_1_6 = html.Class("uk-width-large-1-6")88 Uk_width_large_5_6 = html.Class("uk-width-large-5-6")89 Uk_width_large_1_10 = html.Class("uk-width-large-1-10")90 Uk_width_large_3_10 = html.Class("uk-width-large-3-10")91 Uk_width_large_7_10 = html.Class("uk-width-large-7-10")92 Uk_width_large_9_10 = html.Class("uk-width-large-9-10")93 Uk_push_1_2 = html.Class("uk-push-1-2")94 Uk_push_2_4 = html.Class("uk-push-2-4")95 Uk_push_3_6 = html.Class("uk-push-3-6")96 Uk_push_5_10 = html.Class("uk-push-5-10")97 Uk_push_1_3 = html.Class("uk-push-1-3")98 Uk_push_2_6 = html.Class("uk-push-2-6")99 Uk_push_2_3 = html.Class("uk-push-2-3")100 Uk_push_4_6 = html.Class("uk-push-4-6")101 Uk_push_1_4 = html.Class("uk-push-1-4")102 Uk_push_3_4 = html.Class("uk-push-3-4")103 Uk_push_1_5 = html.Class("uk-push-1-5")104 Uk_push_2_10 = html.Class("uk-push-2-10")105 Uk_push_2_5 = html.Class("uk-push-2-5")106 Uk_push_4_10 = html.Class("uk-push-4-10")107 Uk_push_3_5 = html.Class("uk-push-3-5")108 Uk_push_6_10 = html.Class("uk-push-6-10")109 Uk_push_4_5 = html.Class("uk-push-4-5")110 Uk_push_8_10 = html.Class("uk-push-8-10")111 Uk_push_1_6 = html.Class("uk-push-1-6")112 Uk_push_5_6 = html.Class("uk-push-5-6")113 Uk_push_1_10 = html.Class("uk-push-1-10")114 Uk_push_3_10 = html.Class("uk-push-3-10")115 Uk_push_7_10 = html.Class("uk-push-7-10")116 Uk_push_9_10 = html.Class("uk-push-9-10")117 Uk_pull_1_2 = html.Class("uk-pull-1-2")118 Uk_pull_2_4 = html.Class("uk-pull-2-4")119 Uk_pull_3_6 = html.Class("uk-pull-3-6")120 Uk_pull_5_10 = html.Class("uk-pull-5-10")121 Uk_pull_1_3 = html.Class("uk-pull-1-3")122 Uk_pull_2_6 = html.Class("uk-pull-2-6")123 Uk_pull_2_3 = html.Class("uk-pull-2-3")124 Uk_pull_4_6 = html.Class("uk-pull-4-6")125 Uk_pull_1_4 = html.Class("uk-pull-1-4")126 Uk_pull_3_4 = html.Class("uk-pull-3-4")127 Uk_pull_1_5 = html.Class("uk-pull-1-5")128 Uk_pull_2_10 = html.Class("uk-pull-2-10")129 Uk_pull_2_5 = html.Class("uk-pull-2-5")130 Uk_pull_4_10 = html.Class("uk-pull-4-10")131 Uk_pull_3_5 = html.Class("uk-pull-3-5")132 Uk_pull_6_10 = html.Class("uk-pull-6-10")133 Uk_pull_4_5 = html.Class("uk-pull-4-5")134 Uk_pull_8_10 = html.Class("uk-pull-8-10")135 Uk_pull_1_6 = html.Class("uk-pull-1-6")136 Uk_pull_5_6 = html.Class("uk-pull-5-6")137 Uk_pull_1_10 = html.Class("uk-pull-1-10")138 Uk_pull_3_10 = html.Class("uk-pull-3-10")139 Uk_pull_7_10 = html.Class("uk-pull-7-10")140 Uk_pull_9_10 = html.Class("uk-pull-9-10")141 Uk_panel_title = html.Class("uk-panel-title")142 Uk_panel_badge = html.Class("uk-panel-badge")143 Uk_panel_box = html.Class("uk-panel-box")144 Uk_panel_teaser = html.Class("uk-panel-teaser")145 Uk_nav_side = html.Class("uk-nav-side")146 Uk_panel_box_primary = html.Class("uk-panel-box-primary")147 Uk_panel_box_secondary = html.Class("uk-panel-box-secondary")148 Uk_panel_header = html.Class("uk-panel-header")149 Uk_panel_space = html.Class("uk-panel-space")150 Uk_panel_divider = html.Class("uk-panel-divider")151 Uk_article = html.Class("uk-article")152 Uk_article_title = html.Class("uk-article-title")153 Uk_article_meta = html.Class("uk-article-meta")154 Uk_article_lead = html.Class("uk-article-lead")155 Uk_article_divider = html.Class("uk-article-divider")156 Uk_comment_header = html.Class("uk-comment-header")157 Uk_comment_avatar = html.Class("uk-comment-avatar")158 Uk_comment_title = html.Class("uk-comment-title")159 Uk_comment_meta = html.Class("uk-comment-meta")160 Uk_comment_body = html.Class("uk-comment-body")161 Uk_comment_list = html.Class("uk-comment-list")162 Uk_comment = html.Class("uk-comment")163 Uk_nav = html.Class("uk-nav")164 Uk_nav_header = html.Class("uk-nav-header")165 Uk_nav_divider = html.Class("uk-nav-divider")166 Uk_nav_sub = html.Class("uk-nav-sub")167 Uk_nav_parent_icon = html.Class("uk-nav-parent-icon")168 Uk_parent = html.Class("uk-parent")169 Uk_open = html.Class("uk-open")170 Uk_active = html.Class("uk-active")171 Uk_nav_dropdown = html.Class("uk-nav-dropdown")172 Uk_nav_navbar = html.Class("uk-nav-navbar")173 Uk_nav_search = html.Class("uk-nav-search")174 Uk_nav_offcanvas = html.Class("uk-nav-offcanvas")175 Uk_touch = html.Class("uk-touch")176 Uk_navbar = html.Class("uk-navbar")177 Uk_navbar_nav = html.Class("uk-navbar-nav")178 Uk_navbar_nav_subtitle = html.Class("uk-navbar-nav-subtitle")179 Uk_navbar_content = html.Class("uk-navbar-content")180 Uk_navbar_brand = html.Class("uk-navbar-brand")181 Uk_navbar_toggle = html.Class("uk-navbar-toggle")182 Uk_navbar_center = html.Class("uk-navbar-center")183 Uk_navbar_toggle_alt = html.Class("uk-navbar-toggle-alt")184 Uk_navbar_flip = html.Class("uk-navbar-flip")185 Uk_subnav = html.Class("uk-subnav")186 Uk_subnav_line = html.Class("uk-subnav-line")187 Uk_subnav_pill = html.Class("uk-subnav-pill")188 Uk_breadcrumb = html.Class("uk-breadcrumb")189 Uk_pagination = html.Class("uk-pagination")190 Uk_disabled = html.Class("uk-disabled")191 Uk_pagination_previous = html.Class("uk-pagination-previous")192 Uk_pagination_next = html.Class("uk-pagination-next")193 Uk_pagination_left = html.Class("uk-pagination-left")194 Uk_pagination_right = html.Class("uk-pagination-right")195 Uk_tab = html.Class("uk-tab")196 Uk_tab_flip = html.Class("uk-tab-flip")197 Uk_tab_responsive = html.Class("uk-tab-responsive")198 Uk_tab_center = html.Class("uk-tab-center")199 Uk_tab_center_bottom = html.Class("uk-tab-center-bottom")200 Uk_tab_bottom = html.Class("uk-tab-bottom")201 Uk_tab_grid = html.Class("uk-tab-grid")202 Uk_tab_left = html.Class("uk-tab-left")203 Uk_tab_right = html.Class("uk-tab-right")204 Uk_list = html.Class("uk-list")205 Uk_list_line = html.Class("uk-list-line")206 Uk_list_striped = html.Class("uk-list-striped")207 Uk_list_space = html.Class("uk-list-space")208 Uk_description_list_horizontal = html.Class("uk-description-list-horizontal")209 Uk_description_list_line = html.Class("uk-description-list-line")210 Uk_table = html.Class("uk-table")211 Uk_table_middle = html.Class("uk-table-middle")212 Uk_table_striped = html.Class("uk-table-striped")213 Uk_table_condensed = html.Class("uk-table-condensed")214 Uk_table_hover = html.Class("uk-table-hover")215 Uk_form = html.Class("uk-form")216 Uk_form_small = html.Class("uk-form-small")217 Uk_form_large = html.Class("uk-form-large")218 Uk_form_danger = html.Class("uk-form-danger")219 Uk_form_success = html.Class("uk-form-success")220 Uk_form_blank = html.Class("uk-form-blank")221 Uk_form_width_mini = html.Class("uk-form-width-mini")222 Uk_form_width_small = html.Class("uk-form-width-small")223 Uk_form_width_medium = html.Class("uk-form-width-medium")224 Uk_form_width_large = html.Class("uk-form-width-large")225 Uk_form_row = html.Class("uk-form-row")226 Uk_form_help_inline = html.Class("uk-form-help-inline")227 Uk_form_help_block = html.Class("uk-form-help-block")228 Uk_form_controls = html.Class("uk-form-controls")229 Uk_form_controls_condensed = html.Class("uk-form-controls-condensed")230 Uk_form_stacked = html.Class("uk-form-stacked")231 Uk_form_label = html.Class("uk-form-label")232 Uk_form_horizontal = html.Class("uk-form-horizontal")233 Uk_form_controls_text = html.Class("uk-form-controls-text")234 Uk_form_icon = html.Class("uk-form-icon")235 Uk_form_icon_flip = html.Class("uk-form-icon-flip")236 Uk_button = html.Class("uk-button")237 Uk_button_primary = html.Class("uk-button-primary")238 Uk_button_success = html.Class("uk-button-success")239 Uk_button_danger = html.Class("uk-button-danger")240 Uk_button_link = html.Class("uk-button-link")241 Uk_button_mini = html.Class("uk-button-mini")242 Uk_button_small = html.Class("uk-button-small")243 Uk_button_large = html.Class("uk-button-large")244 Uk_button_group = html.Class("uk-button-group")245 Uk_button_dropdown = html.Class("uk-button-dropdown")246 Uk_icon_small = html.Class("uk-icon-small")247 Uk_icon_medium = html.Class("uk-icon-medium")248 Uk_icon_large = html.Class("uk-icon-large")249 Uk_icon_spin = html.Class("uk-icon-spin")250 Uk_icon_button = html.Class("uk-icon-button")251 Uk_icon_glass = html.Class("uk-icon-glass")252 Uk_icon_music = html.Class("uk-icon-music")253 Uk_icon_search = html.Class("uk-icon-search")254 Uk_icon_envelope_o = html.Class("uk-icon-envelope-o")255 Uk_icon_heart = html.Class("uk-icon-heart")256 Uk_icon_star = html.Class("uk-icon-star")257 Uk_icon_star_o = html.Class("uk-icon-star-o")258 Uk_icon_user = html.Class("uk-icon-user")259 Uk_icon_film = html.Class("uk-icon-film")260 Uk_icon_th_large = html.Class("uk-icon-th-large")261 Uk_icon_th = html.Class("uk-icon-th")262 Uk_icon_th_list = html.Class("uk-icon-th-list")263 Uk_icon_check = html.Class("uk-icon-check")264 Uk_icon_times = html.Class("uk-icon-times")265 Uk_icon_search_plus = html.Class("uk-icon-search-plus")266 Uk_icon_search_minus = html.Class("uk-icon-search-minus")267 Uk_icon_power_off = html.Class("uk-icon-power-off")268 Uk_icon_signal = html.Class("uk-icon-signal")269 Uk_icon_gear = html.Class("uk-icon-gear")270 Uk_icon_cog = html.Class("uk-icon-cog")271 Uk_icon_trash_o = html.Class("uk-icon-trash-o")272 Uk_icon_home = html.Class("uk-icon-home")273 Uk_icon_file_o = html.Class("uk-icon-file-o")274 Uk_icon_clock_o = html.Class("uk-icon-clock-o")275 Uk_icon_road = html.Class("uk-icon-road")276 Uk_icon_download = html.Class("uk-icon-download")277 Uk_icon_arrow_circle_o_down = html.Class("uk-icon-arrow-circle-o-down")278 Uk_icon_arrow_circle_o_up = html.Class("uk-icon-arrow-circle-o-up")279 Uk_icon_inbox = html.Class("uk-icon-inbox")280 Uk_icon_play_circle_o = html.Class("uk-icon-play-circle-o")281 Uk_icon_rotate_right = html.Class("uk-icon-rotate-right")282 Uk_icon_repeat = html.Class("uk-icon-repeat")283 Uk_icon_refresh = html.Class("uk-icon-refresh")284 Uk_icon_list_alt = html.Class("uk-icon-list-alt")285 Uk_icon_lock = html.Class("uk-icon-lock")286 Uk_icon_flag = html.Class("uk-icon-flag")287 Uk_icon_headphones = html.Class("uk-icon-headphones")288 Uk_icon_volume_off = html.Class("uk-icon-volume-off")289 Uk_icon_volume_down = html.Class("uk-icon-volume-down")290 Uk_icon_volume_up = html.Class("uk-icon-volume-up")291 Uk_icon_qrcode = html.Class("uk-icon-qrcode")292 Uk_icon_barcode = html.Class("uk-icon-barcode")293 Uk_icon_tag = html.Class("uk-icon-tag")294 Uk_icon_tags = html.Class("uk-icon-tags")295 Uk_icon_book = html.Class("uk-icon-book")296 Uk_icon_bookmark = html.Class("uk-icon-bookmark")297 Uk_icon_print = html.Class("uk-icon-print")298 Uk_icon_camera = html.Class("uk-icon-camera")299 Uk_icon_font = html.Class("uk-icon-font")300 Uk_icon_bold = html.Class("uk-icon-bold")301 Uk_icon_italic = html.Class("uk-icon-italic")302 Uk_icon_text_height = html.Class("uk-icon-text-height")303 Uk_icon_text_width = html.Class("uk-icon-text-width")304 Uk_icon_align_left = html.Class("uk-icon-align-left")305 Uk_icon_align_center = html.Class("uk-icon-align-center")306 Uk_icon_align_right = html.Class("uk-icon-align-right")307 Uk_icon_align_justify = html.Class("uk-icon-align-justify")308 Uk_icon_list = html.Class("uk-icon-list")309 Uk_icon_dedent = html.Class("uk-icon-dedent")310 Uk_icon_outdent = html.Class("uk-icon-outdent")311 Uk_icon_indent = html.Class("uk-icon-indent")312 Uk_icon_video_camera = html.Class("uk-icon-video-camera")313 Uk_icon_picture_o = html.Class("uk-icon-picture-o")314 Uk_icon_pencil = html.Class("uk-icon-pencil")315 Uk_icon_map_marker = html.Class("uk-icon-map-marker")316 Uk_icon_adjust = html.Class("uk-icon-adjust")317 Uk_icon_tint = html.Class("uk-icon-tint")318 Uk_icon_edit = html.Class("uk-icon-edit")319 Uk_icon_pencil_square_o = html.Class("uk-icon-pencil-square-o")320 Uk_icon_share_square_o = html.Class("uk-icon-share-square-o")321 Uk_icon_check_square_o = html.Class("uk-icon-check-square-o")322 Uk_icon_arrows = html.Class("uk-icon-arrows")323 Uk_icon_step_backward = html.Class("uk-icon-step-backward")324 Uk_icon_fast_backward = html.Class("uk-icon-fast-backward")325 Uk_icon_backward = html.Class("uk-icon-backward")326 Uk_icon_play = html.Class("uk-icon-play")327 Uk_icon_pause = html.Class("uk-icon-pause")328 Uk_icon_stop = html.Class("uk-icon-stop")329 Uk_icon_forward = html.Class("uk-icon-forward")330 Uk_icon_fast_forward = html.Class("uk-icon-fast-forward")331 Uk_icon_step_forward = html.Class("uk-icon-step-forward")332 Uk_icon_eject = html.Class("uk-icon-eject")333 Uk_icon_chevron_left = html.Class("uk-icon-chevron-left")334 Uk_icon_chevron_right = html.Class("uk-icon-chevron-right")335 Uk_icon_plus_circle = html.Class("uk-icon-plus-circle")336 Uk_icon_minus_circle = html.Class("uk-icon-minus-circle")337 Uk_icon_times_circle = html.Class("uk-icon-times-circle")338 Uk_icon_check_circle = html.Class("uk-icon-check-circle")339 Uk_icon_question_circle = html.Class("uk-icon-question-circle")340 Uk_icon_info_circle = html.Class("uk-icon-info-circle")341 Uk_icon_crosshairs = html.Class("uk-icon-crosshairs")342 Uk_icon_times_circle_o = html.Class("uk-icon-times-circle-o")343 Uk_icon_check_circle_o = html.Class("uk-icon-check-circle-o")344 Uk_icon_ban = html.Class("uk-icon-ban")345 Uk_icon_arrow_left = html.Class("uk-icon-arrow-left")346 Uk_icon_arrow_right = html.Class("uk-icon-arrow-right")347 Uk_icon_arrow_up = html.Class("uk-icon-arrow-up")348 Uk_icon_arrow_down = html.Class("uk-icon-arrow-down")349 Uk_icon_mail_forward = html.Class("uk-icon-mail-forward")350 Uk_icon_share = html.Class("uk-icon-share")351 Uk_icon_expand = html.Class("uk-icon-expand")352 Uk_icon_compress = html.Class("uk-icon-compress")353 Uk_icon_plus = html.Class("uk-icon-plus")354 Uk_icon_minus = html.Class("uk-icon-minus")355 Uk_icon_asterisk = html.Class("uk-icon-asterisk")356 Uk_icon_exclamation_circle = html.Class("uk-icon-exclamation-circle")357 Uk_icon_gift = html.Class("uk-icon-gift")358 Uk_icon_leaf = html.Class("uk-icon-leaf")359 Uk_icon_fire = html.Class("uk-icon-fire")360 Uk_icon_eye = html.Class("uk-icon-eye")361 Uk_icon_eye_slash = html.Class("uk-icon-eye-slash")362 Uk_icon_warning = html.Class("uk-icon-warning")363 Uk_icon_exclamation_triangle = html.Class("uk-icon-exclamation-triangle")364 Uk_icon_plane = html.Class("uk-icon-plane")365 Uk_icon_calendar = html.Class("uk-icon-calendar")366 Uk_icon_random = html.Class("uk-icon-random")367 Uk_icon_comment = html.Class("uk-icon-comment")368 Uk_icon_magnet = html.Class("uk-icon-magnet")369 Uk_icon_chevron_up = html.Class("uk-icon-chevron-up")370 Uk_icon_chevron_down = html.Class("uk-icon-chevron-down")371 Uk_icon_retweet = html.Class("uk-icon-retweet")372 Uk_icon_shopping_cart = html.Class("uk-icon-shopping-cart")373 Uk_icon_folder = html.Class("uk-icon-folder")374 Uk_icon_folder_open = html.Class("uk-icon-folder-open")375 Uk_icon_arrows_v = html.Class("uk-icon-arrows-v")376 Uk_icon_arrows_h = html.Class("uk-icon-arrows-h")377 Uk_icon_bar_chart_o = html.Class("uk-icon-bar-chart-o")378 Uk_icon_twitter_square = html.Class("uk-icon-twitter-square")379 Uk_icon_facebook_square = html.Class("uk-icon-facebook-square")380 Uk_icon_camera_retro = html.Class("uk-icon-camera-retro")381 Uk_icon_key = html.Class("uk-icon-key")382 Uk_icon_gears = html.Class("uk-icon-gears")383 Uk_icon_cogs = html.Class("uk-icon-cogs")384 Uk_icon_comments = html.Class("uk-icon-comments")385 Uk_icon_thumbs_o_up = html.Class("uk-icon-thumbs-o-up")386 Uk_icon_thumbs_o_down = html.Class("uk-icon-thumbs-o-down")387 Uk_icon_star_half = html.Class("uk-icon-star-half")388 Uk_icon_heart_o = html.Class("uk-icon-heart-o")389 Uk_icon_sign_out = html.Class("uk-icon-sign-out")390 Uk_icon_linkedin_square = html.Class("uk-icon-linkedin-square")391 Uk_icon_thumb_tack = html.Class("uk-icon-thumb-tack")392 Uk_icon_external_link = html.Class("uk-icon-external-link")393 Uk_icon_sign_in = html.Class("uk-icon-sign-in")394 Uk_icon_trophy = html.Class("uk-icon-trophy")395 Uk_icon_github_square = html.Class("uk-icon-github-square")396 Uk_icon_upload = html.Class("uk-icon-upload")397 Uk_icon_lemon_o = html.Class("uk-icon-lemon-o")398 Uk_icon_phone = html.Class("uk-icon-phone")399 Uk_icon_square_o = html.Class("uk-icon-square-o")400 Uk_icon_bookmark_o = html.Class("uk-icon-bookmark-o")401 Uk_icon_phone_square = html.Class("uk-icon-phone-square")402 Uk_icon_twitter = html.Class("uk-icon-twitter")403 Uk_icon_facebook = html.Class("uk-icon-facebook")404 Uk_icon_github = html.Class("uk-icon-github")405 Uk_icon_unlock = html.Class("uk-icon-unlock")406 Uk_icon_credit_card = html.Class("uk-icon-credit-card")407 Uk_icon_rss = html.Class("uk-icon-rss")408 Uk_icon_hdd_o = html.Class("uk-icon-hdd-o")409 Uk_icon_bullhorn = html.Class("uk-icon-bullhorn")410 Uk_icon_bell = html.Class("uk-icon-bell")411 Uk_icon_certificate = html.Class("uk-icon-certificate")412 Uk_icon_hand_o_right = html.Class("uk-icon-hand-o-right")413 Uk_icon_hand_o_left = html.Class("uk-icon-hand-o-left")414 Uk_icon_hand_o_up = html.Class("uk-icon-hand-o-up")415 Uk_icon_hand_o_down = html.Class("uk-icon-hand-o-down")416 Uk_icon_arrow_circle_left = html.Class("uk-icon-arrow-circle-left")417 Uk_icon_arrow_circle_right = html.Class("uk-icon-arrow-circle-right")418 Uk_icon_arrow_circle_up = html.Class("uk-icon-arrow-circle-up")419 Uk_icon_arrow_circle_down = html.Class("uk-icon-arrow-circle-down")420 Uk_icon_globe = html.Class("uk-icon-globe")421 Uk_icon_wrench = html.Class("uk-icon-wrench")422 Uk_icon_tasks = html.Class("uk-icon-tasks")423 Uk_icon_filter = html.Class("uk-icon-filter")424 Uk_icon_briefcase = html.Class("uk-icon-briefcase")425 Uk_icon_arrows_alt = html.Class("uk-icon-arrows-alt")426 Uk_icon_group = html.Class("uk-icon-group")427 Uk_icon_users = html.Class("uk-icon-users")428 Uk_icon_chain = html.Class("uk-icon-chain")429 Uk_icon_link = html.Class("uk-icon-link")430 Uk_icon_cloud = html.Class("uk-icon-cloud")431 Uk_icon_flask = html.Class("uk-icon-flask")432 Uk_icon_cut = html.Class("uk-icon-cut")433 Uk_icon_scissors = html.Class("uk-icon-scissors")434 Uk_icon_copy = html.Class("uk-icon-copy")435 Uk_icon_files_o = html.Class("uk-icon-files-o")436 Uk_icon_paperclip = html.Class("uk-icon-paperclip")437 Uk_icon_save = html.Class("uk-icon-save")438 Uk_icon_floppy_o = html.Class("uk-icon-floppy-o")439 Uk_icon_square = html.Class("uk-icon-square")440 Uk_icon_bars = html.Class("uk-icon-bars")441 Uk_icon_list_ul = html.Class("uk-icon-list-ul")442 Uk_icon_list_ol = html.Class("uk-icon-list-ol")443 Uk_icon_strikethrough = html.Class("uk-icon-strikethrough")444 Uk_icon_underline = html.Class("uk-icon-underline")445 Uk_icon_table = html.Class("uk-icon-table")446 Uk_icon_magic = html.Class("uk-icon-magic")447 Uk_icon_truck = html.Class("uk-icon-truck")448 Uk_icon_pinterest = html.Class("uk-icon-pinterest")449 Uk_icon_pinterest_square = html.Class("uk-icon-pinterest-square")450 Uk_icon_google_plus_square = html.Class("uk-icon-google-plus-square")451 Uk_icon_google_plus = html.Class("uk-icon-google-plus")452 Uk_icon_money = html.Class("uk-icon-money")453 Uk_icon_caret_down = html.Class("uk-icon-caret-down")454 Uk_icon_caret_up = html.Class("uk-icon-caret-up")455 Uk_icon_caret_left = html.Class("uk-icon-caret-left")456 Uk_icon_caret_right = html.Class("uk-icon-caret-right")457 Uk_icon_columns = html.Class("uk-icon-columns")458 Uk_icon_unsorted = html.Class("uk-icon-unsorted")459 Uk_icon_sort = html.Class("uk-icon-sort")460 Uk_icon_sort_down = html.Class("uk-icon-sort-down")461 Uk_icon_sort_asc = html.Class("uk-icon-sort-asc")462 Uk_icon_sort_up = html.Class("uk-icon-sort-up")463 Uk_icon_sort_desc = html.Class("uk-icon-sort-desc")464 Uk_icon_envelope = html.Class("uk-icon-envelope")465 Uk_icon_linkedin = html.Class("uk-icon-linkedin")466 Uk_icon_rotate_left = html.Class("uk-icon-rotate-left")467 Uk_icon_undo = html.Class("uk-icon-undo")468 Uk_icon_legal = html.Class("uk-icon-legal")469 Uk_icon_gavel = html.Class("uk-icon-gavel")470 Uk_icon_dashboard = html.Class("uk-icon-dashboard")471 Uk_icon_tachometer = html.Class("uk-icon-tachometer")472 Uk_icon_comment_o = html.Class("uk-icon-comment-o")473 Uk_icon_comments_o = html.Class("uk-icon-comments-o")474 Uk_icon_flash = html.Class("uk-icon-flash")475 Uk_icon_bolt = html.Class("uk-icon-bolt")476 Uk_icon_sitemap = html.Class("uk-icon-sitemap")477 Uk_icon_umbrella = html.Class("uk-icon-umbrella")478 Uk_icon_paste = html.Class("uk-icon-paste")479 Uk_icon_clipboard = html.Class("uk-icon-clipboard")480 Uk_icon_lightbulb_o = html.Class("uk-icon-lightbulb-o")481 Uk_icon_exchange = html.Class("uk-icon-exchange")482 Uk_icon_cloud_download = html.Class("uk-icon-cloud-download")483 Uk_icon_cloud_upload = html.Class("uk-icon-cloud-upload")484 Uk_icon_user_md = html.Class("uk-icon-user-md")485 Uk_icon_stethoscope = html.Class("uk-icon-stethoscope")486 Uk_icon_suitcase = html.Class("uk-icon-suitcase")487 Uk_icon_bell_o = html.Class("uk-icon-bell-o")488 Uk_icon_coffee = html.Class("uk-icon-coffee")489 Uk_icon_cutlery = html.Class("uk-icon-cutlery")490 Uk_icon_file_text_o = html.Class("uk-icon-file-text-o")491 Uk_icon_building_o = html.Class("uk-icon-building-o")492 Uk_icon_hospital_o = html.Class("uk-icon-hospital-o")493 Uk_icon_ambulance = html.Class("uk-icon-ambulance")494 Uk_icon_medkit = html.Class("uk-icon-medkit")495 Uk_icon_fighter_jet = html.Class("uk-icon-fighter-jet")496 Uk_icon_beer = html.Class("uk-icon-beer")497 Uk_icon_h_square = html.Class("uk-icon-h-square")498 Uk_icon_plus_square = html.Class("uk-icon-plus-square")499 Uk_icon_angle_double_left = html.Class("uk-icon-angle-double-left")500 Uk_icon_angle_double_right = html.Class("uk-icon-angle-double-right")501 Uk_icon_angle_double_up = html.Class("uk-icon-angle-double-up")502 Uk_icon_angle_double_down = html.Class("uk-icon-angle-double-down")503 Uk_icon_angle_left = html.Class("uk-icon-angle-left")504 Uk_icon_angle_right = html.Class("uk-icon-angle-right")505 Uk_icon_angle_up = html.Class("uk-icon-angle-up")506 Uk_icon_angle_down = html.Class("uk-icon-angle-down")507 Uk_icon_desktop = html.Class("uk-icon-desktop")508 Uk_icon_laptop = html.Class("uk-icon-laptop")509 Uk_icon_tablet = html.Class("uk-icon-tablet")510 Uk_icon_mobile_phone = html.Class("uk-icon-mobile-phone")511 Uk_icon_mobile = html.Class("uk-icon-mobile")512 Uk_icon_circle_o = html.Class("uk-icon-circle-o")513 Uk_icon_quote_left = html.Class("uk-icon-quote-left")514 Uk_icon_quote_right = html.Class("uk-icon-quote-right")515 Uk_icon_spinner = html.Class("uk-icon-spinner")516 Uk_icon_circle = html.Class("uk-icon-circle")517 Uk_icon_mail_reply = html.Class("uk-icon-mail-reply")518 Uk_icon_reply = html.Class("uk-icon-reply")519 Uk_icon_github_alt = html.Class("uk-icon-github-alt")520 Uk_icon_folder_o = html.Class("uk-icon-folder-o")521 Uk_icon_folder_open_o = html.Class("uk-icon-folder-open-o")522 Uk_icon_smile_o = html.Class("uk-icon-smile-o")523 Uk_icon_frown_o = html.Class("uk-icon-frown-o")524 Uk_icon_meh_o = html.Class("uk-icon-meh-o")525 Uk_icon_gamepad = html.Class("uk-icon-gamepad")526 Uk_icon_keyboard_o = html.Class("uk-icon-keyboard-o")527 Uk_icon_flag_o = html.Class("uk-icon-flag-o")528 Uk_icon_flag_checkered = html.Class("uk-icon-flag-checkered")529 Uk_icon_terminal = html.Class("uk-icon-terminal")530 Uk_icon_code = html.Class("uk-icon-code")531 Uk_icon_reply_all = html.Class("uk-icon-reply-all")532 Uk_icon_mail_reply_all = html.Class("uk-icon-mail-reply-all")533 Uk_icon_star_half_empty = html.Class("uk-icon-star-half-empty")534 Uk_icon_star_half_full = html.Class("uk-icon-star-half-full")535 Uk_icon_star_half_o = html.Class("uk-icon-star-half-o")536 Uk_icon_location_arrow = html.Class("uk-icon-location-arrow")537 Uk_icon_crop = html.Class("uk-icon-crop")538 Uk_icon_code_fork = html.Class("uk-icon-code-fork")539 Uk_icon_unlink = html.Class("uk-icon-unlink")540 Uk_icon_chain_broken = html.Class("uk-icon-chain-broken")541 Uk_icon_question = html.Class("uk-icon-question")542 Uk_icon_info = html.Class("uk-icon-info")543 Uk_icon_exclamation = html.Class("uk-icon-exclamation")544 Uk_icon_superscript = html.Class("uk-icon-superscript")545 Uk_icon_subscript = html.Class("uk-icon-subscript")546 Uk_icon_eraser = html.Class("uk-icon-eraser")547 Uk_icon_puzzle_piece = html.Class("uk-icon-puzzle-piece")548 Uk_icon_microphone = html.Class("uk-icon-microphone")549 Uk_icon_microphone_slash = html.Class("uk-icon-microphone-slash")550 Uk_icon_shield = html.Class("uk-icon-shield")551 Uk_icon_calendar_o = html.Class("uk-icon-calendar-o")552 Uk_icon_fire_extinguisher = html.Class("uk-icon-fire-extinguisher")553 Uk_icon_rocket = html.Class("uk-icon-rocket")554 Uk_icon_maxcdn = html.Class("uk-icon-maxcdn")555 Uk_icon_chevron_circle_left = html.Class("uk-icon-chevron-circle-left")556 Uk_icon_chevron_circle_right = html.Class("uk-icon-chevron-circle-right")557 Uk_icon_chevron_circle_up = html.Class("uk-icon-chevron-circle-up")558 Uk_icon_chevron_circle_down = html.Class("uk-icon-chevron-circle-down")559 Uk_icon_html5 = html.Class("uk-icon-html5")560 Uk_icon_css3 = html.Class("uk-icon-css3")561 Uk_icon_anchor = html.Class("uk-icon-anchor")562 Uk_icon_unlock_alt = html.Class("uk-icon-unlock-alt")563 Uk_icon_bullseye = html.Class("uk-icon-bullseye")564 Uk_icon_ellipsis_h = html.Class("uk-icon-ellipsis-h")565 Uk_icon_ellipsis_v = html.Class("uk-icon-ellipsis-v")566 Uk_icon_rss_square = html.Class("uk-icon-rss-square")567 Uk_icon_play_circle = html.Class("uk-icon-play-circle")568 Uk_icon_ticket = html.Class("uk-icon-ticket")569 Uk_icon_minus_square = html.Class("uk-icon-minus-square")570 Uk_icon_minus_square_o = html.Class("uk-icon-minus-square-o")571 Uk_icon_level_up = html.Class("uk-icon-level-up")572 Uk_icon_level_down = html.Class("uk-icon-level-down")573 Uk_icon_check_square = html.Class("uk-icon-check-square")574 Uk_icon_pencil_square = html.Class("uk-icon-pencil-square")575 Uk_icon_external_link_square = html.Class("uk-icon-external-link-square")576 Uk_icon_share_square = html.Class("uk-icon-share-square")577 Uk_icon_compass = html.Class("uk-icon-compass")578 Uk_icon_toggle_down = html.Class("uk-icon-toggle-down")579 Uk_icon_caret_square_o_down = html.Class("uk-icon-caret-square-o-down")580 Uk_icon_toggle_up = html.Class("uk-icon-toggle-up")581 Uk_icon_caret_square_o_up = html.Class("uk-icon-caret-square-o-up")582 Uk_icon_toggle_right = html.Class("uk-icon-toggle-right")583 Uk_icon_caret_square_o_right = html.Class("uk-icon-caret-square-o-right")584 Uk_icon_euro = html.Class("uk-icon-euro")585 Uk_icon_eur = html.Class("uk-icon-eur")586 Uk_icon_gbp = html.Class("uk-icon-gbp")587 Uk_icon_dollar = html.Class("uk-icon-dollar")588 Uk_icon_usd = html.Class("uk-icon-usd")589 Uk_icon_rupee = html.Class("uk-icon-rupee")590 Uk_icon_inr = html.Class("uk-icon-inr")591 Uk_icon_cny = html.Class("uk-icon-cny")592 Uk_icon_rmb = html.Class("uk-icon-rmb")593 Uk_icon_yen = html.Class("uk-icon-yen")594 Uk_icon_jpy = html.Class("uk-icon-jpy")595 Uk_icon_ruble = html.Class("uk-icon-ruble")596 Uk_icon_rouble = html.Class("uk-icon-rouble")597 Uk_icon_rub = html.Class("uk-icon-rub")598 Uk_icon_won = html.Class("uk-icon-won")599 Uk_icon_krw = html.Class("uk-icon-krw")600 Uk_icon_bitcoin = html.Class("uk-icon-bitcoin")601 Uk_icon_btc = html.Class("uk-icon-btc")602 Uk_icon_file = html.Class("uk-icon-file")603 Uk_icon_file_text = html.Class("uk-icon-file-text")604 Uk_icon_sort_alpha_asc = html.Class("uk-icon-sort-alpha-asc")605 Uk_icon_sort_alpha_desc = html.Class("uk-icon-sort-alpha-desc")606 Uk_icon_sort_amount_asc = html.Class("uk-icon-sort-amount-asc")607 Uk_icon_sort_amount_desc = html.Class("uk-icon-sort-amount-desc")608 Uk_icon_sort_numeric_asc = html.Class("uk-icon-sort-numeric-asc")609 Uk_icon_sort_numeric_desc = html.Class("uk-icon-sort-numeric-desc")610 Uk_icon_thumbs_up = html.Class("uk-icon-thumbs-up")611 Uk_icon_thumbs_down = html.Class("uk-icon-thumbs-down")612 Uk_icon_youtube_square = html.Class("uk-icon-youtube-square")613 Uk_icon_youtube = html.Class("uk-icon-youtube")614 Uk_icon_xing = html.Class("uk-icon-xing")615 Uk_icon_xing_square = html.Class("uk-icon-xing-square")616 Uk_icon_youtube_play = html.Class("uk-icon-youtube-play")617 Uk_icon_dropbox = html.Class("uk-icon-dropbox")618 Uk_icon_stack_overflow = html.Class("uk-icon-stack-overflow")619 Uk_icon_instagram = html.Class("uk-icon-instagram")620 Uk_icon_flickr = html.Class("uk-icon-flickr")621 Uk_icon_adn = html.Class("uk-icon-adn")622 Uk_icon_bitbucket = html.Class("uk-icon-bitbucket")623 Uk_icon_bitbucket_square = html.Class("uk-icon-bitbucket-square")624 Uk_icon_tumblr = html.Class("uk-icon-tumblr")625 Uk_icon_tumblr_square = html.Class("uk-icon-tumblr-square")626 Uk_icon_long_arrow_down = html.Class("uk-icon-long-arrow-down")627 Uk_icon_long_arrow_up = html.Class("uk-icon-long-arrow-up")628 Uk_icon_long_arrow_left = html.Class("uk-icon-long-arrow-left")629 Uk_icon_long_arrow_right = html.Class("uk-icon-long-arrow-right")630 Uk_icon_apple = html.Class("uk-icon-apple")631 Uk_icon_windows = html.Class("uk-icon-windows")632 Uk_icon_android = html.Class("uk-icon-android")633 Uk_icon_linux = html.Class("uk-icon-linux")634 Uk_icon_dribbble = html.Class("uk-icon-dribbble")635 Uk_icon_skype = html.Class("uk-icon-skype")636 Uk_icon_foursquare = html.Class("uk-icon-foursquare")637 Uk_icon_trello = html.Class("uk-icon-trello")638 Uk_icon_female = html.Class("uk-icon-female")639 Uk_icon_male = html.Class("uk-icon-male")640 Uk_icon_gittip = html.Class("uk-icon-gittip")641 Uk_icon_sun_o = html.Class("uk-icon-sun-o")642 Uk_icon_moon_o = html.Class("uk-icon-moon-o")643 Uk_icon_archive = html.Class("uk-icon-archive")644 Uk_icon_bug = html.Class("uk-icon-bug")645 Uk_icon_vk = html.Class("uk-icon-vk")646 Uk_icon_weibo = html.Class("uk-icon-weibo")647 Uk_icon_renren = html.Class("uk-icon-renren")648 Uk_icon_pagelines = html.Class("uk-icon-pagelines")649 Uk_icon_stack_exchange = html.Class("uk-icon-stack-exchange")650 Uk_icon_arrow_circle_o_right = html.Class("uk-icon-arrow-circle-o-right")651 Uk_icon_arrow_circle_o_left = html.Class("uk-icon-arrow-circle-o-left")652 Uk_icon_toggle_left = html.Class("uk-icon-toggle-left")653 Uk_icon_caret_square_o_left = html.Class("uk-icon-caret-square-o-left")654 Uk_icon_dot_circle_o = html.Class("uk-icon-dot-circle-o")655 Uk_icon_wheelchair = html.Class("uk-icon-wheelchair")656 Uk_icon_vimeo_square = html.Class("uk-icon-vimeo-square")657 Uk_icon_turkish_lira = html.Class("uk-icon-turkish-lira")658 Uk_icon_try = html.Class("uk-icon-try")659 Uk_icon_plus_square_o = html.Class("uk-icon-plus-square-o")660 Uk_close = html.Class("uk-close")661 Uk_close_alt = html.Class("uk-close-alt")662 Uk_badge = html.Class("uk-badge")663 Uk_badge_notification = html.Class("uk-badge-notification")664 Uk_badge_success = html.Class("uk-badge-success")665 Uk_badge_warning = html.Class("uk-badge-warning")666 Uk_badge_danger = html.Class("uk-badge-danger")667 Uk_alert = html.Class("uk-alert")668 Uk_alert_success = html.Class("uk-alert-success")669 Uk_alert_warning = html.Class("uk-alert-warning")670 Uk_alert_danger = html.Class("uk-alert-danger")671 Uk_alert_large = html.Class("uk-alert-large")672 Uk_thumbnail = html.Class("uk-thumbnail")673 Uk_thumbnail_caption = html.Class("uk-thumbnail-caption")674 Uk_thumbnail_mini = html.Class("uk-thumbnail-mini")675 Uk_thumbnail_small = html.Class("uk-thumbnail-small")676 Uk_thumbnail_medium = html.Class("uk-thumbnail-medium")677 Uk_thumbnail_large = html.Class("uk-thumbnail-large")678 Uk_thumbnail_expand = html.Class("uk-thumbnail-expand")679 Uk_overlay = html.Class("uk-overlay")680 Uk_overlay_area = html.Class("uk-overlay-area")681 Uk_overlay_toggle = html.Class("uk-overlay-toggle")682 Uk_overlay_area_content = html.Class("uk-overlay-area-content")683 Uk_overlay_caption = html.Class("uk-overlay-caption")684 Uk_progress = html.Class("uk-progress")685 Uk_progress_bar = html.Class("uk-progress-bar")686 Uk_progress_mini = html.Class("uk-progress-mini")687 Uk_progress_small = html.Class("uk-progress-small")688 Uk_progress_success = html.Class("uk-progress-success")689 Uk_progress_warning = html.Class("uk-progress-warning")690 Uk_progress_danger = html.Class("uk-progress-danger")691 Uk_progress_striped = html.Class("uk-progress-striped")692 Uk_search = html.Class("uk-search")693 Uk_search_field = html.Class("uk-search-field")694 Uk_search_close = html.Class("uk-search-close")695 Uk_loading = html.Class("uk-loading")696 Uk_animation_fade = html.Class("uk-animation-fade")697 Uk_animation_scale_up = html.Class("uk-animation-scale-up")698 Uk_animation_scale_down = html.Class("uk-animation-scale-down")699 Uk_animation_slide_top = html.Class("uk-animation-slide-top")700 Uk_animation_slide_bottom = html.Class("uk-animation-slide-bottom")701 Uk_animation_slide_left = html.Class("uk-animation-slide-left")702 Uk_animation_slide_right = html.Class("uk-animation-slide-right")703 Uk_animation_shake = html.Class("uk-animation-shake")704 Uk_animation_reverse = html.Class("uk-animation-reverse")705 Uk_dropdown = html.Class("uk-dropdown")706 Uk_dropdown_flip = html.Class("uk-dropdown-flip")707 Uk_dropdown_up = html.Class("uk-dropdown-up")708 Uk_dropdown_stack = html.Class("uk-dropdown-stack")709 Uk_dropdown_width_2 = html.Class("uk-dropdown-width-2")710 Uk_dropdown_width_3 = html.Class("uk-dropdown-width-3")711 Uk_dropdown_width_4 = html.Class("uk-dropdown-width-4")712 Uk_dropdown_width_5 = html.Class("uk-dropdown-width-5")713 Uk_dropdown_small = html.Class("uk-dropdown-small")714 Uk_dropdown_navbar = html.Class("uk-dropdown-navbar")715 Uk_dropdown_search = html.Class("uk-dropdown-search")716 Uk_modal = html.Class("uk-modal")717 Uk_modal_page = html.Class("uk-modal-page")718 Uk_modal_dialog = html.Class("uk-modal-dialog")719 Uk_modal_dialog_slide = html.Class("uk-modal-dialog-slide")720 Uk_modal_dialog_frameless = html.Class("uk-modal-dialog-frameless")721 Uk_offcanvas = html.Class("uk-offcanvas")722 Uk_offcanvas_page = html.Class("uk-offcanvas-page")723 Uk_offcanvas_bar = html.Class("uk-offcanvas-bar")724 Uk_offcanvas_bar_show = html.Class("uk-offcanvas-bar-show")725 Uk_offcanvas_bar_flip = html.Class("uk-offcanvas-bar-flip")726 Uk_switcher = html.Class("uk-switcher")727 Uk_tooltip = html.Class("uk-tooltip")728 Uk_tooltip_top = html.Class("uk-tooltip-top")729 Uk_tooltip_top_left = html.Class("uk-tooltip-top-left")730 Uk_tooltip_top_right = html.Class("uk-tooltip-top-right")731 Uk_tooltip_bottom = html.Class("uk-tooltip-bottom")732 Uk_tooltip_bottom_left = html.Class("uk-tooltip-bottom-left")733 Uk_tooltip_bottom_right = html.Class("uk-tooltip-bottom-right")734 Uk_tooltip_left = html.Class("uk-tooltip-left")735 Uk_tooltip_right = html.Class("uk-tooltip-right")736 Uk_text_small = html.Class("uk-text-small")737 Uk_text_large = html.Class("uk-text-large")738 Uk_text_bold = html.Class("uk-text-bold")739 Uk_text_muted = html.Class("uk-text-muted")740 Uk_text_info = html.Class("uk-text-info")741 Uk_text_success = html.Class("uk-text-success")742 Uk_text_warning = html.Class("uk-text-warning")743 Uk_text_danger = html.Class("uk-text-danger")744 Uk_text_left = html.Class("uk-text-left")745 Uk_text_right = html.Class("uk-text-right")746 Uk_text_center = html.Class("uk-text-center")747 Uk_text_justify = html.Class("uk-text-justify")748 Uk_text_nowrap = html.Class("uk-text-nowrap")749 Uk_text_truncate = html.Class("uk-text-truncate")750 Uk_text_break = html.Class("uk-text-break")751 Uk_container = html.Class("uk-container")752 Uk_container_center = html.Class("uk-container-center")753 Uk_clearfix = html.Class("uk-clearfix")754 Uk_nbfc = html.Class("uk-nbfc")755 Uk_nbfc_alt = html.Class("uk-nbfc-alt")756 Uk_float_left = html.Class("uk-float-left")757 Uk_float_right = html.Class("uk-float-right")758 Uk_align_left = html.Class("uk-align-left")759 Uk_align_right = html.Class("uk-align-right")760 Uk_align_medium_left = html.Class("uk-align-medium-left")761 Uk_align_medium_right = html.Class("uk-align-medium-right")762 Uk_align_center = html.Class("uk-align-center")763 Uk_vertical_align = html.Class("uk-vertical-align")764 Uk_vertical_align_middle = html.Class("uk-vertical-align-middle")765 Uk_vertical_align_bottom = html.Class("uk-vertical-align-bottom")766 Uk_height_1_1 = html.Class("uk-height-1-1")767 Uk_responsive_width = html.Class("uk-responsive-width")768 Uk_responsive_height = html.Class("uk-responsive-height")769 Uk_margin = html.Class("uk-margin")770 Uk_margin_top = html.Class("uk-margin-top")771 Uk_margin_bottom = html.Class("uk-margin-bottom")772 Uk_margin_left = html.Class("uk-margin-left")773 Uk_margin_right = html.Class("uk-margin-right")774 Uk_margin_small_top = html.Class("uk-margin-small-top")775 Uk_margin_small_bottom = html.Class("uk-margin-small-bottom")776 Uk_margin_small_left = html.Class("uk-margin-small-left")777 Uk_margin_small_right = html.Class("uk-margin-small-right")778 Uk_margin_remove = html.Class("uk-margin-remove")779 Uk_margin_top_remove = html.Class("uk-margin-top-remove")780 Uk_margin_bottom_remove = html.Class("uk-margin-bottom-remove")781 Uk_border_circle = html.Class("uk-border-circle")782 Uk_heading_large = html.Class("uk-heading-large")783 Uk_link_muted = html.Class("uk-link-muted")784 Uk_scrollable_text = html.Class("uk-scrollable-text")785 Uk_scrollable_box = html.Class("uk-scrollable-box")786 Uk_display_block = html.Class("uk-display-block")787 Uk_display_inline = html.Class("uk-display-inline")788 Uk_display_inline_block = html.Class("uk-display-inline-block")789 Uk_visible_small = html.Class("uk-visible-small")790 Uk_visible_medium = html.Class("uk-visible-medium")791 Uk_hidden_large = html.Class("uk-hidden-large")792 Uk_visible_large = html.Class("uk-visible-large")793 Uk_hidden_medium = html.Class("uk-hidden-medium")794 Uk_hidden_small = html.Class("uk-hidden-small")795 Uk_hidden = html.Class("uk-hidden")796 Uk_invisible = html.Class("uk-invisible")797 Uk_visible_hover = html.Class("uk-visible-hover")798 Uk_visible_hover_inline = html.Class("uk-visible-hover-inline")799)...
renderer.go
Source:renderer.go
1package main2import (3 "fmt"4 "strings"5)6// RenderHeader 页头7func RenderHeader(header string) string {8 return `<p style="white-space: normal;"><span style="font-size: 15px; color: rgb(255, 255, 255); background-color: rgb(72, 91, 247); padding: 5px;"><strong>` + header + `</strong></span></p>`9}10// RenderFooter 页尾11func RenderFooter(footer string) string {12 return `<p style="white-space: normal; text-align: right;"><span style="font-size: 15px; color: rgb(255, 255, 255); background-color: rgb(72, 91, 247); padding: 5px;"><strong>` + footer + `</strong></span></p>`13}14// RenderTitle 主æ é¢15func RenderTitle(title string) string {16 return `<p style="text-align: center; padding-right: 16px; padding-left: 16px; margin-bottom: 10px;"><span style="color: rgb(72, 91, 247); font-size: 24px; letter-spacing: 0.5px; line-height: 1.75em;"><strong>` + title + `</strong></span></p>`17}18// RenderSubtitle åæ é¢19func RenderSubtitle(subtitle string) string {20 return `<p style="text-align: center; padding-right: 16px; padding-left: 16px; margin-bottom: 10px;"><span style="color: rgb(72, 91, 247); font-size: 17px; letter-spacing: 0.5px; line-height: 1.75em;"><strong>` + subtitle + `</strong></span></p>`21}22// RenderPlaceholder å ä½ç¬¦23func RenderPlaceholder() string {24 return `<p style="text-align: center;"><br></p>`25}26// RenderContent å
容27func RenderContent(contents []string) string {28 html := `<p style="height: 10px; min-height: 0px;"></p>`29 for i, content := range contents {30 html += `<p style="padding-right: 10px; padding-left: 10px;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.75em; white-space: normal;">` + content + `</span></p>`31 if i < len(contents)-1 {32 html += `<p style="text-align: center;"><br></p>`33 }34 }35 return html36}37// RenderStockTable è¡ç¥¨è¡¨æ ¼38func RenderStockTable(stocks []Stock) string {39 html := `<table style="width: 100%; padding-right: 16px; padding-left: 16px; border: 0px; line-height: 0;"><tbody>`40 for i := 0; i < len(stocks); i++ {41 var percentColor string42 if stocks[i].Percent == "0.00%" {43 percentColor = "color: rgb(153, 153, 153);"44 } else if strings.Contains(stocks[i].Percent, "+") {45 percentColor = "color: rgb(246, 66, 69);"46 } else {47 percentColor = "color: rgb(0, 171, 59);"48 }49 var currentYearPercentColor string50 if stocks[i].CurrentYearPercent == "0.00%" {51 currentYearPercentColor = "color: rgb(153, 153, 153);"52 } else if strings.Contains(stocks[i].CurrentYearPercent, "+") {53 currentYearPercentColor = "color: rgb(246, 66, 69);"54 } else {55 currentYearPercentColor = "color: rgb(0, 171, 59);"56 }57 html += `<tr style="border: 0px;">`58 html += `<td style="width: 30%; border: 0px; border-bottom: 0px dashed #ccc; padding-top: 10px; padding-bottom: 10px;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.25em;">` + stocks[i].Name + `</span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.25em; color: #888;">` + stocks[i].Code + `</span></td>`59 html += `<td style="width: 25%; border: 0px; border-bottom: 0px dashed #ccc; padding-top: 10px; padding-bottom: 10px; text-align: right;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.75em;">` + stocks[i].Value + `</span></td>`60 html += `<td style="width: 45%; border: 0px; border-bottom: 0px dashed #ccc; padding-top: 10px; padding-bottom: 10px; text-align: right;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.25em; ` + percentColor + `">` + stocks[i].Current + `</span><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.25em; ` + percentColor + `"> ` + stocks[i].Percent + `</span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.25em; ` + currentYearPercentColor + `">` + stocks[i].CurrentYearPercent + `</span></td>`61 html += `</tr>`62 }63 html += `</tbody></table>`64 return html65}66// RenderStockChart è¡ç¥¨æ±ç¶å¾67func RenderStockChart(bars []Bar) string {68 html := `<table style="width: 100%; padding-right: 16px; padding-left: 16px; border: 0px; line-height: 0;"><tbody>`69 html += `<tr style="border: 0px;">`70 for i := 0; i < len(bars); i++ {71 var color, backgroundColor string72 if bars[i].Flag == 1 {73 color = "color: rgb(246, 66, 69);"74 backgroundColor = "background-color: rgb(246, 66, 69);"75 } else if bars[i].Flag == 0 {76 color = "color: rgb(153, 153, 153);"77 backgroundColor = "background-color: rgb(153, 153, 153);"78 } else {79 color = "color: rgb(0, 171, 59);"80 backgroundColor = "background-color: rgb(0, 171, 59);"81 }82 html += `<td valign="bottom" style="border: 0px; text-align: center;"><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em; ` + color + `">` + Float64ToString(bars[i].Value) + `</span><br/><span style="display: inline-block; border-radius: 5px 5px 0 0; width: 100%; height: ` + fmt.Sprintf("%.2f", 200*bars[i].Ratio) + "px; " + backgroundColor + `"></span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em;">` + bars[i].Name + `</span></td>`83 }84 html += `</tr>`85 html += `</tbody></table>`86 return html87}88// RenderStockThermometer è¡ç¥¨æ¸©åº¦è®¡89func RenderStockThermometer(bars []Bar) string {90 html := `<table style="width: 100%; padding-right: 16px; padding-left: 16px; border: 0px; line-height: 0;"><tbody>`91 html += `<tr style="border: 0px;">`92 var down, flat, up float6493 for i := 0; i < len(bars); i++ {94 if bars[i].Flag == 1 {95 up += bars[i].Value96 } else if bars[i].Flag == 0 {97 flat += bars[i].Value98 } else {99 down += bars[i].Value100 }101 }102 html += `<td valign="top" style="width: ` + fmt.Sprintf("%.2f", down/(down+flat+up)*100) + `%-25px; border: 0px; text-align: center; padding-left: 8px; padding-right: 0px; padding-top: 12px;"><span style="display: inline-block; border-radius: 5px 0 0 5px; width: 100%; height: 5px; background-color: rgb(0, 171, 59);"></span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em; color: rgb(0, 171, 59);">` + Float64ToString(down) + `</span></td>`103 html += `<td valign="top" style="width: ` + fmt.Sprintf("%.2f", flat/(down+flat+up)*100) + `%; border: 0px; text-align: center; padding-left: 0px; padding-right: 0px; padding-top: 12px;"><span style="display: inline-block; width: 100%; height: 5px; background-color: rgb(153, 153, 153);"></span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em; color: rgb(153, 153, 153); display: none;">` + Float64ToString(flat) + `</span></td>`104 html += `<td valign="top" style="width: ` + fmt.Sprintf("%.2f", up/(down+flat+up)*100) + `%-25px; border: 0px; text-align: center; padding-left: 0px; padding-right: 0px; padding-top: 12px;"><span style="display: inline-block; border-radius: 0 5px 5px 0; width: 100%; height: 5px; background-color: rgb(246, 66, 69);"></span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em; color: rgb(246, 66, 69);">` + Float64ToString(up) + `</span></td>`105 html += `<td valign="top" style="width: 50px; border: 0px; text-align: center; padding-left: 0px; padding-right: 0px;"><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.75em; color: rgb(246, 66, 69);">` + fmt.Sprintf("%.0f", (up/(up+flat+down))*100) + "â" + `</span></td>`106 html += `</tr>`107 html += `</tbody></table>`108 return html109}110// RenderStockTimeline è¡ç¥¨æ¶é´çº¿111func RenderStockTimeline(events []Event) string {112 html := `<table style="width: 100%; padding-right: 16px; padding-left: 16px; border: 0px; line-height: 0;"><tbody>`113 for i := 0; i < len(events); i++ {114 html += `<tr style="border: 0px;">`115 html += `<td valign="top" style="width: 70px; border: 0px; border-bottom: 0px dashed #ccc; padding-top: 10px; padding-bottom: 10px;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.75em;"><strong>` + events[i].Time + `</strong></span></td>`116 html += `<td valign="top" style="border: 0px; border-bottom: 0px dashed #ccc; padding-top: 10px; padding-bottom: 10px;"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.75em;">` + events[i].Content + `</span></td>`117 html += `</tr>`118 }119 html += `</tbody></table>`120 return html121}122// RenderStockPlate è¡ç¥¨æ¿åå¾123func RenderStockPlate(stocks []Stock) string {124 html := `<table style="width: 100%; padding-right: 2px; padding-left: 2px; border: 0px; line-height: 0; border-collapse: separate; border-spacing: 5px 5px;"><tbody>`125 for i := 0; i < len(stocks); i++ {126 var backgroundColor string127 if stocks[i].Percent == "0.00%" {128 backgroundColor = "background-color: rgb(153, 153, 153);"129 } else if strings.Contains(stocks[i].Percent, "+") {130 backgroundColor = "background-color: rgb(246, 66, 69);"131 } else {132 backgroundColor = "background-color: rgb(0, 171, 59);"133 }134 if i%3 == 0 {135 html += `<tr style="border: 0px;">`136 }137 var borderRadius string138 if i == 0 {139 borderRadius = "border-radius: 10px 0 0 0;"140 } else if i == 2 {141 borderRadius = "border-radius: 0 10px 0 0;"142 } else if i == len(stocks)-1 {143 borderRadius = "border-radius: 0 0 10px 0;"144 } else if i == len(stocks)-3 {145 borderRadius = "border-radius: 0 0 0 10px;"146 }147 html += `<td style="width: 33.33%; height: 50px; border: 0px; border-bottom: 0px dashed #ccc; text-align: center; ` + backgroundColor + " " + borderRadius + `"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.25em; color: #fff;">` + stocks[i].Name + `</span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.25em; color: #fff;">` + stocks[i].Percent + `</span></td>`148 if (i+1)%3 == 0 {149 html += `</tr>`150 }151 }152 html += `</tbody></table>`153 return html154}155// RenderStockCard è¡ç¥¨å¡çå¾156func RenderStockCard(stocks []Stock) string {157 html := `<table style="width: 100%; padding-right: 2px; padding-left: 2px; border: 0px; line-height: 0; border-collapse: separate; border-spacing: 5px 5px;"><tbody>`158 for i := 0; i < len(stocks); i++ {159 var backgroundColor string160 if strings.Index(stocks[i].Value, "0.00") == 0 {161 backgroundColor = "background-color: rgb(153, 153, 153);"162 } else if strings.Contains(stocks[i].Value, "+") {163 backgroundColor = "background-color: rgb(246, 66, 69);"164 } else {165 backgroundColor = "background-color: rgb(0, 171, 59);"166 }167 if i%2 == 0 {168 html += `<tr style="border: 0px;">`169 }170 html += `<td style="width: 50%; height: 50px; border: 0px; border-bottom: 0px dashed #ccc; text-align: center; border-radius: 10px;` + backgroundColor + `"><span style="font-size: 15px; letter-spacing: 0.5px; line-height: 1.25em; color: #fff;">` + stocks[i].Name + `</span><br/><span style="font-size: 12px; letter-spacing: 0.5px; line-height: 1.25em; color: #fff;">` + stocks[i].Value + `</span></td>`171 if (i+1)%2 == 0 {172 html += `</tr>`173 }174 }175 html += `</tbody></table>`176 return html177}...
tasks_httphandler.go
Source:tasks_httphandler.go
...153 }154 var docEl = doc.documentElement,155 resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';156 window.recalc = function() {157 var clientWidth = docEl.clientWidth < 768 ? docEl.clientWidth : 768;158 if (!clientWidth) return;159 docEl.style.fontSize = 10 * (clientWidth / 320) * window.MPIXEL_RATIO + 'px';160 };161 window.recalc();162 163 addEventListeners(win, resizeEvt, recalc);164})(document, window);165</script>166</head>167<body>168<div class="overtable">169{{tableBody}}170</div>171</body>172</html>173`...
Width
Using AI Code Generation
1import (2func main() {3 doc, err := html.Parse(os.Stdin)4 if err != nil {5 fmt.Fprintf(os.Stderr, "width: %v\n", err)6 os.Exit(1)7 }8 fmt.Println(width(doc))9}10func width(node *html.Node) (w int) {11 if node.Type == html.ElementNode {12 if node.Data == "img" {13 for _, a := range node.Attr {14 if a.Key == "width" {15 fmt.Sscan(a.Val, &w)16 }17 }18 }19 }20 for c := node.FirstChild; c != nil; c = c.NextSibling {21 w += width(c)22 }23}
Width
Using AI Code Generation
1import (2func main() {3 doc, err := html.Parse(os.Stdin)4 if err != nil {5 log.Fatal("Error in reading html file")6 }7 fmt.Println("Width of html file is:", Width(doc))8}9func Width(n *html.Node) int {10 if n == nil {11 }12 return max(Width(n.NextSibling), Width(n.FirstChild)) + 113}14func max(x, y int) int {15 if x > y {16 }17}18import (19func main() {20 doc, err := html.Parse(os.Stdin)21 if err != nil {22 log.Fatal("Error in reading html file")23 }24 fmt.Println("Depth of html file is:", depth(doc))25}26func depth(n *html.Node) int {27 if n == nil {28 }29 return max(depth(n.NextSibling), depth(n.FirstChild)) + 130}31func max(x, y int) int {32 if x > y {33 }34}35import (36func main() {37 doc, err := html.Parse(os.Stdin)38 if err != nil {39 log.Fatal("Error in reading html file")40 }41 visit(doc, startElement, endElement)42}43func startElement(n *html.Node) {
Width
Using AI Code Generation
1import (2func main() {3 doc, err := html.Parse(os.Stdin)4 if err != nil {5 fmt.Fprintf(os.Stderr, "html parse error: %v\n", err)6 os.Exit(1)7 }8 fmt.Println(Width(doc))9}10func Width(doc *html.Node) int {11 visit := func(n *html.Node) {12 if n.Type == html.ElementNode && n.Data == "img" {13 for _, a := range n.Attr {14 if a.Key == "width" {15 if w, err := strconv.Atoi(a.Val); err == nil && w > max {16 }17 }18 }19 }20 }21 forEachNode(doc, visit, nil)22}23import (24func main() {25 doc, err := html.Parse(os.Stdin)26 if err != nil {27 fmt.Fprintf(os.Stderr, "html parse error: %v\n", err)28 os.Exit(1)29 }30 fmt.Println(Depth(doc))31}32func Depth(doc *html.Node) int {33 visit := func(n *html.Node) {34 if n.Type == html.ElementNode {35 if i := ElementDepth(n); i > max {36 }37 }38 }39 forEachNode(doc, visit, nil)40}41func ElementDepth(n *html.Node) int {42 for ; n.Parent != nil; n = n.Parent {43 }44}45import (46func main() {47 doc, err := html.Parse(os.Stdin)48 if err != nil {49 fmt.Fprintf(os.Stderr, "html parse error: %v\n", err)50 os.Exit(1)51 }52 Outline(doc)53}54func Outline(doc *html.Node) {55 startElement := func(n *html.Node) {
Width
Using AI Code Generation
1import (2func main() {3 if len(os.Args) != 2 {4 fmt.Fprintf(os.Stderr, "Usage: %s <url>\n", os.Args[0])5 os.Exit(1)6 }7 doc, err := html.Parse(url)8 if err != nil {9 fmt.Fprintf(os.Stderr, "parse: %v\n", err)10 os.Exit(1)11 }12 width, ok := Width(doc)13 if !ok {14 fmt.Fprintf(os.Stderr, "width: %v\n", err)15 os.Exit(1)16 }17 fmt.Printf("%d\n", width)18}19func Width(n *html.Node) (int, bool) {20 if n.Type == html.ElementNode && n.Data == "img" {21 for _, a := range n.Attr {22 if a.Key == "width" {23 w, err := strconv.Atoi(a.Val)24 }25 }26 }27 for c := n.FirstChild; c != nil; c = c.NextSibling {28 w1, ok := Width(c)29 if ok && w1 > w {30 }31 }32}
Width
Using AI Code Generation
1import (2func main() {3 doc := html.NewTokenizer(strings.NewReader("<html><head></head><body><h1>Hello World</h1></body></html>"))4 for {5 tt := doc.Next()6 switch tt {7 err = doc.Err()8 if err == io.EOF {9 }10 t := doc.Token()11 fmt.Printf("%s %s\n", t.Data, t.Attr)12 t := doc.Token()13 fmt.Println(t.Data)14 }15 }16 if err != nil {17 fmt.Printf("error: %v\n", err)18 }19}
Width
Using AI Code Generation
1import (2func main() {3 doc, err := html.Parse(strings.NewReader(htmlString))4 if err != nil {5 fmt.Println(err)6 }7 fmt.Println(doc)8}9import (10func main() {11 doc, err := html.Parse(strings.NewReader(htmlString))12 if err != nil {13 fmt.Println(err)14 }15 fmt.Println(doc.FirstChild)16 fmt.Println(doc.FirstChild.NextSibling)17 fmt.Println(doc.FirstChild.NextSibling.NextSibling)18}19import (20func main() {21 doc, err := html.Parse(strings.NewReader(htmlString))22 if err != nil {23 fmt.Println(err)24 }25 fmt.Println(doc.FirstChild.Data)26 fmt.Println(doc.FirstChild.NextSibling.Data)27 fmt.Println(doc.FirstChild.NextSibling.NextSibling.Data)28}29import (30func main() {31 doc, err := html.Parse(strings.NewReader(htmlString))32 if err != nil {33 fmt.Println(err)34 }35 fmt.Println(doc.FirstChild.Type)36 fmt.Println(doc.FirstChild.NextSibling.Type)37 fmt.Println(doc.FirstChild.NextSibling.NextSibling.Type)38}39import (40func main() {41 doc, err := html.Parse(strings.NewReader(htmlString))42 if err != nil {43 fmt.Println(err)44 }45 fmt.Println(doc.FirstChild.Attr)46 fmt.Println(doc.FirstChild.NextSibling.Attr)47 fmt.Println(doc.FirstChild.NextSibling.NextSibling.Attr)48}49import (50func main() {51 doc, err := html.Parse(strings.NewReader(htmlString))52 if err != nil {53 fmt.Println(err)54 }55 fmt.Println(doc.FirstChild.FirstChild.Data)56 fmt.Println(doc.FirstChild.NextSibling.FirstChild.Data)57 fmt.Println(doc.FirstChild.NextSibling.NextSibling.FirstChild.Data
Width
Using AI Code Generation
1import (2func main() {3 file, err := os.Open("1.html")4 if err != nil {5 log.Fatal(err)6 }7 defer file.Close()8 doc, err := html.Parse(file)9 if err != nil {10 log.Fatal(err)11 }12 width, ok := Width(doc)13 if !ok {14 fmt.Println("No width found")15 } else {16 fmt.Println(width)17 }18}19func Width(n *html.Node) (string, bool) {20 if n.Type == html.ElementNode {21 if n.Data == "img" {22 for _, a := range n.Attr {23 if a.Key == "width" {24 }25 }26 }27 }28 for c := n.FirstChild; c != nil; c = c.NextSibling {29 width, ok := Width(c)30 if ok {31 }32 }33}
Width
Using AI Code Generation
1import (2func Width(n *html.Node) int {3 if n == nil {4 }5 q = append(q, n)6 for len(q) > 0 {7 count = len(q)8 if count > max {9 }10 for i := 0; i < count; i++ {11 for c := node.FirstChild; c != nil; c = c.NextSibling {12 q = append(q, c)13 }14 }15 }16}17func main() {18 node := html.Node{19 FirstChild: &html.Node{20 FirstChild: &html.Node{21 FirstChild: &html.Node{22 },23 },24 },25 LastChild: &html.Node{26 FirstChild: &html.Node{27 FirstChild: &html.Node{28 },29 },30 LastChild: &html.Node{31 FirstChild: &html.Node{32 },33 },34 },35 }36 fmt.Println(Width(&node))37}
Width
Using AI Code Generation
1import (2func Width(n *html.Node) int {3 if n.Type == html.ElementNode {4 }5}6func main() {7 doc, err := html.Parse(os.Stdin)8 if err != nil {9 fmt.Fprintf(os.Stderr, "findlinks1: %v\n", err)10 os.Exit(1)11 }12 fmt.Println(Width(doc))13}
Width
Using AI Code Generation
1import (2func main() {3 doc, err := html.Parse(os.Stdin)4 if err != nil {5 fmt.Fprintf(os.Stderr, "findlinks1:%v\n", err)6 os.Exit(1)7 }8 for _, link := range visit(nil, doc) {9 fmt.Println(link)10 }11}12func visit(links []string, n *html.Node) []string {13 if n.Type == html.ElementNode && n.Data == "a" {14 for _, a := range n.Attr {15 if a.Key == "href" {16 links = append(links, a.Val)17 }18 if a.Key == "width" {19 fmt.Println(a.Val)20 }21 }22 }23 for c := n.FirstChild; c != nil; c = c.NextSibling {24 links = visit(links, c)25 }26}
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!