Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/orcid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@pontapreta.net>2017-02-07 22:40:52 +0300
committerMaxence Lange <maxence@pontapreta.net>2017-02-07 22:40:52 +0300
commit3a91948c7ce6eaa4a54d0502905c02142e070c21 (patch)
treed0b82d8df19d5be65e23d64f7435c50aa06008b2 /templates
parent0d25b0f08d885c1da98e143d5322fa44fe0897cd (diff)
first commit
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/about.php11
-rw-r--r--templates/settings.admin.php37
-rw-r--r--templates/settings.personal.php31
-rwxr-xr-xtemplates/thanks.php35
4 files changed, 114 insertions, 0 deletions
diff --git a/templates/about.php b/templates/about.php
new file mode 100755
index 0000000..1feec89
--- /dev/null
+++ b/templates/about.php
@@ -0,0 +1,11 @@
+<div class='orcid-popup'>
+ <p>
+ ORCID provides you with digital identifier that uniquely identifies you as a researcher.
+ Learn more at <a href="http://orcid.org">orcid.org</a>.
+ </p>
+ <br />
+ <p>
+ Connecting an ORCID identifier allows seamless publication of datasets and
+ attribution of these datasets to you.
+ </p>
+</div>
diff --git a/templates/settings.admin.php b/templates/settings.admin.php
new file mode 100644
index 0000000..0da5836
--- /dev/null
+++ b/templates/settings.admin.php
@@ -0,0 +1,37 @@
+<?php
+script('orcid', 'admin');
+style('orcid', 'admin');
+
+?>
+
+<fieldset id="orcidAdminSettings" class="section">
+ <h2>
+ <img src="/apps/user_orcid/img/orcid.png"> ORCID
+ </h2>
+ <table style="width: 650px;">
+ <tr class="orcid_admin_head">
+ <td class="orcid_admin_head" colspan="2">Client credentials</td>
+ </tr>
+ <tr>
+ <td class="orcid_admin_left">Client App ID:</td>
+ <td><input type='text' style="width: 250px" name='inputclientappid'
+ id='inputclientappid' original-title=''
+ title='Set the Client app ID for OAuth'></td>
+ </tr>
+ <tr>
+ <td class="orcid_admin_left">Client Secret:</td>
+ <td><input type='text' name='inputclientsecret' style="width: 250px"
+ id='inputclientsecret' original-title=''
+ title='Set the Client secret for OAuth'></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><input type='submit' value='Store OAuth values'
+ style="width: 250px" original-title='' style="width: 250px"
+ id='clientsubmit' name='clientsubmit' title='Store OAuth values'></input></td>
+ </tr>
+ </table>
+ <div id='clientstatus' style="font-size: .8em;"></div>
+
+</fieldset>
+
diff --git a/templates/settings.personal.php b/templates/settings.personal.php
new file mode 100644
index 0000000..df2e744
--- /dev/null
+++ b/templates/settings.personal.php
@@ -0,0 +1,31 @@
+<?php
+script('orcid', 'personal');
+style('orcid', 'personal');
+
+?>
+
+<fieldset id="orcidPersonalSettings" class="section">
+ <h2 id="orcid-info">ORCID</h2>
+
+
+ <br />
+ <?php
+
+if ($_['orcid'] !== '') {
+ ?>
+ <div>
+ <span>My ORCID:</span> <a class="orcid"
+ href="http://orcid.org/<?php echo $_['orcid'];?>">http://orcid.org/<?php echo $_['orcid'];?></a>
+ </div>
+ <br />
+ <?php } ?>
+ <div>
+ <button id="connect-orcid-button">
+ <img id="orcid-id-logo"
+ src="http://orcid.org/sites/default/files/images/orcid_24x24.png"
+ width='24' height='24' alt="ORCID logo" />Create or Connect your
+ ORCID iD
+ </button>
+ </div>
+</fieldset>
+
diff --git a/templates/thanks.php b/templates/thanks.php
new file mode 100755
index 0000000..4fe1beb
--- /dev/null
+++ b/templates/thanks.php
@@ -0,0 +1,35 @@
+<head>
+ <title>Thanks</title>
+ <meta charset="utf-8">
+ <link rel="apple-touch-icon-precomposed" href="/themes/deic_theme_oc7/core/img/favicon-touch.png">
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600,700,800">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/core/css/styles.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/core/css/fonts.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/core/css/apps.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/core/css/fixes.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/core/css/jquery.ocdialog.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/settings/css/settings.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/css/bootstrap.min.css" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/css/deic-icons.css" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/css/styles.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/css/header.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <link rel="stylesheet" href="<?php echo(OC::$WEBROOT);?>/apps/user_orcid/css/style.css?v=cf866614b6b18cda13fe699a3a65661b" type="text/css" media="screen">
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/core/js/jquery-1.10.0.min.js?v=cf866614b6b18cda13fe699a3a65661b">
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/js/jquery.ocdialog.js?v=cf866614b6b18cda13fe699a3a65661b"></script>
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/js/oc-dialogs.js?v=cf866614b6b18cda13fe699a3a65661b"></script>
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/js/js.js?v=cf866614b6b18cda13fe699a3a65661b"></script>
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="<?php echo(OC::$WEBROOT);?>/themes/deic_theme_oc7/core/js/deic-data.js"></script>
+</head>
+
+<div class='orcid-popup'>
+ <h3>
+ Thank you for connecting your ORCID <img class="orcid_img" src="/apps/user_orcid/img/orcid.png" />
+ </h3>
+</div>
+
+<script>
+setTimeout(function(){
+ window.close();
+}, 2000);
+</script> \ No newline at end of file