Commit fa11b12c authored by SpinShare's avatar SpinShare

removed unneded deployment buttons

parent f61015a2
...@@ -29,26 +29,6 @@ class SystemController extends AbstractController ...@@ -29,26 +29,6 @@ class SystemController extends AbstractController
return $this->render('moderation/system/index.html.twig', $data); return $this->render('moderation/system/index.html.twig', $data);
} }
/**
* @Route("/moderation/system/deploy", name="moderation.system.deploy")
*/
public function systemDeploy(Request $request)
{
shell_exec("bash /var/www/spinshare/pull-volatile.sh");
return $this->redirectToRoute('moderation.system.index');
}
/**
* @Route("/moderation/system/rollback", name="moderation.system.rollback")
*/
public function systemRollback(Request $request)
{
shell_exec("dep rollback");
return $this->redirectToRoute('moderation.system.index');
}
/** /**
* @Route("/moderation/system/cleanup/temp", name="moderation.system.cleanup.temp") * @Route("/moderation/system/cleanup/temp", name="moderation.system.cleanup.temp")
*/ */
......
...@@ -8,10 +8,6 @@ ...@@ -8,10 +8,6 @@
<div class="flashbang flashbang-error">{{ app.session.flashbag.get('message') }}</div> <div class="flashbang flashbang-error">{{ app.session.flashbag.get('message') }}</div>
{% endif %} {% endif %}
<div class="box">
<a href="{{ path('moderation.system.deploy') }}" class="button">Deploy</a> <a href="{{ path('moderation.system.rollback') }}" class="button">Rollback</a>
</div>
<div class="box"> <div class="box">
Generate On All Songs Actions<br /><strong>(ATTENTION: They can take a while!)</strong><br /><br /> Generate On All Songs Actions<br /><strong>(ATTENTION: They can take a while!)</strong><br /><br />
<a href="{{ path('moderation.system.generate.thumbnails') }}" class="button">Generate Thumbnails</a> <a href="{{ path('moderation.system.generate.thumbnails-missing') }}" class="button">Generate Missing Thumbnails</a><br /><br /> <a href="{{ path('moderation.system.generate.thumbnails') }}" class="button">Generate Thumbnails</a> <a href="{{ path('moderation.system.generate.thumbnails-missing') }}" class="button">Generate Missing Thumbnails</a><br /><br />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment