Skip to content

Commit 4880dda

Browse files
committed
Moves form templates up one level; Renamed Vagrantfile* templates Vagrantfile; puphpet#1227
1 parent ffa8460 commit 4880dda

File tree

81 files changed

+64
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+64
-64
lines changed

src/Puphpet/Extension/ApacheBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionApacheBundle:form:Apache.html.twig', [
13+
return $this->render('PuphpetExtensionApacheBundle::form.html.twig', [
1414
'apache' => $data,
1515
]);
1616
}
1717

1818
public function vhostAction()
1919
{
20-
return $this->render('PuphpetExtensionApacheBundle:form/sections:vhost.html.twig', [
20+
return $this->render('PuphpetExtensionApacheBundle:sections:vhost.html.twig', [
2121
'vhost' => $this->getData()['empty_vhost'],
2222
'available_engines' => $this->getData()['available_engines'],
2323
]);

src/Puphpet/Extension/ApacheBundle/Resources/views/form/Apache.html.twig renamed to src/Puphpet/Extension/ApacheBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</div>
5555

5656
{% for vhost in apache.vhosts %}
57-
{% include 'PuphpetExtensionApacheBundle:form/sections:vhost.html.twig' with {'vhost': vhost, 'available_engines': apache.available_engines} %}
57+
{% include 'PuphpetExtensionApacheBundle:sections:vhost.html.twig' with {'vhost': vhost, 'available_engines': apache.available_engines} %}
5858
{% endfor %}
5959

6060
<div class="row">

src/Puphpet/Extension/BeanstalkdBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionBeanstalkdBundle:form:Beanstalkd.html.twig', [
13+
return $this->render('PuphpetExtensionBeanstalkdBundle::form.html.twig', [
1414
'beanstalkd' => $data,
1515
]);
1616
}

src/Puphpet/Extension/DrushBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionDrushBundle:form:Drush.html.twig', [
13+
return $this->render('PuphpetExtensionDrushBundle::form.html.twig', [
1414
'drush' => $data,
1515
]);
1616
}

src/Puphpet/Extension/ElasticSearchBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionElasticSearchBundle:form:ElasticSearch.html.twig', [
13+
return $this->render('PuphpetExtensionElasticSearchBundle::form.html.twig', [
1414
'elastic_search' => $data,
1515
]);
1616
}

src/Puphpet/Extension/FirewallBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionFirewallBundle:form:Firewall.html.twig', [
13+
return $this->render('PuphpetExtensionFirewallBundle::form.html.twig', [
1414
'firewall' => $data,
1515
'extra' => $extra,
1616
]);
@@ -21,7 +21,7 @@ public function ruleAction()
2121
$config = $this->get('puphpet.extension.firewall.configure');
2222
$data = $config->getData();
2323

24-
return $this->render('PuphpetExtensionFirewallBundle:form/sections:Rule.html.twig', [
24+
return $this->render('PuphpetExtensionFirewallBundle:sections:Rule.html.twig', [
2525
'rule' => $data['empty_rule'],
2626
]);
2727
}

src/Puphpet/Extension/FirewallBundle/Resources/views/form/Firewall.html.twig renamed to src/Puphpet/Extension/FirewallBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<input type="hidden" id="firewall-install" name="firewall[install]" value="1" />
2323

2424
{% for rule in firewall.rules %}
25-
{% include 'PuphpetExtensionFirewallBundle:form/sections:Rule.html.twig' with {'rule': rule} %}
25+
{% include 'PuphpetExtensionFirewallBundle:sections:Rule.html.twig' with {'rule': rule} %}
2626
{% endfor %}
2727

2828
<div class="row">

src/Puphpet/Extension/HhvmBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionHhvmBundle:form:Hhvm.html.twig', [
13+
return $this->render('PuphpetExtensionHhvmBundle::form.html.twig', [
1414
'hhvm' => $data,
1515
]);
1616
}

src/Puphpet/Extension/MailCatcherBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionMailCatcherBundle:form:MailCatcher.html.twig', [
13+
return $this->render('PuphpetExtensionMailCatcherBundle::form.html.twig', [
1414
'mailcatcher' => $data,
1515
]);
1616
}

src/Puphpet/Extension/MariaDbBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionMariaDbBundle:form:MariaDb.html.twig', [
13+
return $this->render('PuphpetExtensionMariaDbBundle::form.html.twig', [
1414
'mariadb' => $data,
1515
]);
1616
}
1717

1818
public function addDatabaseAction()
1919
{
20-
return $this->render('PuphpetExtensionMariaDbBundle:form/sections:NewUserAndDatabase.html.twig', [
20+
return $this->render('PuphpetExtensionMariaDbBundle:sections:NewUserAndDatabase.html.twig', [
2121
'available_privileges' => $this->getData()['available_privileges'],
2222
'database' => $this->getData()['empty_database'],
2323
]);

src/Puphpet/Extension/MariaDbBundle/Resources/views/form/MariaDb.html.twig renamed to src/Puphpet/Extension/MariaDbBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</div>
100100

101101
{% for database in mariadb.databases %}
102-
{% include 'PuphpetExtensionMariaDbBundle:form/sections:NewUserAndDatabase.html.twig'
102+
{% include 'PuphpetExtensionMariaDbBundle:sections:NewUserAndDatabase.html.twig'
103103
with {'available_privileges': mariadb.available_privileges, 'database': database} %}
104104
{% endfor %}
105105

src/Puphpet/Extension/MongoDbBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionMongoDbBundle:form:MongoDb.html.twig', [
13+
return $this->render('PuphpetExtensionMongoDbBundle::form.html.twig', [
1414
'mongodb' => $data,
1515
]);
1616
}
1717

1818
public function addDatabaseAction()
1919
{
20-
return $this->render('PuphpetExtensionMongoDbBundle:form/sections:NewUserAndDatabase.html.twig', [
20+
return $this->render('PuphpetExtensionMongoDbBundle:sections:NewUserAndDatabase.html.twig', [
2121
'database' => $this->getData()['empty_database'],
2222
]);
2323
}

src/Puphpet/Extension/MongoDbBundle/Resources/views/form/MongoDb.html.twig renamed to src/Puphpet/Extension/MongoDbBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</div>
3939

4040
{% for database in mongodb.databases %}
41-
{% include 'PuphpetExtensionMongoDbBundle:form/sections:NewUserAndDatabase.html.twig'
41+
{% include 'PuphpetExtensionMongoDbBundle:sections:NewUserAndDatabase.html.twig'
4242
with {'database': database} %}
4343
{% endfor %}
4444

src/Puphpet/Extension/MysqlBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionMysqlBundle:form:Mysql.html.twig', [
13+
return $this->render('PuphpetExtensionMysqlBundle::form.html.twig', [
1414
'mysql' => $data,
1515
]);
1616
}
1717

1818
public function addDatabaseAction()
1919
{
20-
return $this->render('PuphpetExtensionMysqlBundle:form/sections:NewUserAndDatabase.html.twig', [
20+
return $this->render('PuphpetExtensionMysqlBundle:sections:NewUserAndDatabase.html.twig', [
2121
'available_privileges' => $this->getData()['available_privileges'],
2222
'database' => $this->getData()['empty_database'],
2323
]);

src/Puphpet/Extension/MysqlBundle/Resources/views/form/Mysql.html.twig renamed to src/Puphpet/Extension/MysqlBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
</div>
8787

8888
{% for database in mysql.databases %}
89-
{% include 'PuphpetExtensionMysqlBundle:form/sections:NewUserAndDatabase.html.twig'
89+
{% include 'PuphpetExtensionMysqlBundle:sections:NewUserAndDatabase.html.twig'
9090
with {'available_privileges': mysql.available_privileges, 'database': database} %}
9191
{% endfor %}
9292

src/Puphpet/Extension/NginxBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionNginxBundle:form:Nginx.html.twig', [
13+
return $this->render('PuphpetExtensionNginxBundle::form.html.twig', [
1414
'nginx' => $data,
1515
]);
1616
}
1717

1818
public function vhostAction()
1919
{
20-
return $this->render('PuphpetExtensionNginxBundle:form/sections:vhost.html.twig', [
20+
return $this->render('PuphpetExtensionNginxBundle:sections:vhost.html.twig', [
2121
'vhost' => $this->getData()['empty_vhost'],
2222
'available_engines' => $this->getData()['available_engines'],
2323
]);

src/Puphpet/Extension/NginxBundle/Resources/views/form/Nginx.html.twig renamed to src/Puphpet/Extension/NginxBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</div>
5555

5656
{% for vhost in nginx.vhosts %}
57-
{% include 'PuphpetExtensionNginxBundle:form/sections:vhost.html.twig' with {'vhost': vhost, 'available_engines': nginx.available_engines} %}
57+
{% include 'PuphpetExtensionNginxBundle:sections:vhost.html.twig' with {'vhost': vhost, 'available_engines': nginx.available_engines} %}
5858
{% endfor %}
5959

6060
<div class="row">

src/Puphpet/Extension/NodeJsBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionNodeJsBundle:form:NodeJs.html.twig', [
13+
return $this->render('PuphpetExtensionNodeJsBundle::form.html.twig', [
1414
'nodejs' => $data,
1515
'extra' => $extra,
1616
]);

src/Puphpet/Extension/PhpBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionPhpBundle:form:Php.html.twig', [
13+
return $this->render('PuphpetExtensionPhpBundle::form.html.twig', [
1414
'php' => $data,
1515
'extra' => $extra,
1616
]);

src/Puphpet/Extension/PostgresqlBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionPostgresqlBundle:form:Postgresql.html.twig', [
13+
return $this->render('PuphpetExtensionPostgresqlBundle::form.html.twig', [
1414
'postgresql' => $data,
1515
]);
1616
}
1717

1818
public function addDatabaseAction()
1919
{
20-
return $this->render('PuphpetExtensionPostgresqlBundle:form/sections:NewUserAndDatabase.html.twig', [
20+
return $this->render('PuphpetExtensionPostgresqlBundle:sections:NewUserAndDatabase.html.twig', [
2121
'available_privileges' => $this->getData()['available_privileges'],
2222
'database' => $this->getData()['empty_database'],
2323
]);

src/Puphpet/Extension/PostgresqlBundle/Resources/views/form/Postgresql.html.twig renamed to src/Puphpet/Extension/PostgresqlBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
</div>
8383

8484
{% for database in postgresql.databases %}
85-
{% include 'PuphpetExtensionPostgresqlBundle:form/sections:NewUserAndDatabase.html.twig'
85+
{% include 'PuphpetExtensionPostgresqlBundle:sections:NewUserAndDatabase.html.twig'
8686
with {'available_privileges': postgresql.available_privileges, 'database': database} %}
8787
{% endfor %}
8888

src/Puphpet/Extension/PythonBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionPythonBundle:form:Python.html.twig', [
13+
return $this->render('PuphpetExtensionPythonBundle::form.html.twig', [
1414
'python' => $data,
1515
'extra' => $extra,
1616
]);
1717
}
1818

1919
public function addVersionAction()
2020
{
21-
return $this->render('PuphpetExtensionPythonBundle:form/sections:Version.html.twig', [
21+
return $this->render('PuphpetExtensionPythonBundle:sections:Version.html.twig', [
2222
'selected_version' => $this->getData()['empty_version'],
2323
'available_versions' => $this->getData()['available_versions'],
2424
]);

src/Puphpet/Extension/PythonBundle/Resources/views/form/Python.html.twig renamed to src/Puphpet/Extension/PythonBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</div>
5151

5252
{% for selected_version in python.versions %}
53-
{% include 'PuphpetExtensionPythonBundle:form/sections:Version.html.twig'
53+
{% include 'PuphpetExtensionPythonBundle:sections:Version.html.twig'
5454
with {'available_versions': python.available_versions, 'selected_version': selected_version} %}
5555
{% endfor %}
5656

src/Puphpet/Extension/RabbitMQBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionRabbitMQBundle:form:RabbitMQ.html.twig', [
13+
return $this->render('PuphpetExtensionRabbitMQBundle::form.html.twig', [
1414
'rabbitmq' => $data,
1515
]);
1616
}

src/Puphpet/Extension/RedisBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionRedisBundle:form:Redis.html.twig', [
13+
return $this->render('PuphpetExtensionRedisBundle::form.html.twig', [
1414
'redis' => $data,
1515
]);
1616
}

src/Puphpet/Extension/RubyBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionRubyBundle:form:Ruby.html.twig', [
13+
return $this->render('PuphpetExtensionRubyBundle::form.html.twig', [
1414
'ruby' => $data,
1515
'extra' => $extra,
1616
]);
1717
}
1818

1919
public function addVersionAction()
2020
{
21-
return $this->render('PuphpetExtensionRubyBundle:form/sections:Version.html.twig', [
21+
return $this->render('PuphpetExtensionRubyBundle:sections:Version.html.twig', [
2222
'selected_version' => $this->getData()['empty_version'],
2323
'available_versions' => $this->getData()['available_versions'],
2424
]);

src/Puphpet/Extension/RubyBundle/Resources/views/form/Ruby.html.twig renamed to src/Puphpet/Extension/RubyBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525

2626
{% for selected_version in ruby.versions %}
27-
{% include 'PuphpetExtensionRubyBundle:form/sections:Version.html.twig'
27+
{% include 'PuphpetExtensionRubyBundle:sections:Version.html.twig'
2828
with {'available_versions': ruby.available_versions, 'selected_version': selected_version} %}
2929
{% endfor %}
3030

src/Puphpet/Extension/ServerBundle/Controller/FrontController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionServerBundle:form:Server.html.twig', [
13+
return $this->render('PuphpetExtensionServerBundle::form.html.twig', [
1414
'server' => $data,
1515
'extra' => $extra,
1616
]);

src/Puphpet/Extension/SqliteBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionSqliteBundle:form:Sqlite.html.twig', [
13+
return $this->render('PuphpetExtensionSqliteBundle::form.html.twig', [
1414
'sqlite' => $data,
1515
]);
1616
}
1717

1818
public function addDatabaseAction()
1919
{
20-
return $this->render('PuphpetExtensionSqliteBundle:form/sections:OwnerAndDatabase.html.twig', [
20+
return $this->render('PuphpetExtensionSqliteBundle:sections:OwnerAndDatabase.html.twig', [
2121
'database' => $this->getData()['empty_database'],
2222
]);
2323
}

src/Puphpet/Extension/SqliteBundle/Resources/views/form/Sqlite.html.twig renamed to src/Puphpet/Extension/SqliteBundle/Resources/views/form.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</div>
5555

5656
{% for database in sqlite.databases %}
57-
{% include 'PuphpetExtensionSqliteBundle:form/sections:OwnerAndDatabase.html.twig'
57+
{% include 'PuphpetExtensionSqliteBundle:sections:OwnerAndDatabase.html.twig'
5858
with {'available_privileges': sqlite.available_privileges, 'database': database} %}
5959
{% endfor %}
6060

src/Puphpet/Extension/VagrantfileAwsBundle/Controller/FrontController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class FrontController extends Controller implements Extension\ControllerInterfac
1010
{
1111
public function indexAction(array $data, $extra = '')
1212
{
13-
return $this->render('PuphpetExtensionVagrantfileAwsBundle:form:VagrantfileAws.html.twig', [
13+
return $this->render('PuphpetExtensionVagrantfileAwsBundle::form.html.twig', [
1414
'data' => $data,
1515
]);
1616
}
1717

1818
public function syncedFolderAction()
1919
{
20-
return $this->render('PuphpetExtensionVagrantfileAwsBundle:form/sections:SyncedFolder.html.twig', [
20+
return $this->render('PuphpetExtensionVagrantfileAwsBundle:sections:SyncedFolder.html.twig', [
2121
'synced_folder' => $this->getData()['empty_synced_folder'],
2222
]);
2323
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="row">
88
<div class="col-xs-12">
99
<div class="panel panel-default">
10-
{% include 'PuphpetExtensionVagrantfileAwsBundle:form/sections:Instructions.html.twig' %}
10+
{% include 'PuphpetExtensionVagrantfileAwsBundle:sections:Instructions.html.twig' %}
1111

1212
<div class="panel-heading">
1313
<h3 class="panel-title">AWS EC2 Instance Details</h3>
@@ -148,7 +148,7 @@
148148
</div>
149149

150150
{% for synced_folder in data.vm.synced_folder %}
151-
{% include 'PuphpetExtensionVagrantfileAwsBundle:form/sections:SyncedFolder.html.twig' with {'synced_folder': synced_folder} %}
151+
{% include 'PuphpetExtensionVagrantfileAwsBundle:sections:SyncedFolder.html.twig' with {'synced_folder': synced_folder} %}
152152
{% endfor %}
153153

154154
<div class="row">

0 commit comments

Comments
 (0)