From 0059ebb8f844864473862ff4416da7792b6c4285 Mon Sep 17 00:00:00 2001 From: g4s8 Date: Fri, 2 Mar 2018 11:30:48 +0300 Subject: [PATCH 1/4] zerocracy/farm#258 - user options --- xml/pmo/options/-duplicates.xml | 21 ++++++++++ xml/pmo/options/simple.xml | 21 ++++++++++ xsd/pmo/options.xsd | 40 +++++++++++++++++++ xsl/pmo/options.xsl | 69 +++++++++++++++++++++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 xml/pmo/options/-duplicates.xml create mode 100644 xml/pmo/options/simple.xml create mode 100644 xsd/pmo/options.xsd create mode 100644 xsl/pmo/options.xsl diff --git a/xml/pmo/options/-duplicates.xml b/xml/pmo/options/-duplicates.xml new file mode 100644 index 00000000..5fb34c78 --- /dev/null +++ b/xml/pmo/options/-duplicates.xml @@ -0,0 +1,21 @@ + + + + + + diff --git a/xml/pmo/options/simple.xml b/xml/pmo/options/simple.xml new file mode 100644 index 00000000..12e31a3b --- /dev/null +++ b/xml/pmo/options/simple.xml @@ -0,0 +1,21 @@ + + + + + + diff --git a/xsd/pmo/options.xsd b/xsd/pmo/options.xsd new file mode 100644 index 00000000..1b8028ae --- /dev/null +++ b/xsd/pmo/options.xsd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/pmo/options.xsl b/xsl/pmo/options.xsl new file mode 100644 index 00000000..2c1bda00 --- /dev/null +++ b/xsl/pmo/options.xsl @@ -0,0 +1,69 @@ + + + + + + + +
+

+ Options +

+ +
+ + +
+ +

+ There are no user options. +

+
+ +

+ User options: +

+ + + + + + + + + + +
+ name + + value +
+
+ + + + + + + + + + + + +
From 78cf50d9798110f2d685e8151ece0905d34d36a0 Mon Sep 17 00:00:00 2001 From: g4s8 Date: Mon, 5 Mar 2018 12:15:58 +0300 Subject: [PATCH 2/4] #258 - user options --- xml/pmo/options/-invalid-notifications.xml | 24 +++++++++++ .../{-duplicates.xml => -invalid-option.xml} | 3 +- xml/pmo/options/-negative-jobs.xml | 20 +++++++++ xml/pmo/options/simple.xml | 8 +++- xsd/pmo/options.xsd | 24 ++++++----- xsl/pmo/options.xsl | 41 ++++--------------- 6 files changed, 71 insertions(+), 49 deletions(-) create mode 100644 xml/pmo/options/-invalid-notifications.xml rename xml/pmo/options/{-duplicates.xml => -invalid-option.xml} (92%) create mode 100644 xml/pmo/options/-negative-jobs.xml diff --git a/xml/pmo/options/-invalid-notifications.xml b/xml/pmo/options/-invalid-notifications.xml new file mode 100644 index 00000000..ca362e90 --- /dev/null +++ b/xml/pmo/options/-invalid-notifications.xml @@ -0,0 +1,24 @@ + + + + + yes + no + maybe + + diff --git a/xml/pmo/options/-duplicates.xml b/xml/pmo/options/-invalid-option.xml similarity index 92% rename from xml/pmo/options/-duplicates.xml rename to xml/pmo/options/-invalid-option.xml index 5fb34c78..0aa6ffb6 100644 --- a/xml/pmo/options/-duplicates.xml +++ b/xml/pmo/options/-invalid-option.xml @@ -16,6 +16,5 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - - + option diff --git a/xml/pmo/options/-negative-jobs.xml b/xml/pmo/options/-negative-jobs.xml new file mode 100644 index 00000000..fd15353b --- /dev/null +++ b/xml/pmo/options/-negative-jobs.xml @@ -0,0 +1,20 @@ + + + + -10 + diff --git a/xml/pmo/options/simple.xml b/xml/pmo/options/simple.xml index 12e31a3b..cff7cbb7 100644 --- a/xml/pmo/options/simple.xml +++ b/xml/pmo/options/simple.xml @@ -16,6 +16,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - - + 10 + + false + false + true + diff --git a/xsd/pmo/options.xsd b/xsd/pmo/options.xsd index 1b8028ae..ed7168ec 100644 --- a/xsd/pmo/options.xsd +++ b/xsd/pmo/options.xsd @@ -17,24 +17,26 @@ SOFTWARE. --> - - - - - - + + + + + + + + + + + - + + - - - - diff --git a/xsl/pmo/options.xsl b/xsl/pmo/options.xsl index 2c1bda00..d987427d 100644 --- a/xsl/pmo/options.xsl +++ b/xsl/pmo/options.xsl @@ -29,41 +29,14 @@ SOFTWARE. - +

- There are no user options. + You can download and upload options file here +

- -

- User options: -

- - - - - - - - - - -
- name - - value -
-
- - - - - - - - - - - - From d79f4d4d779d2c33ee2a95558ea5e7296a5458b5 Mon Sep 17 00:00:00 2001 From: g4s8 Date: Tue, 6 Mar 2018 22:23:21 +0300 Subject: [PATCH 3/4] zerocracy/farm#258 - options improvements --- xsd/pmo/options.xsd | 13 ++++++------ xsl/pmo/options.xsl | 49 +++++++++++++++++++++++++++++++++++++++------ 2 files changed, 50 insertions(+), 12 deletions(-) diff --git a/xsd/pmo/options.xsd b/xsd/pmo/options.xsd index ed7168ec..3f468433 100644 --- a/xsd/pmo/options.xsd +++ b/xsd/pmo/options.xsd @@ -24,15 +24,16 @@ SOFTWARE. - - - - - - + + + + + + + diff --git a/xsl/pmo/options.xsl b/xsl/pmo/options.xsl index d987427d..49b36cdf 100644 --- a/xsl/pmo/options.xsl +++ b/xsl/pmo/options.xsl @@ -31,12 +31,49 @@ SOFTWARE.

- You can download and upload options file here - + Your options:

+ + + + + + + + + + + + + + + + + + + + + +
+ Option + + Value +
+ Max jobs in agend + + +
+ Notify + + + RFPS, + + + publish, + + + students + +
From 839a501826f82cefafb00b360e3bfd33a9e0f98d Mon Sep 17 00:00:00 2001 From: g4s8 Date: Tue, 13 Mar 2018 11:21:02 +0300 Subject: [PATCH 4/4] zercoracy/farm#258 - xsl 2.0 --- xsl/pmo/options.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl/pmo/options.xsl b/xsl/pmo/options.xsl index 49b36cdf..bf8f3d99 100644 --- a/xsl/pmo/options.xsl +++ b/xsl/pmo/options.xsl @@ -15,7 +15,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - +