Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
cfae6e89
Commit
cfae6e89
authored
Sep 09, 2018
by
Virgil Grigoras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move update relevant parts to own section
parent
10478594
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
admin.html
cps/templates/admin.html
+9
-4
No files found.
cps/templates/admin.html
View file @
cfae6e89
...
@@ -109,13 +109,18 @@
...
@@ -109,13 +109,18 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<h2>
{{_('Administration')}}
</h2>
<h2>
{{_('Administration')}}
</h2>
<div>
{{_('Current commit timestamp')}}:
<span>
{{commit}}
</span></div>
<div
class=
"hidden"
id=
"update_info"
>
{{_('Newest commit timestamp')}}:
<span></span></div>
<div
class=
"hidden"
id=
"update_error"
>
<span>
{{update_error}}
</span></div>
<p></p>
<div
class=
"btn btn-default"
id=
"restart_database"
>
{{_('Reconnect to Calibre DB')}}
</div>
<div
class=
"btn btn-default"
id=
"restart_database"
>
{{_('Reconnect to Calibre DB')}}
</div>
<div
class=
"btn btn-default"
data-toggle=
"modal"
data-target=
"#RestartDialog"
>
{{_('Restart Calibre-Web')}}
</div>
<div
class=
"btn btn-default"
data-toggle=
"modal"
data-target=
"#RestartDialog"
>
{{_('Restart Calibre-Web')}}
</div>
<div
class=
"btn btn-default"
data-toggle=
"modal"
data-target=
"#ShutdownDialog"
>
{{_('Stop Calibre-Web')}}
</div>
<div
class=
"btn btn-default"
data-toggle=
"modal"
data-target=
"#ShutdownDialog"
>
{{_('Stop Calibre-Web')}}
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
<h2>
{{_('Update')}}
</h2>
<div>
{{_('Current commit timestamp')}}:
<span>
{{commit}}
</span></div>
<div
class=
"hidden"
id=
"update_info"
>
{{_('Newest commit timestamp')}}:
<span></span></div>
<div
class=
"hidden"
id=
"update_error"
>
<span>
{{update_error}}
</span></div>
<div
class=
"btn btn-default"
id=
"check_for_update"
>
{{_('Check for update')}}
</div>
<div
class=
"btn btn-default"
id=
"check_for_update"
>
{{_('Check for update')}}
</div>
<div
class=
"btn btn-default hidden"
id=
"perform_update"
data-toggle=
"modal"
data-target=
"#UpdateprogressDialog"
>
{{_('Perform Update')}}
</div>
<div
class=
"btn btn-default hidden"
id=
"perform_update"
data-toggle=
"modal"
data-target=
"#UpdateprogressDialog"
>
{{_('Perform Update')}}
</div>
</div>
</div>
...
...
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