From ebefdf888a6674fcb023eea40db606a9d51d792e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 29 Sep 2014 17:04:12 +0200 Subject: [PATCH] Fixed Filesystem Uppercase (for *-nix systems) [2] --- www/protected/views/eulerproblem/_form.php | 57 ----------------- www/protected/views/eulerproblem/_search.php | 41 ------------ www/protected/views/eulerproblem/_view.php | 55 ---------------- www/protected/views/eulerproblem/admin.php | 64 ------------------- www/protected/views/eulerproblem/create.php | 20 ------ www/protected/views/eulerproblem/index.php | 35 ---------- www/protected/views/eulerproblem/update.php | 23 ------- www/protected/views/eulerproblem/view.php | 38 ----------- .../{eulerProblem => eulerproblem_}/_form.php | 0 .../_search.php | 0 .../{eulerProblem => eulerproblem_}/_view.php | 0 .../{eulerProblem => eulerproblem_}/admin.php | 0 .../create.php | 0 .../{eulerProblem => eulerproblem_}/index.php | 0 .../update.php | 0 .../{eulerProblem => eulerproblem_}/view.php | 0 16 files changed, 333 deletions(-) delete mode 100644 www/protected/views/eulerproblem/_form.php delete mode 100644 www/protected/views/eulerproblem/_search.php delete mode 100644 www/protected/views/eulerproblem/_view.php delete mode 100644 www/protected/views/eulerproblem/admin.php delete mode 100644 www/protected/views/eulerproblem/create.php delete mode 100644 www/protected/views/eulerproblem/index.php delete mode 100644 www/protected/views/eulerproblem/update.php delete mode 100644 www/protected/views/eulerproblem/view.php rename www/protected/views/{eulerProblem => eulerproblem_}/_form.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/_search.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/_view.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/admin.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/create.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/index.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/update.php (100%) rename www/protected/views/{eulerProblem => eulerproblem_}/view.php (100%) diff --git a/www/protected/views/eulerproblem/_form.php b/www/protected/views/eulerproblem/_form.php deleted file mode 100644 index 99350b0..0000000 --- a/www/protected/views/eulerproblem/_form.php +++ /dev/null @@ -1,57 +0,0 @@ - - -
- - beginWidget('bootstrap.widgets.TbActiveForm', array( - 'id'=>'euler-problem-form', - // Please note: When you enable ajax validation, make sure the corresponding - // controller action is handling ajax validation correctly. - // There is a call to performAjaxValidation() commented in generated controller code. - // See class documentation of CActiveForm for details on this. - 'enableAjaxValidation'=>false, -)); ?> - -

Fields with * are required.

- - errorSummary($model); ?> - - textFieldControlGroup($model,'Problemnumber',array('span'=>8)); ?> - - textFieldControlGroup($model,'Problemtitle',array('span'=>5,'maxlength'=>50)); ?> - - textAreaControlGroup($model,'Problemdescription',array('rows'=>6,'span'=>8)); ?> - - textAreaControlGroup($model,'Code',array('rows'=>6,'span'=>8)); ?> - - textAreaControlGroup($model,'Explanation',array('rows'=>6,'span'=>8)); ?> - - isNewRecord) - echo $form->textFieldControlGroup($model,'AbbreviatedCode',array('span'=>5, 'value' => '0')); - else - echo $form->textFieldControlGroup($model,'AbbreviatedCode',array('span'=>5)); - ?> - - textFieldControlGroup($model,'SolutionSteps',array('span'=>5,'maxlength'=>20)); ?> - - textFieldControlGroup($model,'SolutionTime',array('span'=>5,'maxlength'=>20)); ?> - - textFieldControlGroup($model,'SolutionWidth',array('span'=>5)); ?> - textFieldControlGroup($model,'SolutionHeight',array('span'=>5)); ?> - - textFieldControlGroup($model,'SolutionValue',array('span'=>5,'maxlength'=>20)); ?> - -
- isNewRecord ? 'Create' : 'Save',array( - 'color'=>TbHtml::BUTTON_COLOR_PRIMARY, - 'size'=>TbHtml::BUTTON_SIZE_LARGE, - )); ?> -
- - endWidget(); ?> - -
\ No newline at end of file diff --git a/www/protected/views/eulerproblem/_search.php b/www/protected/views/eulerproblem/_search.php deleted file mode 100644 index b93f60b..0000000 --- a/www/protected/views/eulerproblem/_search.php +++ /dev/null @@ -1,41 +0,0 @@ - - -
- - beginWidget('bootstrap.widgets.TbActiveForm', array( - 'action'=>Yii::app()->createUrl($this->route), - 'method'=>'get', -)); ?> - - textFieldControlGroup($model,'Problemnumber',array('span'=>5)); ?> - - textFieldControlGroup($model,'Problemtitle',array('span'=>5,'maxlength'=>50)); ?> - - textAreaControlGroup($model,'Problemdescription',array('rows'=>6,'span'=>8)); ?> - - textAreaControlGroup($model,'Code',array('rows'=>6,'span'=>8)); ?> - - textAreaControlGroup($model,'Explanation',array('rows'=>6,'span'=>8)); ?> - - textFieldControlGroup($model,'AbbreviatedCode',array('span'=>5)); ?> - - textFieldControlGroup($model,'SolutionSteps',array('span'=>5,'maxlength'=>20)); ?> - - textFieldControlGroup($model,'SolutionTime',array('span'=>5,'maxlength'=>20)); ?> - - textFieldControlGroup($model,'SolutionWidth',array('span'=>5)); ?> - textFieldControlGroup($model,'SolutionHeight',array('span'=>5)); ?> - - textFieldControlGroup($model,'SolutionValue',array('span'=>5,'maxlength'=>20)); ?> - -
- TbHtml::BUTTON_COLOR_PRIMARY,));?> -
- - endWidget(); ?> - -
\ No newline at end of file diff --git a/www/protected/views/eulerproblem/_view.php b/www/protected/views/eulerproblem/_view.php deleted file mode 100644 index 0965977..0000000 --- a/www/protected/views/eulerproblem/_view.php +++ /dev/null @@ -1,55 +0,0 @@ - - -
- - getAttributeLabel('Problemnumber')); ?>: - Problemnumber),array('view','id'=>$data->Problemnumber)); ?> -
- - getAttributeLabel('Problemtitle')); ?>: - Problemtitle)); ?> -
- - getAttributeLabel('Problemdescription')); ?>: - Problemdescription); ?> -
- - getAttributeLabel('Code')); ?>: - Code); ?> -
- - getAttributeLabel('Explanation')); ?>: - Explanation); ?> -
- - getAttributeLabel('AbbreviatedCode')); ?>: - AbbreviatedCode); ?> -
- - getAttributeLabel('SolutionSteps')); ?>: - SolutionSteps); ?> -
- - getAttributeLabel('SolutionWidth')); ?>: - SolutionTime); ?> -
- - getAttributeLabel('SolutionHeight')); ?>: - SolutionTime); ?> -
- - getAttributeLabel('SolutionTime')); ?>: - SolutionTime); ?> -
- - getAttributeLabel('SolutionValue')); ?>: - SolutionValue); ?> -
- - */ ?> - -
\ No newline at end of file diff --git a/www/protected/views/eulerproblem/admin.php b/www/protected/views/eulerproblem/admin.php deleted file mode 100644 index 5859edc..0000000 --- a/www/protected/views/eulerproblem/admin.php +++ /dev/null @@ -1,64 +0,0 @@ -breadcrumbs=array( - 'Euler Problems'=>array('index'), - 'Manage', -); - -$this->menu=array( - array('label'=>'List EulerProblem', 'url'=>array('index')), - array('label'=>'Create EulerProblem', 'url'=>array('create')), -); - -Yii::app()->clientScript->registerScript('search', " -$('.search-button').click(function(){ - $('.search-form').toggle(); - return false; -}); -$('.search-form form').submit(function(){ - $('#euler-problem-grid').yiiGridView('update', { - data: $(this).serialize() - }); - return false; -}); -"); -?> - -

Manage Euler Problems

- -

- 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')); ?> - - -widget('bootstrap.widgets.TbGridView',array( - 'id'=>'euler-problem-grid', - 'dataProvider'=>$model->search(), - 'filter'=>$model, - 'columns'=>array( - 'Problemnumber', - 'Problemdescription', - 'Code', - 'Explanation', - 'AbbreviatedCode', - 'SolutionSteps', - /* - 'SolutionTime', - 'SolutionValue', - */ - array( - 'class'=>'bootstrap.widgets.TbButtonColumn', - ), - ), -)); ?> \ No newline at end of file diff --git a/www/protected/views/eulerproblem/create.php b/www/protected/views/eulerproblem/create.php deleted file mode 100644 index e6a20f2..0000000 --- a/www/protected/views/eulerproblem/create.php +++ /dev/null @@ -1,20 +0,0 @@ - - -breadcrumbs=array( - 'Euler Problems'=>array('index'), - 'Create', -); - -$this->menu=array( - array('label'=>'List EulerProblem', 'url'=>array('index')), - array('label'=>'Manage EulerProblem', 'url'=>array('admin')), -); -?> - -

Create EulerProblem

- -renderPartial('_form', array('model'=>$model)); ?> \ No newline at end of file diff --git a/www/protected/views/eulerproblem/index.php b/www/protected/views/eulerproblem/index.php deleted file mode 100644 index 2d9b871..0000000 --- a/www/protected/views/eulerproblem/index.php +++ /dev/null @@ -1,35 +0,0 @@ - - -breadcrumbs=array( - 'Euler Problems', -); - -$this->menu=array( - array('label'=>'Create EulerProblem','url'=>array('create')), - array('label'=>'Manage EulerProblem','url'=>array('admin')), -); -?> - -

Euler Problems

- -widget('bootstrap.widgets.TbGridView',array( - 'type'=>'striped bordered condensed', - - 'dataProvider'=>$dataProvider, - - 'columns'=>array( - 'Problemnumber', - 'Problemtitle', - 'Problemdescription', - 'AbbreviatedCode', - 'SolutionWidth', - 'SolutionHeight', - 'SolutionSteps', - 'SolutionTime', - 'SolutionValue', - ), -)); ?> \ No newline at end of file diff --git a/www/protected/views/eulerproblem/update.php b/www/protected/views/eulerproblem/update.php deleted file mode 100644 index b7ccbbf..0000000 --- a/www/protected/views/eulerproblem/update.php +++ /dev/null @@ -1,23 +0,0 @@ - - -breadcrumbs=array( - 'Euler Problems'=>array('index'), - '#' . $model->Problemnumber=>array('view','id'=>$model->Problemnumber), - 'Update', -); - -$this->menu=array( - array('label'=>'List EulerProblem', 'url'=>array('index')), - array('label'=>'Create EulerProblem', 'url'=>array('create')), - array('label'=>'View EulerProblem', 'url'=>array('view', 'id'=>$model->Problemnumber)), - array('label'=>'Manage EulerProblem', 'url'=>array('admin')), -); -?> - -

Update EulerProblem Problemnumber; ?>

- -renderPartial('_form', array('model'=>$model)); ?> \ No newline at end of file diff --git a/www/protected/views/eulerproblem/view.php b/www/protected/views/eulerproblem/view.php deleted file mode 100644 index 37c4dc7..0000000 --- a/www/protected/views/eulerproblem/view.php +++ /dev/null @@ -1,38 +0,0 @@ - - -breadcrumbs=array( - 'Euler Problems'=>array('index'), - '#' . $model->Problemnumber, -); - -$this->menu=array( - array('label'=>'List EulerProblem', 'url'=>array('index')), - array('label'=>'Create EulerProblem', 'url'=>array('create')), - array('label'=>'Update EulerProblem', 'url'=>array('update', 'id'=>$model->Problemnumber)), - array('label'=>'Delete EulerProblem', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->Problemnumber),'confirm'=>'Are you sure you want to delete this item?')), - array('label'=>'Manage EulerProblem', 'url'=>array('admin')), -); -?> - -

View EulerProblem #Problemnumber; ?>

- -widget('zii.widgets.CDetailView',array( - 'htmlOptions' => array( - 'class' => 'table table-striped table-condensed table-hover', - ), - 'data'=>$model, - 'attributes'=>array( - 'Problemnumber', - 'Problemdescription', - 'Code', - 'Explanation', - 'AbbreviatedCode', - 'SolutionSteps', - 'SolutionTime', - 'SolutionValue', - ), -)); ?> \ No newline at end of file diff --git a/www/protected/views/eulerProblem/_form.php b/www/protected/views/eulerproblem_/_form.php similarity index 100% rename from www/protected/views/eulerProblem/_form.php rename to www/protected/views/eulerproblem_/_form.php diff --git a/www/protected/views/eulerProblem/_search.php b/www/protected/views/eulerproblem_/_search.php similarity index 100% rename from www/protected/views/eulerProblem/_search.php rename to www/protected/views/eulerproblem_/_search.php diff --git a/www/protected/views/eulerProblem/_view.php b/www/protected/views/eulerproblem_/_view.php similarity index 100% rename from www/protected/views/eulerProblem/_view.php rename to www/protected/views/eulerproblem_/_view.php diff --git a/www/protected/views/eulerProblem/admin.php b/www/protected/views/eulerproblem_/admin.php similarity index 100% rename from www/protected/views/eulerProblem/admin.php rename to www/protected/views/eulerproblem_/admin.php diff --git a/www/protected/views/eulerProblem/create.php b/www/protected/views/eulerproblem_/create.php similarity index 100% rename from www/protected/views/eulerProblem/create.php rename to www/protected/views/eulerproblem_/create.php diff --git a/www/protected/views/eulerProblem/index.php b/www/protected/views/eulerproblem_/index.php similarity index 100% rename from www/protected/views/eulerProblem/index.php rename to www/protected/views/eulerproblem_/index.php diff --git a/www/protected/views/eulerProblem/update.php b/www/protected/views/eulerproblem_/update.php similarity index 100% rename from www/protected/views/eulerProblem/update.php rename to www/protected/views/eulerproblem_/update.php diff --git a/www/protected/views/eulerProblem/view.php b/www/protected/views/eulerproblem_/view.php similarity index 100% rename from www/protected/views/eulerProblem/view.php rename to www/protected/views/eulerproblem_/view.php