+
'Home', 'url' => '#'],
- ['label' => 'Profile', 'url' => '#'],
- ['label' => 'Messages', 'url' => '#'],
+ ['label' => 'Show', 'url' => '/programupdates'],
+ ['label' => 'Manage', 'url' => '/programupdates/admin'],
+ ['label' => 'Create', 'url' => '/programupdates/create'],
]
); ?>
diff --git a/www/protected/views/programupdates/_form.php b/www/protected/views/programupdates/_form.php
new file mode 100644
index 0000000..d35977a
--- /dev/null
+++ b/www/protected/views/programupdates/_form.php
@@ -0,0 +1,37 @@
+
+
+
\ No newline at end of file
diff --git a/www/protected/views/programupdates/_search.php b/www/protected/views/programupdates/_search.php
new file mode 100644
index 0000000..fef7343
--- /dev/null
+++ b/www/protected/views/programupdates/_search.php
@@ -0,0 +1,26 @@
+
+
+
\ No newline at end of file
diff --git a/www/protected/views/programupdates/_view.php b/www/protected/views/programupdates/_view.php
new file mode 100644
index 0000000..2cc623a
--- /dev/null
+++ b/www/protected/views/programupdates/_view.php
@@ -0,0 +1,21 @@
+
+
+
+
+ getAttributeLabel('Name')); ?>:
+ Name),array('view','id'=>$data->Name)); ?>
+
+
+ getAttributeLabel('Version')); ?>:
+ Version); ?>
+
+
+ getAttributeLabel('Link')); ?>:
+ Link); ?>
+
+
+
+
\ No newline at end of file
diff --git a/www/protected/views/programupdates/admin.php b/www/protected/views/programupdates/admin.php
new file mode 100644
index 0000000..86bb4a0
--- /dev/null
+++ b/www/protected/views/programupdates/admin.php
@@ -0,0 +1,57 @@
+breadcrumbs=array(
+ 'Program Updates'=>array('index'),
+ 'Manage',
+);
+
+$this->menu=array(
+ array('label'=>'List ProgramUpdates', 'url'=>array('index')),
+ array('label'=>'Create ProgramUpdates', 'url'=>array('create')),
+);
+
+Yii::app()->clientScript->registerScript('search', "
+$('.search-button').click(function(){
+ $('.search-form').toggle();
+ return false;
+});
+$('.search-form form').submit(function(){
+ $('#program-updates-grid').yiiGridView('update', {
+ data: $(this).serialize()
+ });
+ return false;
+});
+");
+?>
+
+
Manage Program Updates
+
+
+ You may optionally enter a comparison operator (<, <=, >, >=,
+ <>
+or =) at the beginning of each of your search values to specify how the comparison should be done.
+
+
+'search-button btn')); ?>
+
+renderPartial('_search',array(
+ 'model'=>$model,
+)); ?>
+
+
+widget('bootstrap.widgets.TbGridView',array(
+ 'id'=>'program-updates-grid',
+ 'dataProvider'=>$model->search(),
+ 'filter'=>$model,
+ 'columns'=>array(
+ 'Name',
+ 'Version',
+ 'Link',
+ array(
+ 'class'=>'bootstrap.widgets.TbButtonColumn',
+ ),
+ ),
+)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programupdates/create.php b/www/protected/views/programupdates/create.php
new file mode 100644
index 0000000..3767237
--- /dev/null
+++ b/www/protected/views/programupdates/create.php
@@ -0,0 +1,20 @@
+
+
+breadcrumbs=array(
+ 'Program Updates'=>array('index'),
+ 'Create',
+);
+
+$this->menu=array(
+ array('label'=>'List ProgramUpdates', 'url'=>array('index')),
+ array('label'=>'Manage ProgramUpdates', 'url'=>array('admin')),
+);
+?>
+
+
Create ProgramUpdates
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programupdates/index.php b/www/protected/views/programupdates/index.php
new file mode 100644
index 0000000..8d0095b
--- /dev/null
+++ b/www/protected/views/programupdates/index.php
@@ -0,0 +1,33 @@
+
+
+breadcrumbs=array(
+ 'Program Updates',
+);
+
+$this->menu=array(
+ array('label'=>'Create ProgramUpdates','url'=>array('create')),
+ array('label'=>'Manage ProgramUpdates','url'=>array('admin')),
+);
+?>
+
+
Program Updates
+
+widget('bootstrap.widgets.TbGridView',array(
+ 'type'=>'striped bordered condensed',
+
+ 'dataProvider'=>$dataProvider,
+
+ 'columns'=>array(
+ array(
+ 'name' => 'Name',
+ 'value' => 'CHtml::link($data->Name, Yii::app()->createUrl("/programupdates/view",array("id"=>$data->primaryKey)))',
+ 'type' => 'raw',
+ ),
+ 'Version',
+ 'Link',
+ ),
+)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programupdates/update.php b/www/protected/views/programupdates/update.php
new file mode 100644
index 0000000..cc3338a
--- /dev/null
+++ b/www/protected/views/programupdates/update.php
@@ -0,0 +1,23 @@
+
+
+breadcrumbs=array(
+ 'Program Updates'=>array('index'),
+ $model->Name=>array('view','id'=>$model->Name),
+ 'Update',
+);
+
+$this->menu=array(
+ array('label'=>'List ProgramUpdates', 'url'=>array('index')),
+ array('label'=>'Create ProgramUpdates', 'url'=>array('create')),
+ array('label'=>'View ProgramUpdates', 'url'=>array('view', 'id'=>$model->Name)),
+ array('label'=>'Manage ProgramUpdates', 'url'=>array('admin')),
+);
+?>
+
+
Update ProgramUpdates Name; ?>
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/protected/views/programupdates/view.php b/www/protected/views/programupdates/view.php
new file mode 100644
index 0000000..543de8b
--- /dev/null
+++ b/www/protected/views/programupdates/view.php
@@ -0,0 +1,67 @@
+
+
+breadcrumbs = array(
+ 'Program Updates' => array('index'),
+ $model->Name,
+);
+
+$this->menu = array(
+ array('label' => 'List ProgramUpdates', 'url' => array('index')),
+ array('label' => 'Create ProgramUpdates', 'url' => array('create')),
+ array('label' => 'Update ProgramUpdates', 'url' => array('update', 'id' => $model->Name)),
+ array('label' => 'Delete ProgramUpdates', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->Name), 'confirm' => 'Are you sure you want to delete this item?')),
+ array('label' => 'Manage ProgramUpdates', 'url' => array('admin')),
+);
+?>
+
+
Name; ?>
+
+widget('zii.widgets.CDetailView', array(
+ 'htmlOptions' => array(
+ 'class' => 'table table-striped table-condensed table-hover',
+ ),
+ 'data' => $model,
+ 'attributes' => array(
+ 'Name',
+ 'Version',
+ 'Link',
+ ),
+)); ?>
+
+
Request-Log
+
+widget('bootstrap.widgets.TbGridView', array(
+ 'type' => TbHtml::GRID_TYPE_CONDENSED,
+ 'dataProvider' => new CArrayDataProvider($model->log, ['keyField' => 'ID','Pagination' => ['PageSize' => 100]]),
+
+ 'columns' => array(
+ [
+ 'header' => 'ID',
+ 'value' => '$data->ID',
+ ],
+ [
+ 'header' => 'Programname',
+ 'value' => '$data->programname',
+ ],
+ [
+ 'header' => 'IP',
+ 'value' => '$data->ip',
+ ],
+ [
+ 'header' => 'Version',
+ 'value' => '$data->version',
+ ],
+ [
+ 'header' => 'Date',
+ 'value' => '$data->date',
+ ],
+ ),
+
+ ));
+?>
\ No newline at end of file