manage_people.eft 2.06 KB
>div
  >table.ui.celled.table.sortable
    >thead
      >tr
        >th
          .姓名
        >th
          .所属部门
        >th
          .权限
        >th
          .操作
    >tbody
      +peoplelist
    >tfoot.full-width
      >tr
        >th
          #colspan = 4
          >div.ui.right.floated.small.primary.labeled.icon.button
            @click = add
            >i.user.icon
            .添加同狮
  >div.ui.modal#add
    >div.header
      .{{status = 添加}}
    >div.content
      >div.ui.form
        @submit.prevent.capture
        >div.field
          >div.label
            #data-old = {{add_old}}
            .姓名
          >input
            %value = {{add_name}}
        >div.field
          >div.label
            .密码
          >input
            #type = password
            %value = {{add_password}}
        >div.field
          >div.label
            .所属部门
          >select
            %value = {{add_department = }}
            >option
              #value = 
              #hidden
              #disabled
              #selected
              .选择部门
            +option_department
        >div.field
          >div.label
            .权限
          >select
            %value = {{add_permission = 1}}
            >option
              #value = 1
              .普通
            >option
              #value = 3
              .发行
            >option
              #value = 4
              .财务员工部门
            >option
              #value = 5
              .财务项目人员
        >div.field
          >div.label
            .电话
          >input
            %value = {{add_phone}}
        >div.field
          >div.label
            .邮件
          >input
            #type = email
            %value = {{add_email}}
    >div.actions
      >button.ui.negative.button
        .取消
      >button.ui.button.green
        @click = submit
        .确定
  >div.ui.modal#infomation
    >div.header
      .{{info}}
    >div.content
      .{{content}}
    >div.actions
      >button.ui.button.basic.negative
        .确定