Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kulya
OpnSense
Commits
7d8bb80f
Commit
7d8bb80f
authored
Aug 09, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firmware: improve various other strings
parent
16dd8aca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
firmware.volt
src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt
+3
-3
system_information.widget.php
src/www/widgets/widgets/system_information.widget.php
+1
-1
No files found.
src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt
View file @
7d8bb80f
...
...
@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
$('#updatelist').empty();
$('#maintabs li:eq(1) a').tab('show');
$("#checkupdate_progress").addClass("fa fa-spinner fa-pulse");
$('#updatestatus').html("{{ lang._('
Updating.
... (may take up to 30 seconds)') }}");
$('#updatestatus').html("{{ lang._('
Fetching
... (may take up to 30 seconds)') }}");
// request status
ajaxGet('/api/core/firmware/status',{},function(data,status){
...
...
@@ -82,7 +82,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/
function upgrade(){
$('#maintabs li:eq(2) a').tab('show');
$('#updatestatus').html("{{ lang._('
Running upgrade. Please do not leave this page while upgrade is in progress.
') }}");
$('#updatestatus').html("{{ lang._('
Upgrading... (do not leave this page while upgrade is in progress)
') }}");
$("#upgrade_progress").addClass("fa fa-spinner fa-pulse");
ajaxCall('/api/core/firmware/upgrade',{upgrade:$.upgrade_action},function() {
...
...
@@ -203,7 +203,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div class="alert alert-info" role="alert" style="min-height: 65px;">
<button class='btn btn-primary pull-right' id="upgrade" style="display:none"><i id="upgrade_progress" class=""></i> {{ lang._('Upgrade now') }}</button>
<button class='btn btn-default pull-right' id="checkupdate" style="margin-right: 8px;"><i id="checkupdate_progress" class=""></i> {{ lang._('Fetch updates')}}</button>
<div style="margin-top: 8px;" id="updatestatus">{{ lang._('Click to check for updates')}}</div>
<div style="margin-top: 8px;" id="updatestatus">{{ lang._('Click to check for updates
.
')}}</div>
</div>
</div>
<div class="row">
...
...
src/www/widgets/widgets/system_information.widget.php
View file @
7d8bb80f
...
...
@@ -287,7 +287,7 @@ endforeach; ?>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
function
checkupdate
()
{
jQuery
(
'
#updatestatus
'
).
html
(
'
<span class="text-info">
Updating.
... (may take up to 30 seconds)</span>
'
);
jQuery
(
'
#updatestatus
'
).
html
(
'
<span class="text-info">
Fetching
... (may take up to 30 seconds)</span>
'
);
jQuery
.
ajax
({
type
:
"
POST
"
,
url
:
'
/widgets/widgets/system_information.widget.php
'
,
...
...
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