diff --git a/README.md b/README.md index 98459a6..0ffc05b 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,14 @@ You have three choices: Unless you have a good reason to do (2) or (3), we recommend you do (1). # Pull the latest Docker image -**Note:** currently, only the `gucorpling/gitdox-dev` image is available. We +**Note:** currently, only the `gucorpling/gitdox:dev` image is available. We hope to provide a stable release soon. First, [install Docker](https://docs.docker.com/install/). You may be able to install it using your platform's package manager. ```bash -docker run -dit --restart unless-stopped --name gitdox-dev -p 5000:80 gucorpling/gitdox-dev +docker run -dit --restart unless-stopped --name gitdox-dev -p 5000:80 gucorpling/gitdox:dev ``` GitDox should now be running the docker container you've set up, and you may @@ -37,7 +37,7 @@ docker stop gitdox docker start gitdox ``` -If for whatever reason you need to manually edit GitDox files, you may start a +If you need to manually edit GitDox files, you may start a bash session inside of the Docker container: ```bash @@ -48,6 +48,17 @@ cd /var/www/html vim user/admin.ini # or whatever you need to edit ``` +If you anticipate that you will need to heavily modify GitDox's files, you may wish +to have your GitDox folders live in your host machine's filesystem: + +```bash +sudo git clone https://github.com/gucorpling/gitdox /opt/gitdox +sudo chown -R www-data:www-data /opt/gitdox +docker run -dit --restart unless-stopped --name gitdox -v /opt/gitdox:/var/www/html -p 5000:80 gucorpling/gitdox:dev gitdox +``` + +These commands install GitDox under `/opt` in your host machine and allows you to modify them just as you would modify any other file on your machine. But in the Docker command, with the `-v` flag we tell it to mount this folder as `/var/www/html` in the container's filesystem. The files are shared bidirectionally: changes made in the container will flow to the host, and vice versa. + # Build and run a Docker image First, [install Docker](https://docs.docker.com/install/). You may be able to install it using your platform's package manager. diff --git a/admin.py b/admin.py old mode 100644 new mode 100755 diff --git a/css/antinoou-webfont.eot b/css/antinoou-webfont.eot deleted file mode 100644 index 5cd31f9..0000000 Binary files a/css/antinoou-webfont.eot and /dev/null differ diff --git a/css/antinoou-webfont.ttf b/css/antinoou-webfont.ttf deleted file mode 100644 index 821ca4c..0000000 Binary files a/css/antinoou-webfont.ttf and /dev/null differ diff --git a/css/antinoou-webfont.woff b/css/antinoou-webfont.woff deleted file mode 100644 index 0690b1e..0000000 Binary files a/css/antinoou-webfont.woff and /dev/null differ diff --git a/css/antinoouitalic-webfont.eot b/css/antinoouitalic-webfont.eot deleted file mode 100644 index 15d8b70..0000000 Binary files a/css/antinoouitalic-webfont.eot and /dev/null differ diff --git a/css/antinoouitalic-webfont.ttf b/css/antinoouitalic-webfont.ttf deleted file mode 100644 index 61e0c16..0000000 Binary files a/css/antinoouitalic-webfont.ttf and /dev/null differ diff --git a/css/antinoouitalic-webfont.woff b/css/antinoouitalic-webfont.woff deleted file mode 100644 index 623c634..0000000 Binary files a/css/antinoouitalic-webfont.woff and /dev/null differ diff --git a/css/gum.css b/css/gum.css new file mode 100644 index 0000000..00da827 --- /dev/null +++ b/css/gum.css @@ -0,0 +1,723 @@ +body { + background-color: #174274 ; + font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; + font-style: normal; + font-weight: 400; + margin-top: 0px; + margin-bottom: 0px; + margin-left: 0px; + margin-right: 0px; + font-size: 14px; + } + +#wrapper{ + margin-right: 0px; /*auto*/ + margin-left: 0px; /*auto*/ + margin-bottom: 60px; + width: 100%; /*832px*/ + min-height: 100%; + height: 100%; + z-index: 2; + margin-top: 0px; + clear: both; + padding-right: 5pt; + padding-left: 5pt; + } + +#content { + overflow-y: hidden; + clear: both; + padding-top: 10px; + padding-right: 40px; + padding-left: 40px; + padding-bottom: 40px; + line-height: 1.4em; + margin-top: 50px; + min-height: 100%; + margin-bottom: 40px; + -webkit-box-shadow: 0px 0px 10px 10px rgba(120,71,9,0.26); + box-shadow: 0px 0px 10px 10px rgba(120,71,9,0.26); + background-color: white; + width: 91%; +} + +/*This last integer in the hsla is the opacity of the content box. enter in a decimal value between 1.0 and 0.00 to get 100 different brightnesses of content box background +*/ + +.headline { + clear: both; + width: 100%; +} + +.leftcolumn { + float: left; + width: 340px; + margin-right: 20px; + margin-bottom: -1000px; + padding-bottom: 1000px; +} + +.rightcolumn { + width: 340px; + margin-left: 20px; + float: left; + margin-bottom: -1000px; + padding-bottom: 1000px; + border: 0px solid black + +} + +.news{ +color:#AE2124; +font-size: 1.4em; +font-weight: bold; +} + + .rss{ + + } + +#copticlogo { + float: left; + width: 33%; + text-align: left; +} + +#unicorn { + float: left; + width: 34%; + text-align: center; +} + +#englishlogo { + float: left; + width: 33%; + text-align: right; +} + +#header { + height: 100px; + width: 95%; /*800px*/ + z-index: 2; + margin-left: auto; + margin-right: auto; + padding-top: 40px; + padding-left: 16px; + padding-right: 16px; +} + +#footer { + background-color: #361B01; + color: #F4EBDE; + padding-top: 40px; + padding-right: 56px; + padding-bottom: 40px; + padding-left: 56px; + font-size: 16px; + line-height: 20px; + clear: both; + text-align: center; +} + +#footer p { + font-size: 14px; + line-height: 20px; +} + +#lastupdate { + font-size: 14px; + line-height: 20px; + clear: both; + text-align: center; +} + + +#footer a { + text-decoration: none; + color: #EFC17E; +} + +#footer a:hover { + color: #FB3815; +} + +/*#sponsors { + background-color: hsla(0,100%,100%,0); + padding-left: 6px; + padding-right: 6px; + padding-top: 6px; + padding-bottom: 6px; + text-align: center; +}*/ + +/*#sponsors a { + text-decoration: none; + color: #F0D38E; +} + +#sponsors a:hover { + color: #FB3815; +}*/ + +h1 { + font-size: 1.4em; + margin-bottom: 0px; + font-variant: normal; + font-weight: 700 +} + + +h2 { + font-size: 1.2em; + margin-bottom: 0px; + font-variant: normal; + font-weight:700 +} + +h3 {font-size: 1em; + margin-bottom: 0px; + font-variant: normal; + font-weight:700} + +h4 {font-size: .8em; + margin-bottom: 0px; + font-variant: normal; + font-weight:700} + +p, ul, ol, li, table { + line-height: 1.4em; + font-size: 14px;} + +a:link { + text-decoration: none; + color: #AE2124; +} + +a:visited { + text-decoration: none; + color: #AE2124; +} + +/*original new/visited color #742002, hover/active #BF0508*/ + +a:hover { + text-decoration: underline; + color: #941C1F; +} + +a:active { + text-decoration: underline; + color: #941C1F; +} + +.line { +position:absolute; /* doesn't have to be absolute */ +z-index: -2; /* places the line behind other elements */ +} + +} +.line_down { +position:absolute; /* doesn't have to be absolute */ +z-index: 1; /* places the line behind other elements */ +} + +.line_down div { +position:absolute; +left: 0px; top: 0px; +border-right-color: transparent; +border-left-width: 0; +border-style: solid; +padding: 0px; +margin: 0px; +} + +/*navigation*/ + +#nav { + display: inline-block; /* centers modern browsers */ + padding-top: 10px; + padding-bottom: 6px; + padding-left: 0px; + margin-top: 0px; + text-align: center; /* centers IE6/7 */ + position: fixed; + background-color: #361B01; + width: 100%; + z-index: 100; +} +#nav ul { + list-style:none; + text-align: center; + display: block; +/* IE6/7 haslayout trip-switch */ +} + +#nav li { + margin: auto; + display: inline-block; + letter-spacing: 0.2em; + font-size: 12px; +} + +#nav li ul { + position: absolute; + margin-top: 15px; + padding-left: 0px; + padding-top: 20px; + margin-left: 0px; + display: none; + visibility: hidden; + opacity: 0; + padding-bottom: 20px; + background-color: #361B01; +} + +#nav li ul li{ + color:#DFD1B4; + display: block; +} + +#nav li ul li a{ + line-height: 40px; +} + +#nav li ul li:hover{ + color:#DFD1B4; +} + +#nav li:hover ul { + display: block; + opacity: 1.0; + visibility: visible; +} + +#nav a { + float: left; + text-decoration: none; + padding: 0 16px; /* variable width */ + color: #F0D38E; +} + +#nav a:hover{ + color: #FB3815; +} + +.arrow{border-top : 30px solid transparent; + border-bottom : 30px solid transparent; + border-left : 30px solid black; + width:0; + height:0; + position: relative; + top: 75px; + left:5px; + + } + +.arrow_container { + float: left; + margin-bottom: 10px; + width: 40px; + height: 250px; + border: solid; + border-color: white; +} + +.image_container{ + padding:10px;background:white; float:left; border-bottom: solid; border-right:solid; border-width:1px; } + +.canvas_container { + float: left; + border:solid; + height:250px; + margin-bottom:10px; +} + +table.anno_doc th{ + border-bottom: navy solid thin; + border-top: navy solid thin; + text-align: left; + border-right: none; + font-weight: bold; + white-space: nowrap; + padding: 5px; +} + +table.anno_doc { + + margin-left: 20px; +} + +.hu_logo{ + z-index:-4; + /*background: url('../img/HU_logo_smaller.gif'); + position: absolute;*/ + float:left; + background-repeat: no-repeat; + background-position: right top; + height:195px; + display:table-cell; + width: 95%; + top: 0; + vertical-align: top; +} + +.icon{ + width: 40px; + height: auto; + border: 0px; + + } + +.d1_table { + border-collapse: collapse; + padding: 0px; + border-spacing: 0px; +} +.dl_table td{ + text-align:center; + border-bottom: dashed; + border-bottom-width: 1px; +} + + +.dl_table th{ + border-bottom: solid; + border-bottom-width: 1px; +} + +.shadow { + padding-left: 10px; + padding-right: 10px; + padding-bottom: 20px; + margin: 50px; + max-width: 80%; + display: block; + border: 2px solid #742002; + -moz-box-shadow: -5px -5px 5px #742002; + -webkit-box-shadow: 5px 5px 20px 2px hsla(16,98%,23%,0.33); + box-shadow: 5px 5px 20px 2px hsla(16,98%,23%,0.33); +} + +.example_box{ + margin:50; + display: block; + border: 2px solid; + background-color: #EFF8FF; + max-width: 80%; + padding: 10px; +} +.example_box ul li{margin-left:-10px} + +.example_box ul li{padding-bottom:15px} + +.example_box ul li ../img{padding-top:5px; margin-left:10px} + +.anti{font-family: antinoouRegular, sans-serif;} + +tt{padding-left: 5px; padding-top: 5px} + +.hidden { display: none; } +.unhidden { display: block; } + + +/* + * Adapted from: CSS3 Treeview. No JavaScript + * @version 1.0 + * @author Martin Ivanov (original version) + * @url developer's website: http://wemakesites.net/ + * @url developer's twitter: https://twitter.com/#!/wemakesitesnet + * @url developer's blog http://acidmartin.wordpress.com/ + **/ + +/* + * This solution works with all modern browsers and Internet Explorer 9+. + * If you are interested in purchasing a JavaScript enabler for IE8 + * for the CSS3 Treeview, please, check this link: + * http://experiments.wemakesites.net/miscellaneous/acidjs-css3-treeview/ + **/ + + +.css-treeview ul, +.css-treeview li +{ + padding: 0; + margin: 0; + list-style: none; + vertical-align:middle; +} + +.css-treeview input +{ + position: relative; + opacity: 0; +} + +.css-treeview +{ + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; + margin-left: 20px; +} + +.css-treeview a +{ + text-decoration: none; +} + +.css-treeview a:hover +{ + text-decoration: underline; +} + +.css-treeview input + label + ul +{ + margin: 0 0 0 22px; +} + +.css-treeview input ~ ul +{ + display: none; +} + +.css-treeview label.folder, +.css-treeview label.folder::before +{ + cursor: pointer; +} + +.css-treeview input:disabled + label.folder +{ + cursor: default; + opacity: .6; +} + +.css-treeview input:checked:not(:disabled) ~ ul +{ + display: block; +} + +.css-treeview label.folder, +.css-treeview label.folder::before +{ + min-height: 22px; +} + +.css-treeview label, +.css-treeview label::before +{ + display: inline-block; + height: 16px; + line-height: 16px; + vertical-align: middle; + +} + +.css-treeview label.folder +{ + background-position: 18px 0px; + +} + +.css-treeview label.folder::before +{ + content: ""; + width: 32px; + margin: 0 6px 0 0; + vertical-align: middle; + background-position: 0 -10px; +} + +.css-treeview input.folder:checked + label.folder::before +{ + content: ""; + width: 16px; + margin: 0 6px 0 0; + vertical-align: middle; + background: url("../img/close.png") no-repeat center; +} + + + +/* webkit adjacent element selector bugfix */ +@media screen and (-webkit-min-device-pixel-ratio:0) +{ + .css-treeview + { + -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s; + } + + @-webkit-keyframes webkit-adjacent-element-selector-bugfix + { + from + { + padding: 0; + } + to + { + padding: 0; + } + } +} + +.css-treeview input.doc + label.doc::before, +.css-treeview input.dl + label.dl::before +{ + content: ""; + width: 16px; + margin: 0 6px 0 0; + vertical-align: middle; + height: 22px; + + + background-position: 0 0px; +} +.css-treeview input.folder + label.folder::before +{ + content: ""; + width: 16px; + margin: 0 6px 0 0; + vertical-align: middle; + + background: url("../img/open.png") no-repeat center; +} +.css-treeview label.doc, .css-treeview label.dl +{ + background-position: 9px 0; + height: 22px; + padding: 0 0 3px 0; + +} + +.css-treeview label.doc::before +{ + background: url("../img/doc.png") no-repeat; +} + +.css-treeview label.dl::before +{ + background: url("../img/download.gif") no-repeat; + +} + +li.info { +/*background:url(../img/i_button.gif) no-repeat 0 5px; +padding: 0 0 3px 22px; +height: 22px;*/ +line-height: 100%; +margin-top: 10px; +margin-bottom: 10px; +} +li.search { +/*background:url(../img/search.gif) no-repeat 0 5px; +padding: 0 0 3px 22px; +min-height: 22px;*/ +} +li.download { +/*min-height: 22px; +padding: 0 0 3px 22px;*/ +} + +.example_queries li { +margin-top: 1em; +} + +.tree-container { + margin-top: 15px; + margin-bottom: 50px; +} + +.about { + background: url("../img/i_button.gif") no-repeat; + padding-left: 21px; +} +.search { + background: url("../img/search.gif") no-repeat; + padding-left: 21px; +} +.download { + background: url("../img/download.gif") no-repeat; + padding-left: 21px; +} +.github { + background: url("../img/GitHub-Mark-Light-64px.png") no-repeat; + background-size: 19px 19px; + padding-left: 25px; +} +.twitter { + background: url("../img/newsociallogo.png") no-repeat; + background-size: 19px 19px; + padding-left: 25px; +} + +body { -webkit-font-smoothing: subpixel-antialiased; } +.small { + font-size: 14px; + line-height: 1.4em; +} + +.nlp_input{ width: 650px; + height: 320px; + border: 3px solid #cccccc; + margin-left: auto; + margin-right: auto; + padding: 5px; + font-size: 16px; + + /*background-image: url(bg.gif); + background-position: bottom right; + background-repeat: no-repeat;*/} + + +.nlp_form{ + min-height: 20px; + padding: 19px; + margin-top: 20px; + margin-left: auto; + margin-right: auto; + width: 700px; + border: 2px solid black; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05); + box-shadow: inset 0 1px 1px rgba(0,0,0,.05); +font-family: asul, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; + overflow-y: hidden; + clear: both; + padding-top: 10px; + padding-right: 56px; + padding-left: 56px; + padding-bottom: 40px; + line-height: 1.4em; + background-color: hsla(40,53%,100%,0.80); + + } + +.nlp_form div{margin-bottom: 20px} + + +a.tooltip2 {outline:none; } +a.tooltip2:hover {text-decoration:none;} +a.tooltip2 span { + margin-top:-20px; + z-index:10;display:none; padding:14px 20px; + width:300px; + font-weight: normal; +} +a.tooltip2:hover span{ + position:absolute; color:#111; padding-top:-10px; + display:inline; + border:1px solid #DCA; background:#fffAF0;} +.callout {z-index:20;position:absolute;top:20px;border:0;left:-12px;} + +/*CSS3 extras*/ +a.tooltip2 span +{ + border-radius:4px; + box-shadow: 5px 5px 8px #CCC; + text-align: left; +} + +#doctable{background-color:#dddddd !important; font-family: arial, sans-serif !important;} +#doctable th, #doctable td {border: 1px solid darkgray;} + +.CodeMirror-wrap{border: 1px solid black !important} \ No newline at end of file diff --git a/editor.py b/editor.py old mode 100644 new mode 100755 diff --git a/export.py b/export.py old mode 100644 new mode 100755 diff --git a/index.py b/index.py old mode 100644 new mode 100755 diff --git a/js/index.js b/js/index.js index a2f8f52..e50a54a 100644 --- a/js/index.js +++ b/js/index.js @@ -1,102 +1,102 @@ function validate_all() { - $("#validate_landing").addClass("disabledbutton"); - $("#validate_landing").html(' validating...') + $("#validate_landing").addClass("disabledbutton"); + $("#validate_landing").html(' validating...'); $.ajax({ - url: 'modules/validate_spreadsheet.py', - type: 'post', - data: {doc_id: 'all'}, - dataType: "json", - success: function(response) { - console.log(response); - $.each(response, function(key, value) { - // 1 vs 2 is for ordering ether/xml before metadata - // sort is hidden text at beginning of cell for sorting purposes - var output1 = ''; - var output2 = ''; - var sort1 = ''; - var sort2 = ''; - $.each(value, function(k,v) { - if (k == "ether"){ - if (v == "spreadsheet is valid") { - color = 'green'; - sort1 = 'v'; - } - else { - color = 'red'; - sort1 = 'i'; - } - output1 += '
 ' + v + '
'; - } - else if (k == "meta"){ - if (v == "metadata is valid") { - color = 'green'; - sort2 = 'v'; - } - else { - color = 'red'; - sort2 = 'i'; - } - output2 += '
 ' + v + '
'; - } - else if (k == "xml"){ - if (v.indexOf("validates") !== -1) { - color = 'green'; - sort1 = 'v'; - } - else if (v == "No schema
"){ - color = 'gray'; - sort1 = 'n'; - } - else { - color = 'red'; - sort1 = 'i'; - } - output1 += '
 ' + v + '
'; - } - }); - $("#validate_"+key).before(""); - $("#validate_"+key).html(output1 + output2); - }); - $("#validate_landing").removeClass("disabledbutton"); - $("#validate_landing").html(' re-validate'); - }, - error: function( jqXHR, textStatus, errorThrown) { - alert(errorThrown); - $("#validate_landing").removeClass("disabledbutton"); - $("#validate_landing").html(' re-validate'); - } + url: 'modules/validate_spreadsheet.py', + type: 'post', + data: {doc_id: 'all'}, + dataType: "json", + success: function(response) { + console.log(response); + $.each(response, function(key, value) { + // 1 vs 2 is for ordering ether/xml before metadata + // sort is hidden text at beginning of cell for sorting purposes + var output1 = ''; + var output2 = ''; + var sort1 = ''; + var sort2 = ''; + $.each(value, function(k,v) { + if (k == "ether") { + if (v == "spreadsheet is valid") { + color = 'green'; + sort1 = 'v'; + } + else { + color = 'red'; + sort1 = 'i'; + } + output1 += '
 ' + v + '
'; + } + else if (k == "meta") { + if (v == "metadata is valid") { + color = 'green'; + sort2 = 'v'; + } + else { + color = 'red'; + sort2 = 'i'; + } + output2 += '
 ' + v + '
'; + } + else if (k == "xml") { + if (v.indexOf("validates") !== -1) { + color = 'green'; + sort1 = 'v'; + } + else if (v == "No schema
") { + color = 'gray'; + sort1 = 'n'; + } + else { + color = 'red'; + sort1 = 'i'; + } + output1 += '
 ' + v + '
'; + } + }); + $("#validate_"+key).before(""); + $("#validate_"+key).html(output1 + output2); + }); + $("#validate_landing").removeClass("disabledbutton"); + $("#validate_landing").html(' re-validate'); + }, + error: function( jqXHR, textStatus, errorThrown) { + console.log(errorThrown); + $("#validate_landing").removeClass("disabledbutton"); + $("#validate_landing").html(' re-validate'); + } }); } function filter() { - var input_id = $("#filter_id").val(); - var input_corpus = $("#filter_corpus").val(); - var input_document = $("#filter_document").val(); - var input_status = $("#filter_status").val(); - var input_assigned = $("#filter_assigned").val(); - var input_mode = $("#filter_mode").val(); - var table = $("#doctable"); - var tr = $("#doctable tbody tr"); - for (i = 0; i < tr.length; i++) { - td_list = tr[i].getElementsByTagName("td") - id_td = td_list[0]; - corpus_td = td_list[1]; - document_td = td_list[2]; - status_td = td_list[3]; - assigned_td = td_list[4]; - mode_td = td_list[5]; - if (id_td.innerHTML.indexOf(input_id) > -1 - && corpus_td.innerHTML.indexOf(input_corpus) > -1 - && document_td.innerHTML.indexOf(input_document) > -1 - && status_td.innerHTML.indexOf(input_status) > -1 - && assigned_td.innerHTML.indexOf(input_assigned) > -1 - && mode_td.innerHTML.indexOf(input_mode) > -1 - ) { - tr[i].style.display = ""; + var input_id = $("#filter_id").val(); + var input_corpus = $("#filter_corpus").val(); + var input_document = $("#filter_document").val(); + var input_status = $("#filter_status").val(); + var input_assigned = $("#filter_assigned").val(); + var input_mode = $("#filter_mode").val(); + var table = $("#doctable"); + var tr = $("#doctable tbody tr"); + for (i = 0; i < tr.length; i++) { + td_list = tr[i].getElementsByTagName("td"); + id_td = td_list[0]; + corpus_td = td_list[1]; + document_td = td_list[2]; + status_td = td_list[3]; + assigned_td = td_list[4]; + mode_td = td_list[5]; + if (id_td.innerHTML.indexOf(input_id) > -1 + && corpus_td.innerHTML.indexOf(input_corpus) > -1 + && document_td.innerHTML.indexOf(input_document) > -1 + && status_td.innerHTML.indexOf(input_status) > -1 + && assigned_td.innerHTML.indexOf(input_assigned) > -1 + && mode_td.innerHTML.indexOf(input_mode) > -1 + ) { + tr[i].style.display = ""; + } + else { + tr[i].style.display = "none"; + } } - else { - tr[i].style.display = "none"; - } - } -} \ No newline at end of file +} diff --git a/modules/__init__.py b/modules/__init__.py old mode 100644 new mode 100755 diff --git a/modules/cgiutils.py b/modules/cgiutils.py old mode 100644 new mode 100755 diff --git a/modules/configobj.py b/modules/configobj.py old mode 100644 new mode 100755 diff --git a/modules/dataenc.py b/modules/dataenc.py old mode 100644 new mode 100755 diff --git a/modules/dateutils.py b/modules/dateutils.py old mode 100644 new mode 100755 diff --git a/modules/ether.py b/modules/ether.py old mode 100644 new mode 100755 diff --git a/modules/gitdox_git.py b/modules/gitdox_git.py old mode 100644 new mode 100755 diff --git a/modules/gitdox_sql.py b/modules/gitdox_sql.py old mode 100644 new mode 100755 diff --git a/modules/listquote.py b/modules/listquote.py old mode 100644 new mode 100755 diff --git a/modules/odict.py b/modules/odict.py old mode 100644 new mode 100755 diff --git a/modules/pathutils.py b/modules/pathutils.py old mode 100644 new mode 100755 diff --git a/modules/setup.py b/modules/setup.py old mode 100644 new mode 100755 diff --git a/modules/standout.py b/modules/standout.py old mode 100644 new mode 100755 diff --git a/modules/urlpath.py b/modules/urlpath.py old mode 100644 new mode 100755 diff --git a/modules/validate.py b/modules/validate.py old mode 100644 new mode 100755 diff --git a/modules/validate_spreadsheet.py b/modules/validate_spreadsheet.py old mode 100644 new mode 100755 diff --git a/paths.py b/paths.py old mode 100644 new mode 100755 diff --git a/templates/header.html b/templates/header.html index 40df188..de32031 100644 --- a/templates/header.html +++ b/templates/header.html @@ -8,9 +8,7 @@ font-size: 15pt; text-decoration: none !important">Corpus Linguistics
- - LING-367 - GUM Corpus - -
+  + diff --git a/templates/landing.html b/templates/landing.html index cab0c9b..d20e5bd 100644 --- a/templates/landing.html +++ b/templates/landing.html @@ -1,64 +1,71 @@ - - GitDox: **project** - - - - - - + + GitDox: **project** + + + + + + - - - - - - - - - - **navbar** -
- **header** -
-

GitDox: Project **project**

-

For help getting started see the wiki

+ + + + + + + + + + **navbar** +
+ **header** +
+

GitDox: Project **project**

+
+ **user** +
+ + +
-

- **user** -

- - -
+
+ + admin
+
-
- - admin
+ **validation_rules** - **validation_rules** - -
- - validate
- -

-
Choose a corpus: - -
-
- **table** -
- -
-
- - New -
- -
- - - \ No newline at end of file +
+ + validate
+
+

For help getting started see the wiki

+

+

+ + +
Choose a corpus: + +
+
+

+ +

+

+ +
+ + New Document +
+
+

+ **table** +
+
+ + + diff --git a/users/config.ini b/users/config.ini index ad59602..73f6e69 100644 --- a/users/config.ini +++ b/users/config.ini @@ -1,15 +1,15 @@ -# paths can be relative to the rstweb main folder +# paths can be relative to the main GitDox folder templatedir = templates/login/ # path to the login template directory (absolute or relatve from script *calling* login.py) controltemplates = templates/control/ # path to the control template directory -skin = css/scriptorium.css -project = Scriptorium -banner = http://copticscriptorium.org/nav.html +skin = css/gum.css +project = GitDox # Specify your project name here +banner = header.html #note you can also use web addresses to retrieve a banner from your project page, e.g. http://myproject.org/nav.html cookiepath = "" # the 'super-url' of the scripts - for the cookie. Can be '' if no other script in your domain uses cookies adminuser = admin # the login name who is the *main* administrator account. This one cannot be deleted. -editor_help_link =

For help getting started see the wiki

-xml_nlp_button = """ⲁ|ϥ Tokenize""" +editor_help_link =

For help getting started see the GitDox website

+xml_nlp_button = """I|'m Tokenize""" spreadsheet_nlp_button = """ NLP""" -xml_nlp_api = https://corpling.uis.georgetown.edu/coptic-nlp/api +xml_nlp_api = https://corpling.uis.georgetown.edu/coptic-nlp/tt_tokenize spreadsheet_nlp_api = https://corpling.uis.georgetown.edu/coptic-nlp/api ether_url = /ethercalc/