-
+
diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network.zip b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network.zip index 8eea2abe18..14ea854f52 100644 Binary files a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network.zip and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network.zip differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/README.txt b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/README.txt new file mode 100644 index 0000000000..8e2240bbfd --- /dev/null +++ b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/README.txt @@ -0,0 +1,11 @@ +Template provided by InteractiveVis project +http://blogs.oii.ox.ac.uk/vis/ +https://github.com/oxfordinternetinstitute/InteractiveVis/ + +Important. The files must be uploaded to a webserver (or run one locally) in order to be viewed. JavaScript security prevents running the pages locally without a webserver. + +The InteractiveVis project of the Oxford Internet Institute with funding by JISC aims to allow easy creation of interactive visualisations for geospatial and network data using native web technologies (HTML5, CSS3, and SVG) and allow these visualisations to be self-contained so that they may run entirely offline in ebooks and other media. The project will survey existing solutions and build the necessary components to fill in missing features and smooth over incompatibilities in between existing libraries. The project will further provide online hosted wizards to allow for the easy creation of these interactive visualizations. + +More information about the project is available on the project blog: +http//blogs.oii.ox.ac.uk/vis/ + diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/style.css b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/style.css new file mode 100644 index 0000000000..3415b535d6 --- /dev/null +++ b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/style.css @@ -0,0 +1,577 @@ +* { +padding: 0px; +margin: 0px; +} + +.cf:before, .cf:after { + content: ""; + display: table; +} + +.cf:after { + clear: both; +} + +.cf { + zoom: 1; +} + +html,body { + width: 100%; + height: 100%; + margin: 0px; + padding: 0px; + font-size: 12px; + font-family: sans-serif; + line-height:1.25em; +} + +.sigma-parent { + position: relative; + height: 100%; +} + +.sigma-expand { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background-color: #eee; + background-position: center center; + background-repeat: no-repeat; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +canvas#sigma_bg_1 { + display: none; +} + +#attributepane { + display: block; + display: none; + position:absolute; + height:auto; + bottom:0; + top:0; + right:0; + width: 240px; + background-color: #fff; + margin: 0; + word-wrap: break-word; + background-color:rgba(255,255,255,0.8); + border-left: 1px solid #ccc; + padding: 0px 18px 0px 18px; + z-index: 1; +} + + +#attributepane .text { + height:100%; +} + +#attributepane .headertext { + color: #000; + margin-bottom: 5px; + height: 14px; + border-bottom: 1px solid #999; + padding: 0px 0 10px 0; + font-size:16px; + font-weight:bold; +} + + +#attributepane .returntext em { + background-image: url('../images/sprite.png'); + background-repeat: no-repeat; + display: block; + width: 20px; + height: 20px; + background-position: -91px -13px; + float: left; +} + +#attributepane .returntext span { + padding-left: 5px; + display: block; +} + +#attributepane .close { + padding-left: 14px; + margin-top: 10px; +} + +#attributepane .close .c { + border-top: 2px solid #999; + padding: 10px 0 14px 0; +} + +#attributepane .close em { +background-image: url('../images/sprite.png'); +background-repeat: no-repeat; +background-position: -11px -13px; +display: block; +width: 24px; +height: 16px; +float: left; +} + +#attributepane .close span { +display: block; +width: 151px; +float: left; +} + +#attributepane .nodeattributes { + display:block; + height:85%; + overflow-y: scroll; + overflow-x: hidden; + border-bottom:1px solid #999; +} + +#attributepane .name { +font-size: 14px; +cursor: default; +padding-bottom: 10px; +padding-top: 18px; +font-weight:bold; +} + +#attributepane .data { + +} + +#attributepane .data .plus { +background-repeat: no-repeat; +background-image: url('../images/sprite.png'); +background-position: -171px -122px; +width: 22px; +height: 20px; +float: left; +display: block; +} + +#attributepane .link { +padding: 0 0 0 4px; +} + +#attributepane .link li { +padding-top: 2px; +cursor:pointer; +} + +#attributepane .p { +padding-top: 10px; +font-weight: bold; +font-size:14px; +} + +.left-close { +background-image: url('../images/fancybox_sprite.png'); +margin-left:-37px; +z-index:99999; +cursor: pointer; +padding-left:31px; +line-height:36px; +background-repeat: no-repeat; +margin-bottom:25px; +font-weight: bold; +font-size:14px; + +} + +#developercontainer { + margin-left:25px; + margin-bottom:25px; + position:fixed; + bottom:0; +} + +#jisc { +width: 71px; +height: 56px; +background-image: url('../images/jisc-logo-small.png'); +background-repeat: no-repeat; +display:inline-block; +} + +#jisc span { + display:none; +} + +#oii { +width: 227px; +height: 56px; +background-image: url('../images/oii_text.png'); +background-repeat: no-repeat; +display:inline-block; +margin-right:10px; + +} + +#oii span { + display:none; +} + +#maintitle { +width: 100%; +height: 72px; +background-repeat: no-repeat; +margin-bottom:20px; +} + +#maintitle h1 { +display: none; +} + +#mainpanel { +margin-top: 50px; +margin-left: 25px; +background:#fff; +background-color:rgba(255,255,255,0.8); +border:1px solid #ccc; +z-index:20; +position:fixed; +top:0; +} + +#mainpanel .b1 { +padding: 0px 0 0 0; +} + +#mainpanel .col { +width: 240px; +padding: 18px 18px 18px 18px; +margin: 0; + +} + +#title { +font-weight: bold; +} + +#titletext { +padding: 6px 0 10px 0; +} + +#info { + padding-bottom:15px; +} + + +#search { + border-top: 1px solid #999; + padding: 20px 0 0px 2px; +} + +#search input[name=search] { +border: 1px solid #999; +background-color: #fff; +padding: 5px 7px 4px 7px; +width: 205px; +color: #000; +} + +#search input.empty { +color: #000; +} + +#search .state { +width: 14px; +height: 14px; +background-image: url('../images/sprite.png'); +float: right; +margin-top: 6px; +cursor: pointer; +background-position: -131px -13px; +} + +#search .state.searching { +background-position: -11px -13px; +} + +#search .results { + display: none; +/* border: 1px solid #999;*/ + margin: 6px; + /*height: 150px;*/ + overflow-y: scroll; + overflow-x: hidden; +} + +#search .results b { +padding-left: 2px; +} + +#search .results a { +padding: 1px 2px; +display: block; +cursor: pointer; +text-decoration: none; +color: #000; +} + +#search .results a:hover { +background-color: #999; +color: #fff; +} + +#attributeselect { +margin: 20px 0 13px 0 ; +-webkit-touch-callout: none; +-webkit-user-select: none; +-khtml-user-select: none; +-moz-user-select: none; +-ms-user-select: none; +user-select: none; +} + +#attributeselect .select { + border: 1px solid #999; + padding: 5px 7px 4px 7px; + color: #fff; + cursor: pointer; + background-color: #999; + background-image: url('../images/sprite.png'); + background-repeat: no-repeat; + background-position: 200px -144px; +} + +#attributeselect .close { +background-position: 200px -8px; +} + +#attributeselect .list { + display: none; + border: 1px solid + #999; + padding: 6px; + height: 150px; + width: 226px; + overflow-y: scroll; + overflow-x: hidden; + background-color: #999; + /*position: relative; + left: 240px; + bottom: 164px;*/ + position:absolute; + margin-left: 240px; + margin-top:-164px; + color: white; +} + +#attributeselect .list a { +display:block; +padding: 2px; +text-decoration: none; +color: #fff; +} + +#attributeselect .list a:hover { +background-color: #fff; +color: #000; +} + +.link h2 { +font-size: 1em; +padding-top: 1em; +} + +#mainpanel dl { + padding-bottom:10px; +} + +#mainpanel h2 { + font-size:14px; +} + +#mainpanel dt { +width: 20px; +height: 20px; +float: left; +background-repeat: no-repeat; +background-image: url('../images/sprite.png'); +} + +#legend dl { +} + +#mainpanel h2 { + padding-bottom:10px; +} + +#legend dd { +margin-bottom: 8px; +color: #000; +} + +#mainpanel .infos dd { +margin-bottom: 12px; +} + +#mainpanel .node { +background-position: -11px -119px; +} + +#mainpanel .edge { +background-position: -51px -122px; +} + +#mainpanel .colours { + +background-image:url('../images/rainbow.png'); + +} +#legend .note { +margin-bottom: 8px; + +} + +#mainpanel .regions { +background-position: -171px -13px; +} + +#mainpanel .download { +background-position: -51px -13px; +} + +#mainpanel .moreinformation { +background: url('../images/info.png'); +background-repeat: no-repeat; +margin-left: 5px; +} + +#copyright { + margin:0 auto; + position: fixed; + right: 40px; + bottom: 25px; + z-index:0; +} + +#copyright a { +color: #000; +} + +#copyright .explanation { +display: none; +} + +#zoom { + z-index:999; + position: fixed; + left: 45%; + bottom: 25px; + margin:0 auto; + padding: 0; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + text-align:left; +} + +#zoom .z { + background:#fff; + background-color:rgba(255,255,255,0.7); + width: 60px; + height: 60px; + cursor: pointer; + border:1px solid #ccc; + float:left; + margin-right:4px; + background-repeat:no-repeat; +} + +#zoom .z[rel=center] { + background-image: url('../images/zoom_reset.png'); + background-position:center; +} + +#zoom .z[rel=in] { + background-image: url('../images/zoom_in.png'); + background-position:center; +} + +#zoom .z[rel=out] { + background-image: url('../images/zoom_out.png'); + background-position:center; +} + +.line { + font-size: 12px; + color: #000; + text-decoration: none; + font-weight: bold; + cursor: pointer; + cursor: hand; +} + +#information { +display: none; +background: #fff; +padding: 1px 10px 10px 10px; +} + +#information h3 { +margin: 14px 0 4px 0; +} + +#information p { +margin: 0 0 4px 0; +} + +#information .button { +width: 14px; +height: 14px; +background-image: url('../images/sprite.png'); +border: 1px solid #999; +display: inline-block; +*display: inline; +*zoom: 1; +} + +#information .button span { +display: none; +} + +#information .button.plus { +background-position: -91px -122px; +} + +#information .button.moins { +background-position: -131px -122px; +} + +#minify { +background-color: #fff; +padding: 4px 4px 4px 25px; +cursor: pointer; +background-image: url('../images/sprite.png'); +background-repeat: no-repeat; +background-position: -167px -118px; +position: absolute; +top: 65px; +left: 15px; +display: none; +} + +#minifier { +position: absolute; +width: 20px; +height: 16px; +background-image: url('../images/sprite.png'); +background-repeat: no-repeat; +background-position: -45px -147px; +cursor: pointer; +display: none; +} + diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/tablet.css b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/tablet.css new file mode 100644 index 0000000000..f89216db68 --- /dev/null +++ b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/css/tablet.css @@ -0,0 +1,3 @@ +#developercontainer { + display:none; +} \ No newline at end of file diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/htaccess_example b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/htaccess_example new file mode 100644 index 0000000000..e2974bcfa2 --- /dev/null +++ b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/htaccess_example @@ -0,0 +1,2 @@ +AddType application/json json +AddType text/xml gexf diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/CC.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/CC.png new file mode 100644 index 0000000000..affea55d1a Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/CC.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/blank.gif b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/blank.gif new file mode 100755 index 0000000000..35d42e808f Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/blank.gif differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_loading.gif b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_loading.gif new file mode 100755 index 0000000000..01586176d7 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_loading.gif differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_sprite.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_sprite.png new file mode 100755 index 0000000000..a1aae1a24f Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/fancybox_sprite.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/info.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/info.png new file mode 100644 index 0000000000..707316ecb9 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/info.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/jisc-logo-small.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/jisc-logo-small.png new file mode 100644 index 0000000000..4dc3395757 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/jisc-logo-small.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii.png new file mode 100644 index 0000000000..ee716ab5b2 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_brand.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_brand.png new file mode 100644 index 0000000000..940d8bc3f2 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_brand.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_text.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_text.png new file mode 100644 index 0000000000..3c071b263c Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/oii_text.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/rainbow.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/rainbow.png new file mode 100644 index 0000000000..a344bfcd98 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/rainbow.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/sprite.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/sprite.png new file mode 100644 index 0000000000..0c6353ef0b Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/sprite.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_in.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_in.png new file mode 100755 index 0000000000..21f0d25ee7 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_in.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_out.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_out.png new file mode 100755 index 0000000000..d4231f82ed Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_out.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_reset.png b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_reset.png new file mode 100755 index 0000000000..26244c2559 Binary files /dev/null and b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/images/zoom_reset.png differ diff --git a/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/index.html b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/index.html new file mode 100644 index 0000000000..f201f61e6e --- /dev/null +++ b/modules/sigmaExporter/src/main/resources/uk/ac/ox/oii/sigmaexporter/resources/network/index.html @@ -0,0 +1,112 @@ + + + +
+The requested content cannot be loaded.
Please try again later.
| t |