123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace TEAMModelOS.SDK.DI
- {
- public class Constant
- {
- public static readonly List<string> BlobPrefix = new List<string> { "exam", "vote", "survey", "item", "paper", "syllabus", "records", "doc", "image", "res", "video", "audio", "other", "thum", "train", "temp", "jyzx" };
- public static readonly List<string> ContentPrefix = new List<string> { "doc", "image", "res", "video", "audio", "other" };
- public static readonly string TEAMModelOS = "TEAMModelOS";
- public static readonly string ScopeTeacher = "teacher";
- public static readonly string ScopeTmdUser = "tmduser";
- public static readonly string ScopeStudent = "student";
- public static readonly string RowKey = "RowKey";
- public static readonly string PartitionKey = "PartitionKey";
- public static readonly string School = "School";
- public static readonly string Normal = "Normal";
- public static readonly string Common = "Common";
- public static readonly string Teacher = "Teacher";
- public static readonly string Student = "Student";
- public static readonly int private_lesson_limit = 50;
- public static readonly int private_lesson_expire = 7;
- public static readonly int school_lesson_expire = 7;
- public static readonly string html = @"
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset=""UTF-8"">
- <meta http-equiv=""X-UA-Compatible"" content=""IE=edge"">
- <meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">
- <title>校本研修活动完成情况</title>
- <style>
- body {
- font-family: ""fangsong"";
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .tch-table,
- .details-table {
- width: 100%;
- }
- .tch-table table {
- width: 100%;
- margin: 15px 0;
- border: 0;
- }
- .tch-table th {
- background-color: #c5c5c5;
- color: #222222;
-
- }
- .tch-table,
- .tch-table th,
- .tch-table td {
- font-size: 0.95em;
- text-align: center;
- padding: 4px;
- border-collapse: collapse;
- font-weight: bolder;
- }
- .tch-table th,
- .tch-table td {
- border-bottom: 1px solid #918b8c;
- border-width: 1px 0 1px 0;
- }
- .tch-table tr {
- border: 1px solid #ffffff;
- height: 3.2em;
- }
- .title {
- font-weight: bold;
- align-self: flex-start;
- margin: 30px 5px;
- }
- .title::before {
- content: """";
- width: 10px;
- height: 10px;
- background: #3a3a3a;
- display: inline-block;
- margin-right: 10px;
- }
- </style>
- </head>
- <body>
- <h1 style=""text-align:center;font-weight: bold;"">校本研修活动完成情况</h1>
- <p class=""title"">教师信息</p>
- <table class=""tch-table"" id=""tchTable"">
- <tr>
- <th style=""width: 33.3%;"">教师姓名</th>
- <th style=""width: 33.3%;"">机构</th>
- <th style=""width: 33.3%;"">教研组</th>
- </tr>
- <tr>
- <td>{c.cname}</td>
- <td>{c.sname}</td>
- <td>{c.gname}</td>
- </tr>
- </table>
- <p class=""title"">活动明细</p>
- <table class=""tch-table"" id=""acTable"">
- <tr>
- <th style=""width: 25%;"">活动主题</th>
- <th style=""width: 15%;"">活动类型</th>
- <th style=""width: 5%;"">任务学时</th>
- <th style=""width: 5%;"">完成学时</th>
- <th style=""width: 20%;"">活动时间</th>
- <th style=""width: 10%;"">活动内容</th>
- <th style=""width: 10%;"">活动任务</th>
- <th style=""width: 10%;"">状态</th>
- </tr>
- {c.details}
- </table>
- </body>
- </html>
- ";
- }
- }
|