123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <link type="text/css" rel="stylesheet" href="/css/needDetail.css" />
- <div class="main-content-inner">
- <ul class="clearfix main-content-inner-ul">
- <?php if(Yii::app()->session['coachInfo']['leader']==1){?>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("semester/index");?>"' class="button button_normal button_group button_arrow" data-button="red">学期管理</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <?php }?>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("teacher/index");?>"' class="button button_normal button_group button_arrow" data-button="red">教师管理</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("classes/index");?>"' class="button button_normal button_group button_arrow" data-button="red">班级管理</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("studentinfo/index");?>"' class="button button_normal button_group button_arrow button_active" data-button="red">学生管理</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- <li class="pull-left">
- <button onclick='location.href="<?php echo $this->createUrl("classes/export");?>"' class="button button_normal button_group button_arrow " data-button="red">导出学生</button>
- <img src="/images/line.jpg" style="height:45px;" />
- </li>
- </ul>
- <div class="layout-gap">
- <section class="anc-top flex status_1 <?php if(isset($is_last) && $is_last==1) echo 'hide'?>">
- <div class="flex-one flex">
- <p class="anc-title">导入学生</p>
- </div>
- <div class="anc-opt-btn green-font pointer reback" ><a href="<?php echo $this->createUrl('studentinfo/index');?>">返回</a></div>
- </section>
- <section class="anc-finish-opt gray-border-top" >
- <div class="anc-finish-btn i_fl select_file" >上传excel</div>
- <div class="i_fl"><a href="<?php echo $this->createUrl('importstudent/template')?>">自定义设置模板</a></div>
- <form id="form1" action="<?php echo $this->createUrl('importstudent/import')?>" method="post" enctype="multipart/form-data">
- <input type="file" name="student_file" id="uploadFile" style="display: none">
- </form>
- </section>
- </div>
- </div>
- <script>
- $(function(){
- $('#uploadFile').val('');
- $('.select_file').click(function(){
- $('#uploadFile').click();
- });
- $('#uploadFile').change(function(){
- if($('#uploadFile').val()!=''){
- $('#form1').submit();
- }
- });
- })
- </script>
|