wdx1992828 发表于 2018-9-1 12:33:45

Django+ PowerShell 管理AD系统

{%extends 'base.html' %}  
{% block css %}
  
   
  
      .go{
  
            width:20px;
  
             border: solid 1px;
  
            color: #66512c;
  
            display: inline-block;
  
            padding: 5px;
  
      }
  
      .pagination .page{
  
            border: solid 1px;
  
            color: #66512c;
  
            display: inline-block;
  
            padding: 5px;
  
            background-color: #d6dade;
  
            margin: 5px;
  
      }
  
      .pagination .page.active{
  
            background-color: black;
  
            color: white;
  
      }
  
      .hide{
  
            display: none;
  
      }
  
      .shade{
  
            position: fixed;
  
            top: 0;
  
            right: 0;
  
            left: 0;
  
            bottom: 0;
  
            background: black;
  
            opacity: 0.6;
  
            z-index: 100;
  
      }
  
      .add-modal,.edit-modal{
  
            position: fixed;
  
            height: 300px;
  
            width: 400px;
  
            top:100px;
  
            left: 50%;
  
            z-index: 101;
  
            border: 1px solid red;
  
            background: white;
  
            margin-left: -200px;
  
      }
  
      .group{
  
            margin-left: 20px;
  
            margin-bottom: 15px;
  
      }
  
   
  
{% endblock %}
  
{% block content %}
  
Powershell 测试页面
  
查询用户组
  
            
  
                {% csrf_token %}
  
               
  
               
  
            
  

  
   
  
      
  
            
  
                成员
  
                DN
  
                操作
  
            
  
      
  
      
  
{% for items in result %}
  
   
  
      `items`.`name`
  
      `items`.`distinguishedname`
  
      修改 | 删除
  
   
  
{% endfor %}
  
      
  
   
  

  
{% endblock %}
  
{% block title%}PowerShell{% endblock %}
  
{% block js%}
  

  

  
{% endblock %}


页: [1]
查看完整版本: Django+ PowerShell 管理AD系统