File indexing completed on 2025-05-04 05:29:02

0001 <?php 
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 
0023 ?>
0024 <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.validationengine/2.6.4/css/template.css">
0025 <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.validationengine/2.6.4/css/validationEngine.jquery.css">
0026 <script src="//cdn.jsdelivr.net/jquery.validationengine/2.6.4/js/jquery.validationEngine.min.js"></script>
0027 <script src="//cdn.jsdelivr.net/jquery.validationengine/2.6.4/languages/jquery.validationEngine-en.js"></script>
0028 <style>
0029     .highlight {
0030         background-color: #fefff3;
0031     }
0032 </style>
0033 <div class="messages">
0034     <?php foreach (Zend_Controller_Action_HelperBroker::getStaticHelper('flashMessenger')
0035                        ->getCurrentMessages() as $message) : ?>
0036         <p><?php echo $this->escape($message); ?></p>
0037     <?php endforeach; ?>
0038 
0039 </div>
0040 
0041 <div id="TableContainer"></div>
0042 
0043 <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
0044 <script type="text/javascript">
0045     $(document).ready(function () {
0046         $('#TableContainer').jtable({
0047             jqueryuiTheme: true,
0048             paging: true,
0049             title: 'Table of GHNS-Excluded Projects',
0050             actions: {
0051                 listAction: '/backend/ghnsexcluded/list'
0052             },
0053             fields: {
0054                 project_id: {
0055                     title: 'Project Id',
0056                     key: true,
0057                     create: false,
0058                     edit: false,
0059                     list: true,
0060                     width: '2%'
0061                 },
0062                 title: {
0063                     title: 'Proj. Title',
0064                     key: false,
0065                     create: false,
0066                     edit: false,
0067                     list: true,
0068                     width: '25%'
0069                 },
0070                 exclude_member_id: {
0071                     title: 'Excluded from',
0072                     key: false,
0073                     create: false,
0074                     edit: false,
0075                     list: false,
0076                     width: '2%'
0077                 },
0078                  exclude_member_name: {
0079                     title: 'Excluded from',
0080                     key: false,
0081                     create: false,
0082                     edit: false,
0083                     list: true,
0084                     width: '5%'
0085                 },
0086                 exclude_time: {
0087                     title: 'Excluded at',
0088                     width: '5%',
0089                     type: 'datetime',
0090                     create: false,
0091                     edit: false,
0092                     list: true
0093                 }
0094             }
0095         });
0096         
0097         $('#TableContainer').jtable('load');
0098 
0099     });
0100 </script>