mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-23 09:20:03 +02:00
Update major applications to support AntOS v2.0.x
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
Simple PDF document manager
|
||||
|
||||
## Change logs
|
||||
- v0.0.9-b: Adapt to support AntOS 2.0.x
|
||||
- v0.0.8-b: Allow upload files directly from the app
|
||||
- v0.0.7-a: Change category and icon
|
||||
- v0.0.6-a: Add print dialog (support server side printing)
|
||||
|
@ -1,6 +1,5 @@
|
||||
<afx-app-window apptitle="Docify" width="700" height="500" data-id="Docify">
|
||||
<afx-hbox >
|
||||
<div data-width="5"></div>
|
||||
<afx-hbox padding="5">
|
||||
<afx-vbox data-width="150">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Categories)" data-height="22"></afx-label>
|
||||
<afx-list-view data-id="catview"></afx-list-view>
|
||||
@ -10,13 +9,12 @@
|
||||
<afx-vbox data-width = "300">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Documents)" data-height="22"></afx-label>
|
||||
<afx-list-view data-id="docview"></afx-list-view>
|
||||
<afx-hbox data-height="30">
|
||||
<div data-width="5"></div>
|
||||
<afx-button data-id="bt-add-doc" data-width = "25" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-id="bt-del-doc" data-width = "25" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-id="bt-edit-doc" data-width = "25" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
<afx-button data-id="bt-upload-doc" data-width = "25" text = "" iconclass = "bi bi-cloud-upload"></afx-button>
|
||||
</afx-hbox>
|
||||
<div data-height="35" style="text-align: right;">
|
||||
<afx-button data-id="bt-add-doc" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-id="bt-del-doc" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-id="bt-edit-doc" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
<afx-button data-id="bt-upload-doc" text = "" iconclass = "bi bi-cloud-upload"></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox>
|
||||
@ -24,10 +22,10 @@
|
||||
<canvas data-id="preview-canvas"></canvas>
|
||||
</div>
|
||||
<afx-grid-view data-id="docgrid"></afx-grid-view>
|
||||
<div style="text-align: right;" data-height="30" >
|
||||
<afx-button text="__(Open)" data-id="btopen" ></afx-button>
|
||||
<afx-button text="__(Download)" data-id="btdld" ></afx-button>
|
||||
<afx-button text="__(Print on server)" data-id="btprint" ></afx-button>
|
||||
<div style="text-align: right;" data-height="35" >
|
||||
<afx-button text="" iconclass="bi bi-arrow-up-right-square" data-id="btopen" ></afx-button>
|
||||
<afx-button text="" iconclass="bi bi-cloud-arrow-down" data-id="btdld" ></afx-button>
|
||||
<afx-button text="" iconclass = "bi bi-printer" data-id="btprint" ></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
|
@ -2,6 +2,7 @@
|
||||
Simple PDF document manager
|
||||
|
||||
## Change logs
|
||||
- v0.0.9-b: Adapt to support AntOS 2.0.x
|
||||
- v0.0.8-b: Allow upload files directly from the app
|
||||
- v0.0.7-a: Change category and icon
|
||||
- v0.0.6-a: Add print dialog (support server side printing)
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.8-b",
|
||||
"version":"0.0.9-b",
|
||||
"category":"Office",
|
||||
"iconclass":"bi bi-collection-fill",
|
||||
"mimes":["none"],
|
||||
|
@ -1,6 +1,5 @@
|
||||
<afx-app-window apptitle="Docify" width="700" height="500" data-id="Docify">
|
||||
<afx-hbox >
|
||||
<div data-width="5"></div>
|
||||
<afx-hbox padding="5">
|
||||
<afx-vbox data-width="150">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Categories)" data-height="22"></afx-label>
|
||||
<afx-list-view data-id="catview"></afx-list-view>
|
||||
@ -10,13 +9,12 @@
|
||||
<afx-vbox data-width = "300">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Documents)" data-height="22"></afx-label>
|
||||
<afx-list-view data-id="docview"></afx-list-view>
|
||||
<afx-hbox data-height="30">
|
||||
<div data-width="5"></div>
|
||||
<afx-button data-id="bt-add-doc" data-width = "25" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-id="bt-del-doc" data-width = "25" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-id="bt-edit-doc" data-width = "25" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
<afx-button data-id="bt-upload-doc" data-width = "25" text = "" iconclass = "bi bi-cloud-upload"></afx-button>
|
||||
</afx-hbox>
|
||||
<div data-height="35" style="text-align: right;">
|
||||
<afx-button data-id="bt-add-doc" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-id="bt-del-doc" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-id="bt-edit-doc" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
<afx-button data-id="bt-upload-doc" text = "" iconclass = "bi bi-cloud-upload"></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox>
|
||||
@ -24,10 +22,10 @@
|
||||
<canvas data-id="preview-canvas"></canvas>
|
||||
</div>
|
||||
<afx-grid-view data-id="docgrid"></afx-grid-view>
|
||||
<div style="text-align: right;" data-height="30" >
|
||||
<afx-button text="__(Open)" data-id="btopen" ></afx-button>
|
||||
<afx-button text="__(Download)" data-id="btdld" ></afx-button>
|
||||
<afx-button text="__(Print on server)" data-id="btprint" ></afx-button>
|
||||
<div style="text-align: right;" data-height="35" >
|
||||
<afx-button text="" iconclass="bi bi-arrow-up-right-square" data-id="btopen" ></afx-button>
|
||||
<afx-button text="" iconclass="bi bi-cloud-arrow-down" data-id="btdld" ></afx-button>
|
||||
<afx-button text="" iconclass = "bi bi-printer" data-id="btprint" ></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
|
Binary file not shown.
@ -185,11 +185,11 @@ DocDialog.scheme = """
|
||||
<afx-app-window width='600' height='400'>
|
||||
<afx-hbox>
|
||||
<afx-vbox data-width="350">
|
||||
<afx-hbox data-height="22">
|
||||
<afx-hbox data-height="30">
|
||||
<afx-label text = "__(title)" data-width="50"></afx-label>
|
||||
<input type="text" data-id="title"></input>
|
||||
</afx-hbox>
|
||||
<afx-hbox data-height="22">
|
||||
<afx-hbox data-height="30">
|
||||
<afx-label text = "__(Day)" data-width="50"></afx-label>
|
||||
<afx-list-view dropdown="true" data-id="dlist"></afx-list-view>
|
||||
<afx-label text = "__(Month)"data-width="50" ></afx-label>
|
||||
@ -201,7 +201,7 @@ DocDialog.scheme = """
|
||||
<afx-list-view data-id="file-list"></afx-list-view>
|
||||
<afx-label text = "__(Note)" data-height="22"></afx-label>
|
||||
<textarea data-id="note"></textarea>
|
||||
<afx-hbox data-height = "27">
|
||||
<afx-hbox data-height = "30">
|
||||
<afx-label text = "__(Owner)" data-width="50"></afx-label>
|
||||
<afx-list-view dropdown="true" data-id="olist"></afx-list-view>
|
||||
<afx-label text = "__(Tags)" data-width="50"></afx-label>
|
||||
@ -212,7 +212,7 @@ DocDialog.scheme = """
|
||||
<div data-id = "preview-container">
|
||||
<canvas data-id="preview-canvas"></canvas>
|
||||
</div>
|
||||
<div style="text-align: right;" data-height="30" >
|
||||
<div style="text-align: right;" data-height="35" >
|
||||
<afx-button text="__(Save)" data-id="btsave" ></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
@ -259,14 +259,14 @@ FilePreviewDialog.scheme = """
|
||||
<afx-app-window width='400' height='400' apptitle = "__(Document preview)">
|
||||
<afx-hbox>
|
||||
<afx-vbox data-width="150">
|
||||
<afx-label text = "__(Files)" data-height="22"></afx-label>
|
||||
<afx-label text = "__(Files)" data-height="25"></afx-label>
|
||||
<afx-list-view data-id="file-list"></afx-list-view>
|
||||
</afx-vbox>
|
||||
<afx-vbox>
|
||||
<div data-id = "preview-container">
|
||||
<canvas data-id="preview-canvas"></canvas>
|
||||
</div>
|
||||
<div style="text-align: right;" data-height="30" >
|
||||
<div style="text-align: right;" data-height="35" >
|
||||
<afx-button text="__(Ok)" data-id="btok" ></afx-button>
|
||||
</div>
|
||||
|
||||
@ -295,7 +295,7 @@ class PrintDialog extends this.OS.GUI.BasicDialog
|
||||
PrintDialog.scheme = """
|
||||
<afx-app-window width='300' height='300' data-id="DocifyPrintDialog" apptitle = "__(Print)">
|
||||
<afx-vbox>
|
||||
<afx-label text = "__(Printer name)" data-height="22"></afx-label>
|
||||
<afx-label text = "__(Printer name)" data-height="25"></afx-label>
|
||||
<input type="text" data-id="printerName" data-height="25"></input>
|
||||
<afx-label text = "__(Range)" data-height="22"></afx-label>
|
||||
<div>
|
||||
@ -305,7 +305,7 @@ PrintDialog.scheme = """
|
||||
<label for="1">Pages: </label>
|
||||
<input type="text" data-id="txtPageRange" ></input>
|
||||
</div>
|
||||
<afx-label text = "__(Orientation)" data-height="22"></afx-label>
|
||||
<afx-label text = "__(Orientation)" data-height="25"></afx-label>
|
||||
<div>
|
||||
<input type="radio" name="orientation" value="0" checked ></input>
|
||||
<label for="0">Portrait</label><br>
|
||||
@ -321,7 +321,7 @@ PrintDialog.scheme = """
|
||||
<input type="radio" name="side" value="2" ></input>
|
||||
<label for="2">Double side short edge</label>
|
||||
</div>
|
||||
<div data-height="30" style="text-align:right;">
|
||||
<div data-height="35" style="text-align:right;">
|
||||
<afx-button text="__(Print)" style="margin-right:5px;" data-id="btnprint"></afx-button>
|
||||
</div>
|
||||
</afx-vbox>
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.8-b",
|
||||
"version":"0.0.9-b",
|
||||
"category":"Office",
|
||||
"iconclass":"bi bi-collection-fill",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user