Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Backend Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Backend Server
Commits
fa11b12c
Commit
fa11b12c
authored
Jul 20, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unneded deployment buttons
parent
f61015a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
src/Controller/Moderation/SystemController.php
src/Controller/Moderation/SystemController.php
+0
-20
templates/moderation/system/index.html.twig
templates/moderation/system/index.html.twig
+0
-4
No files found.
src/Controller/Moderation/SystemController.php
View file @
fa11b12c
...
@@ -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")
*/
*/
...
...
templates/moderation/system/index.html.twig
View file @
fa11b12c
...
@@ -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
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment