This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 18 files changed +128
-3
lines changed
gui.ajax/res/themes/orbit/css Expand file tree Collapse file tree 18 files changed +128
-3
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ public function parseSpecificContributions(&$contribNode){
52
52
$ gettingStartedList ->item (0 )->appendChild ($ newCData );
53
53
$ gettingStartedList ->item (0 )->replaceChild ($ newCData , $ cdata );
54
54
}
55
+ }else if ($ contribNode ->nodeName == "actions " && $ this ->getFilteredOption ("DISPLAY_SERVER_QRCODE_ACTION " ) === false ){
56
+ $ actionXpath = new DOMXPath ($ contribNode ->ownerDocument );
57
+ $ actionList = $ actionXpath ->query ('action[@name="display-server-qrcode"] ' , $ contribNode );
58
+ $ contribNode ->removeChild ($ actionList ->item (0 ));
55
59
}
56
60
}
57
61
Original file line number Diff line number Diff line change 21
21
label =" CONF_MESSAGE[Windows PydioSync URL]" description =" CONF_MESSAGE[URL of the windows sync application]" default =" https://pydio.com/en/products/downloads/pydiosync-desktop-app/" />
22
22
<global_param name =" URL_APP_SYNC_MAC" type =" string" expose =" true"
23
23
label =" CONF_MESSAGE[Mac PydioSync URL]" description =" CONF_MESSAGE[URL of the mac sync application]" default =" https://pydio.com/en/products/downloads/pydiosync-desktop-app/" />
24
-
24
+ <global_param name =" DISPLAY_SERVER_QRCODE_ACTION" type =" boolean" label =" CONF_MESSAGE[Display Server QRCode]"
25
+ description =" CONF_MESSAGE[Let users connect easily to the latest mobile applications by displaying a QRCode]" default =" false" />
25
26
</server_settings >
26
27
<registry_contributions >
28
+ <actions >
29
+ <action name =" display-server-qrcode" >
30
+ <gui src =" folder.png" iconClass =" mdi mdi-qrcode-scan" text =" user_home.72" title =" user_home.73" >
31
+ <context actionBarGroup =" utils" actionBar =" true" dir =" true" recycle =" true" selection =" false" ajxpWidgets =" UserWidget::logging_string" />
32
+ </gui >
33
+ <processing >
34
+ <clientCallback prepareModal =" false" ><![CDATA[
35
+ var dialog = new AjxpReactDialogLoader('WelcomeComponents', 'QRCodeDialogLoader', {});
36
+ dialog.openDialog('qrcode_dialog_form', true);
37
+ ]]> </clientCallback >
38
+ <clientForm id =" qrcode_dialog_form" ><![CDATA[
39
+ <div id="qrcode_dialog_form" box_width="296" box_padding="0" class="react-mui-context SF_material"></div>
40
+ ]]> </clientForm >
41
+ </processing >
42
+ </action >
43
+ </actions >
27
44
<client_configs >
28
45
<template_part theme =" umbra" ajxpId =" sidebar_splitter" ajxpClass =" AjxpPane" ajxpOptions =' {"fit":"height","fake":"option"}' ><![CDATA[
29
46
<div id="folderPane" ajxpClass="FoldersTree" ajxpOptions='{"display":"dz","replaceScroller":true}' ajxpPaneHeader="363" ajxpPaneIcon="view_tree.png" style="margin:20px;"></div>
Original file line number Diff line number Diff line change @@ -647,6 +647,22 @@ div#tutorial_dl_apps_pane div#dl_pydio_mac div {
647
647
div # tutorial_dl_apps_pane div # dl_pydio_android a .icon-android {
648
648
top : 30px ;
649
649
}
650
+ .form-qrcode_dialog_form {
651
+ min-width : 296px ;
652
+ }
653
+ .form-qrcode_dialog_form .dialogTitle {
654
+ display : none;
655
+ }
656
+ .form-qrcode_dialog_form .home-qrCode-desc {
657
+ padding : 0 20px ;
658
+ }
659
+ .form-qrcode_dialog_form .home-qrCode {
660
+ text-align : center;
661
+ }
662
+ .form-qrcode_dialog_form .button-panel {
663
+ text-align : right;
664
+ padding : 10px ;
665
+ }
650
666
@media only screen and (max-width : 980px ) {
651
667
# notifications_center div .notif_event_container {
652
668
width : 100px ;
Original file line number Diff line number Diff line change @@ -680,6 +680,22 @@ div#tutorial_dl_apps_pane{
680
680
}
681
681
682
682
683
+ .form-qrcode_dialog_form {
684
+ min-width : 296px ;
685
+ .dialogTitle {
686
+ display : none ;
687
+ }
688
+ .home-qrCode-desc {
689
+ padding : 0 20px ;
690
+ }
691
+ .home-qrCode {
692
+ text-align : center ;
693
+ }
694
+ .button-panel {
695
+ text-align : right ;
696
+ padding : 10px ;
697
+ }
698
+ }
683
699
684
700
@media only screen
685
701
and (max-width : 980px ){
Original file line number Diff line number Diff line change 87
87
"69 " => "Download Sync Client for Mac OSX " ,
88
88
"70 " => "Native application for iOS devices " ,
89
89
"71 " => "Native application for Android Devices " ,
90
+ "72 " => "Server QRCode " ,
91
+ "73 " => "Easily connect your mobile applications " ,
92
+ "74 " => "Scan this QRCode with your mobile application to easily configure the connection " ,
90
93
91
94
);
Original file line number Diff line number Diff line change 84
84
"69 " => "Sync-Client für Mac OSX herunterladen " ,
85
85
"70 " => "App für iOS-Geräte " ,
86
86
"71 " => "App für Android-Geräte " ,
87
+ "72 " => "Server QRCode " ,
88
+ "73 " => "Easily connect your mobile applications " ,
89
+ "74 " => "Scan this QRCode with your mobile application to easily configure the connection " ,
87
90
);
Original file line number Diff line number Diff line change 84
84
"69 " => "Download Sync Client for Mac OSX " ,
85
85
"70 " => "Native application for iOS devices " ,
86
86
"71 " => "Native application for Android Devices " ,
87
+ "72 " => "Server QRCode " ,
88
+ "73 " => "Easily connect your mobile applications " ,
89
+ "74 " => "Scan this QRCode with your mobile application to easily configure the connection " ,
87
90
);
Original file line number Diff line number Diff line change 88
88
"69 " => "Download Sync Client for Mac OSX " ,
89
89
"70 " => "Native application for iOS devices " ,
90
90
"71 " => "Native application for Android Devices " ,
91
+ "72 " => "Server QRCode " ,
92
+ "73 " => "Easily connect your mobile applications " ,
93
+ "74 " => "Scan this QRCode with your mobile application to easily configure the connection " ,
91
94
92
95
);
Original file line number Diff line number Diff line change 83
83
"69 " => "Télécharger l'appli de synchro (Mac) " ,
84
84
"70 " => "Application pour smartphones iOS " ,
85
85
"71 " => "Application pour smartphones Android " ,
86
+ "72 " => "QRCode du serveur " ,
87
+ "73 " => "Connexion aux applications mobiles " ,
88
+ "74 " => "Scannez ce QRCode avec votre application mobile pour configurer facilement la connexion. " ,
86
89
);
Original file line number Diff line number Diff line change 87
87
"69 " => "Download Sync Client for Mac OSX " ,
88
88
"70 " => "Native application for iOS devices " ,
89
89
"71 " => "Native application for Android Devices " ,
90
+ "72 " => "Server QRCode " ,
91
+ "73 " => "Easily connect your mobile applications " ,
92
+ "74 " => "Scan this QRCode with your mobile application to easily configure the connection " ,
90
93
91
94
);
You can’t perform that action at this time.
0 commit comments