PHP Classes

File: SmallServerAdmin/svn/users.html.php

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/svn/users.html.php  >  Download  
File: SmallServerAdmin/svn/users.html.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 6 years ago
Size: 3,564 bytes


Class file image Download
<?#Page Title="${Svn Users}" ?>
<html xmlns:php="">

    <php:Content ID="MainContent">
      <div ng-controller="SvnUsersController">

        <h2 class="pull-left">${Svn Users}</h2>
        <h2 class="pull-right">
          <a ng-click="EditUser()" class="btn btn-success">
            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
            ${Add user}

        <div class="clearfix"></div>

        <div class="panel panel-default">
          <div class="panel-body form-inline">
            <div class="form-group">
              <input type="text" name="search" placeholder="${User name}" class="form-control" ng-disabled="Loading" ng-model="Search" />
            <button class="btn btn-default" ng-disabled="Loading" ng-click="SearchUsers()">
              <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
            <button class="btn btn-default" ng-disabled="Loading" ng-click="ResetSearch()">
              <span class="glyphicon glyphicon-erase" aria-hidden="true"></span>

        <div class="panel panel-default ng-hide" ng-show="Loading" ng-cloak>
          <div class="panel-body">
            <span class="glyphicon glyphicon-refresh fa-spin"></span>
            ${Loading list of users. Please wait...}

        <div class="panel panel-default ng-hide" ng-show="!Loading && Users != null && Users.length > 0" ng-cloak>
          <div class="panel-body">
            <table class="table table-hover">
                  <th class="col-xs-6 col-sm-6 col-md-4 col-lg-4">${Username}</th>
                  <th class="hidden-xs hidden-sm col-md-6 col-lg-6">${Groups}</th>
                  <th class="col-xs-1 col-sm-1 col-md-1 col-lg-1">&nbsp;</th>
                  <th class="col-xs-1 col-sm-1 col-md-1 col-lg-1">&nbsp;</th>
                <tr ng-repeat="user in Users">
                  <td class="text-nowrap">
                    <span class="glyphicon glyphicon-user"></span>
                  <td class="hidden-xs hidden-sm">
                    {{user.Groups.join(', ')}}
                  <td><a class="btn btn-primary btn-sm" ng-click="EditUser(user)"><span class="glyphicon glyphicon-edit"></span><span class="hidden-xs hidden-sm hidden-md"> ${Edit}</span></a></td>
                  <td><a class="btn btn-danger btn-sm" ng-click="ShowDialogToDeleteUser(user.Login)"><span class="glyphicon glyphicon-trash"></span><span class="hidden-xs hidden-sm hidden-md"> ${Delete}</span></a></td>

        <div class="well well-lg" ng-show="!Loading && (Users == null || Users.length == 0)" ng-cloak>
          <p>${Users not found...}</p>
            <a ng-click="EditUser()">
              <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
              ${Add a new user}

include \Nemiro\Server::MapPath('~/svn/user.php');
          include \




For more information send a message to info at phpclasses dot org.