Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
27e68964
Unverified
Commit
27e68964
authored
6 years ago
by
John Molakvoæ
Browse files
Options
Downloads
Patches
Plain Diff
Indent fix and copy2
Signed-off-by:
John Molakvoæ (skjnldsv)
<
skjnldsv@protonmail.com
>
parent
62667914
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
settings/src/router.js
+1
-1
1 addition, 1 deletion
settings/src/router.js
settings/templates/settings-vue.php
+16
-9
16 additions, 9 deletions
settings/templates/settings-vue.php
with
17 additions
and
10 deletions
settings/src/router.js
+
1
−
1
View file @
27e68964
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
*
*
*/
*/
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
Router
from
'
vue-router
'
;
import
Router
from
'
vue-router
'
;
import
Users
from
'
./views/Users
'
;
import
Users
from
'
./views/Users
'
;
import
Apps
from
'
./views/Apps
'
;
import
Apps
from
'
./views/Apps
'
;
...
...
This diff is collapsed.
Click to expand it.
settings/templates/settings-vue.php
+
16
−
9
View file @
27e68964
<?php
<?php
/**
/**
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
*
* @license GNU AGPL version 3 or any later version
* @license GNU AGPL version 3 or any later version
*
*
* This is the default empty template to load Vue!
* This program is free software: you can redistribute it and/or modify
* Do your cbackend computations into a php files
* it under the terms of the GNU Affero General Public License as
* then serve this file as template and include your data into
* published by the Free Software Foundation, either version 3 of the
* the $serverData template variable
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*
* return new TemplateResponse('settings', 'settings', ['serverData' => $serverData]);
*
*/
*/
script
(
'settings'
,
'settings-vue'
);
script
(
'settings'
,
'settings-vue'
);
style
(
'settings'
,
'settings'
);
style
(
'settings'
,
'settings'
);
// D
id
we have some data to inject ?
// D
o
we have some data to inject ?
if
(
is_array
(
$_
[
'serverData'
]))
{
if
(
is_array
(
$_
[
'serverData'
]))
{
?>
?>
<span
id=
"serverData"
data-server=
"
<?php
p
(
json_encode
(
$_
[
'serverData'
]));
?>
"
></span>
<span
id=
"serverData"
data-server=
"
<?php
p
(
json_encode
(
$_
[
'serverData'
]));
?>
"
></span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment