<commit_before><!DOCTYPE html>
<%@ include file="/pages/commonHeader.jsp"%>
<html style="height: 100%">
<head>
<title>Form wizard tool</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet" type="text/css" href="css/dynamic-base.css">

<style type="text/css">

</style>

<script type="text/javascript" src="js/jquery-dynamicform-1.0.0.js"></script>
<script type="text/javascript" src="js/dynamic-base.js"></script>


</head>
<body>
  <!-- begin: main content area #main -->
 <div class="template" style="position:relative;">
  <div id="formBuilderMenu">
    <ul id="rbMenu" class="rb_menu">
      <li id="Label"><img src="img/new_label.png"> 标签</li>
      <li id="Image"><img src="img/new_image.png"> 图片</li>
      <li id="Text"><img src="img/new_text.png"> 输入框</li>
      <li id="Password"><img src="img/new_password.png"> 密码框</li>
      <li id="TextArea"><img src="img/new_textarea.png"> 文本框</li>
      <li id="Radio"><img src="img/new_radio.png"> 按钮</li>
      <li id="Checkbox"><img src="img/new_checkbox.png"> 单复选框</li>
      <li id="Select"><img src="img/new_select.png"> 下拉框</li>
      <li id="Date"><img src="img/new_date_picker.png"> 日历</li>
      <li id="Button"><img src="img/new_button.png"> 提交</li>
    </ul>
    <ul id="rbMenu3" class="rb_menu" style="margin-top:5px">
      <li id="Row"><img src="img/property.png"> 行域</li>
      <li id="FieldSet"><img src="img/property.png"> 分组域</li>
      <li></li>
      <li id="formCreate"><img src="img/property.png"> 创建表单模版</li>
      <li id="loadXml"><img src="img/load_xml.png"> 打开</li>
      <li id="saveXml"><img src="img/save_xml.png"> 保存</li>
    </ul>
  </div>
  <h4 style="text-align:center;position:absolute;left:0px;top:0px;width:100%">动态表单模版工作区</h4>
  <div id="maindynamicform" style="position:absolute;left:0px;top:50px;width:100%;height:90%"></div>
  <div id="dialog_elt" title="参数设置区"></div>
  <div id="dialog_file" title="系统模版列表区"></div>
  </div>
  <script type="text/javascript">
            jQuery(document).ready(function() {
                
                jQuery("#dialog_file").dialog({
                    bgiframe : true,
                    autoOpen : false,
                    height : 200,
                    modal : true,
                    buttons : {
                        Save : function() {
                            var name = jQuery("#x_file").val();
                            if(name==null){
                                jQuery("#dialog_message").html('<span style="color:red">没有有效的模版!</span>');
                                jQuery("#dialog_message").dialog(); 
                            }else{ 
                                var label = jQuery("#x_file option:selected").text();
                                load_xml({name:name,label:label});
                                jQuery(this).dialog('close');
                           }
                        },
                        Cancel : function() {
                            jQuery(this).dialog('close');<commit_msg>using "Open" for this dialog.<commit_after><!DOCTYPE html>
<%@ include file="/pages/commonHeader.jsp"%>
<html style="height: 100%">
<head>
<title>Form wizard tool</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet" type="text/css" href="css/dynamic-base.css">

<style type="text/css">

</style>

<script type="text/javascript" src="js/jquery-dynamicform-1.0.0.js"></script>
<script type="text/javascript" src="js/dynamic-base.js"></script>


</head>
<body>
  <!-- begin: main content area #main -->
 <div class="template" style="position:relative;">
  <div id="formBuilderMenu">
    <ul id="rbMenu" class="rb_menu">
      <li id="Label"><img src="img/new_label.png"> 标签</li>
      <li id="Image"><img src="img/new_image.png"> 图片</li>
      <li id="Text"><img src="img/new_text.png"> 输入框</li>
      <li id="Password"><img src="img/new_password.png"> 密码框</li>
      <li id="TextArea"><img src="img/new_textarea.png"> 文本框</li>
      <li id="Radio"><img src="img/new_radio.png"> 按钮</li>
      <li id="Checkbox"><img src="img/new_checkbox.png"> 单复选框</li>
      <li id="Select"><img src="img/new_select.png"> 下拉框</li>
      <li id="Date"><img src="img/new_date_picker.png"> 日历</li>
      <li id="Button"><img src="img/new_button.png"> 提交</li>
    </ul>
    <ul id="rbMenu3" class="rb_menu" style="margin-top:5px">
      <li id="Row"><img src="img/property.png"> 行域</li>
      <li id="FieldSet"><img src="img/property.png"> 分组域</li>
      <li></li>
      <li id="formCreate"><img src="img/property.png"> 创建表单模版</li>
      <li id="loadXml"><img src="img/load_xml.png"> 打开</li>
      <li id="saveXml"><img src="img/save_xml.png"> 保存</li>
    </ul>
  </div>
  <h4 style="text-align:center;position:absolute;left:0px;top:0px;width:100%">动态表单模版工作区</h4>
  <div id="maindynamicform" style="position:absolute;left:0px;top:50px;width:100%;height:90%"></div>
  <div id="dialog_elt" title="参数设置区"></div>
  <div id="dialog_file" title="系统模版列表区"></div>
  </div>
  <script type="text/javascript">
            jQuery(document).ready(function() {
                
                jQuery("#dialog_file").dialog({
                    bgiframe : true,
                    autoOpen : false,
                    height : 200,
                    modal : true,
                    buttons : {
                        Open : function() {
                            var name = jQuery("#x_file").val();
                            if(name==null){
                                jQuery("#dialog_message").html('<span style="color:red">没有有效的模版!</span>');
                                jQuery("#dialog_message").dialog(); 
                            }else{ 
                                var label = jQuery("#x_file option:selected").text();
                                load_xml({name:name,label:label});
                                jQuery(this).dialog('close');
                           }
                        },
                        Cancel : function() {
                            jQuery(this).dialog('close');
{'fraction_non_alphanumeric': 0.19148586456278763, 'fraction_numerical': 0.008875739644970414, 'mean_word_length': 2.2785560344827585, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2265184', 'n_tokens_mistral': 2069, 'n_tokens_neox': 2052, 'n_words': 313}