123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <link rel="stylesheet" href="/css/assist/successPage.css"/>
- <style>
- .report-setting-main{
- margin-top:130px;
- width: 60%;
- height: 20%;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%,-50%);
- }
- .report-setting-main div{
- margin-bottom:40px;
- }
- .report-setting-radio{
- padding-left: 10px;
- display: inline-block;
- text-align: left;
- width:240px;
- vertical-align: top;
- }
- .report-setting-title{
- width: 120px;
- display: inline-block;
- }
- .report-setting-tips{
- color:#949494;
- display: block;
- }
- .select_area{
- margin-bottom: 15px;
- }
- .score-levels-box input{text-align: center;}
- .score-levels-box{padding:30px 0;}
- .score-levels{padding:10px 20px 0;}
- .level-box{display: flex;}
- .level-box input{width:100px;margin:0 10px;padding-left: 5px;border:1px solid #aaa;}
- .level-box *{height: 30px;line-height: 30px;}
- .level-remove{font-size: 30px;text-align: center;cursor: pointer;}
- .level-line{position: relative;width: 50px;}
- .level-line:after{content: "";display: block;height:1px;background: #aaa;position: absolute;left:0;top:50%;transform: translateY(-50%);width: 100%;}
- .score-levels p{margin-bottom: 0;padding-left: 10px;line-height: 30px;color: #ccc;}
- .add-level{display: inline-block;padding-left:30px;margin-top:20px; color: blue;}
- .level-precent{position: relative}
- .level-precent span{position:absolute;right:20px;top:50%;transform: translateY(-50%)}
- .filter button{
- border: none;
- background: #2977ff;
- width: 111px;
- height: 36px;
- border-radius: 3px;
- font-size: 14px;
- color: #fff;
- outline: none;
- cursor: pointer;
- margin-left: 180px;
- }
- </style>
- <!-- 导航栏开始-->
- <?php include(Yii::app()->basePath.'/views/layouts/view_navigation.php');?>
- <!-- 导航栏结束-->
- <div class="hgc_headOPerator fl" style="background: transparent;padding-left: 0;">
- <div class="menuBtn" id="hgc_scanUploadBtn">
- <img src="/images/assist/icon_hgc_menu.svg" />
- <span class="btnText">未付费用户权限设置</span>
- </div>
- </div>
- <div class="report-setting-main">
- <form action="<?php echo $this->createUrl('zhiliao/unpaidUserSetting')?>" method="post" id="userSetting">
- <div class="select_area">
- <span class="report-setting-title">家长端成绩报告</span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_report" <?php if(!isset($parent_report) || $parent_report==1){echo 'checked';}?> value="1">仅显示得分,不显示详情<br>
- <img src="/images/zhiliao/parent_report_1.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_report" <?php if(isset($parent_report) && $parent_report==0){echo 'checked';}?> value="0">不显示得分及详情<br>
- <img src="/images/zhiliao/parent_report_2.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_report" <?php if(isset($parent_report) && $parent_report==2){echo 'checked';}?> value="2">完整版<br>
- </span>
- </div>
- <div class="select_area">
- <span class="report-setting-title">家长端考试通知</span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_exam_notify" <?php if(!isset($parent_exam_notify) || $parent_exam_notify==2){echo 'checked';}?> value="2">通知并显示成绩<br>
- <img src="/images/zhiliao/parent_exam_notify_1.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_exam_notify" <?php if(isset($parent_exam_notify) && $parent_exam_notify==1){echo 'checked';}?> value="1">通知但不显示成绩<br>
- <img src="/images/zhiliao/parent_exam_notify_2.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="parent_exam_notify" <?php if(isset($parent_exam_notify) && $parent_exam_notify==0){echo 'checked';}?> value="0">不通知<br>
- </span>
- </div>
- <div class="select_area">
- <span class="report-setting-title">学生端成绩报告</span>
- <span class="report-setting-radio">
- <input type="radio" name="student_report" <?php if(!isset($student_report) || $student_report==2){echo 'checked';}?> value="2">可查看完整成绩报告<br>
- <img src="/images/zhiliao/student_report_1.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="student_report" <?php if(isset($student_report) && $student_report==1){echo 'checked';}?> value="1">仅可查看成绩,不可查看报告<br>
- <img src="/images/zhiliao/student_report_2.png">
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="student_report" <?php if(isset($student_report) && $student_report==0){echo 'checked';}?> value="0">成绩及报告都不可查看<br>
- <img src="/images/zhiliao/student_report_3.png">
- </span>
- </div>
- <div class="select_area">
- <span class="report-setting-title">学生知识账单权限</span>
- <span class="report-setting-radio">
- <input type="radio" name="student_knowledge_bill" <?php if(!isset($student_knowledge_bill) || $student_knowledge_bill==1){echo 'checked';}?> checked value="1">可查看
- </span>
- <span class="report-setting-radio">
- <input type="radio" name="student_knowledge_bill" <?php if(isset($student_knowledge_bill) && $student_knowledge_bill==0){echo 'checked';}?> value="0">不可查看
- </span>
- <span class="report-setting-tips">选择不可查看模式,学生及家长端的学生知识账单入口将隐藏</span>
- </div>
- <div class="filter"><button type="button" class="save-setting">保存设置</button></div>
- </form>
- </div>
- <script>
- $('.save-setting').click(function(){
- $('#userSetting').submit();
- });
- </script>
|