<commit_before>doctype
include mixins.jade
html.no-js
  head
    meta(charset='utf-8')
    meta(http-equiv='X-UA-Compatible' content='IE=edge')
    title Steam
    meta(name='description' content='Fast Scalable Machine Learning for Smarter Applications')
    meta(name='viewport' content='width=device-width, initial-scale=1')
    link(rel='stylesheet' href='reset.css' type='text/css')
    link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,200' type='text/css')
    link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Inconsolata' type='text/css')
    link(rel='stylesheet' href='http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css' type='text/css')
    link(rel='stylesheet' href='styles.css' type='text/css')
    //-script(src='js/vendor/modernizr-2.7.1.min.js')
  body
    <!--[if lt IE 8]>
    p.browsehappy
      | You are using an <strong>outdated</strong> browser.
      | Please <a href="http://browsehappy.com/">upgrade your browser</a>
      | to improve your experience.
    <![endif]-->

    .main
      .logo S
      .titlebar
        .breadcrumbs
      // ko with:navBar
      .navbar(data-bind="template:{ name:'tmpl-navbar-button', foreach:buttons }")
      // /ko
      .body
        .workspace
          .pane-span(data-bind="style:{ width:span }")
          // ko foreach:panes
          .pane(data-bind="style:{ left:position.leftPx, width:position.widthPx }, template:{ name:$root.templateOf }, autoscroll:true")
          // /ko
      .statusbar
        // ko foreach:breadcrumbs
        .breadcrumb(data-bind="click:execute")
          .breadcrumb__arrow
          .breadcrumb__title(data-bind="text:title")
        // /ko

    // ko if:hasDialogs
    .mask
    .dialogs(data-bind="template: { name:'tmpl-dialog', foreach: dialogs}")
    // /ko

    // ko if:busyMessage
    .mask
    .busy
      .busy-message
        img(src="spinner.gif" style="margin-right:10px")
        span(data-bind="text:busyMessage")
    // /ko

    //
    // Templates
    //

    template.dialog
      .dialog
        .dialog__titlebar
          .dialog__title(data-bind="text:title")
          .dialog__exit(data-bind="click:cancel")
            i.icon.ion-ios-close-empty
        .dialog__body(data-bind="template:{ name:$root.templateOf }")
    
    template.start-cloud-dialog
      .dialog__form
        .form-field-label Specify a name for this cloud:
        .form-field
          input.textbox(type='text' placeholder='Name' data-bind="value:cloudId, valueUpdate:'afterkeydown'" style='width:300px')
        .form-field-error(data-bind="text:cloudIdError")

        .form-field-label How many nodes should this cloud have?
        .form-field
          input.textbox(type='text' placeholder='Size' data-bind="value:cloudSize, valueUpdate:'afterkeydown'" style='width:50px')
        .form-field-error(data-bind="text:cloudSizeError")

      .dialog__actions
        .buttons.buttons--unit
          .button.button--primary(data-bind="click:startCloud") Start Cloud
        .buttons.buttons--unit
          .button(data-bind="click:cancel") Cancel

    template.build-model-dialog
      .dialog__form<commit_msg>STEAM-138 Add version, memory fields to start-cloud form<commit_after>doctype
include mixins.jade
html.no-js
  head
    meta(charset='utf-8')
    meta(http-equiv='X-UA-Compatible' content='IE=edge')
    title Steam
    meta(name='description' content='Fast Scalable Machine Learning for Smarter Applications')
    meta(name='viewport' content='width=device-width, initial-scale=1')
    link(rel='stylesheet' href='reset.css' type='text/css')
    link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,200' type='text/css')
    link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Inconsolata' type='text/css')
    link(rel='stylesheet' href='http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css' type='text/css')
    link(rel='stylesheet' href='styles.css' type='text/css')
    //-script(src='js/vendor/modernizr-2.7.1.min.js')
  body
    <!--[if lt IE 8]>
    p.browsehappy
      | You are using an <strong>outdated</strong> browser.
      | Please <a href="http://browsehappy.com/">upgrade your browser</a>
      | to improve your experience.
    <![endif]-->

    .main
      .logo S
      .titlebar
        .breadcrumbs
      // ko with:navBar
      .navbar(data-bind="template:{ name:'tmpl-navbar-button', foreach:buttons }")
      // /ko
      .body
        .workspace
          .pane-span(data-bind="style:{ width:span }")
          // ko foreach:panes
          .pane(data-bind="style:{ left:position.leftPx, width:position.widthPx }, template:{ name:$root.templateOf }, autoscroll:true")
          // /ko
      .statusbar
        // ko foreach:breadcrumbs
        .breadcrumb(data-bind="click:execute")
          .breadcrumb__arrow
          .breadcrumb__title(data-bind="text:title")
        // /ko

    // ko if:hasDialogs
    .mask
    .dialogs(data-bind="template: { name:'tmpl-dialog', foreach: dialogs}")
    // /ko

    // ko if:busyMessage
    .mask
    .busy
      .busy-message
        img(src="spinner.gif" style="margin-right:10px")
        span(data-bind="text:busyMessage")
    // /ko

    //
    // Templates
    //

    template.dialog
      .dialog
        .dialog__titlebar
          .dialog__title(data-bind="text:title")
          .dialog__exit(data-bind="click:cancel")
            i.icon.ion-ios-close-empty
        .dialog__body(data-bind="template:{ name:$root.templateOf }")
    
    template.start-cloud-dialog
      .dialog__form

        .form-field-label Specify a name for this cloud:
        .form-field
          input.textbox(type='text' placeholder='Name' data-bind="value:cloudId, valueUpdate:'afterkeydown'" style='width:300px')
        .form-field-error(data-bind="text:cloudIdError")

        .form-field-label Which version of H2O should this cloud run?
        .form-field
          span.dropdown
            select.dropdown-select(data-bind="options:engineNames, value:engineName, optionsCaption:'Choose Version...'")
        .form-field-error(data-bind="text:engineNameError")

        .form-field-label How many nodes should this cloud have?
        .form-field
          input.textbox(type='text' placeholder='Size' data-bind="value:cloudSize, valueUpdate:'afterkeydown'" style='width:50px')
        .form-field-error(data-bind="text:cloudSizeError")

        .form-field-label How much memory should each node have?
        .form-field
          input.textbox(type='text' placeholder='Memory' data-bind="value:cloudMemory, valueUpdate:'afterkeydown'" style='width:100px')
        .form-field-error(data-bind="text:cloudMemoryError")

        .form-error(data-bind='text:error')

      .dialog__actions
        .buttons.buttons--unit
          .button.button--primary(data-bind="click:startCloud") Start Cloud
        .buttons.buttons--unit
          .button(data-bind="click:cancel") Cancel

    template.build-model-dialog
      .dialog__form
{'fraction_non_alphanumeric': 0.15233101884653535, 'fraction_numerical': 0.008077086580700015, 'mean_word_length': 2.7582534611288603, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4588456', 'n_tokens_mistral': 2287, 'n_tokens_neox': 2204, 'n_words': 352}