aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-06-18 14:10:59 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-06-18 14:36:41 +0200
commit15a0543ab38f1fcbc29dc058b8d02fcfe376ee8f (patch)
treeeeb57cbcd9ab22fdab0c125d66e985f70a6ab2f1 /templates
parentdb5847e1ec6338e6fc298415fdb25fa8d1740bc6 (diff)
downloadreploy-15a0543ab38f1fcbc29dc058b8d02fcfe376ee8f.tar.gz
reploy-15a0543ab38f1fcbc29dc058b8d02fcfe376ee8f.tar.bz2
proper index
Diffstat (limited to 'templates')
-rw-r--r--templates/bigcards.html34
-rw-r--r--templates/index.html1
-rw-r--r--templates/searchresults.html2
3 files changed, 36 insertions, 1 deletions
diff --git a/templates/bigcards.html b/templates/bigcards.html
new file mode 100644
index 0000000..93aa6a7
--- /dev/null
+++ b/templates/bigcards.html
@@ -0,0 +1,34 @@
+<div class="index-cards">
+ <div class="index-card">
+ <a href="{{root}}tag/admin">
+ <div class="index-card-icon index-icon-admin"></div>
+ <div class="index-card-title">
+ Administrative processes, Staff and Campus
+ </div>
+ </a>
+ </div>
+ <div class="index-card">
+ <a href="{{root}}tag/it">
+ <div class="index-card-icon index-icon-it"></div>
+ <div class="index-card-title">
+ Bioinformatics, Computational methods and IT
+ </div>
+ </a>
+ </div>
+ <div class="index-card">
+ <a href="{{root}}tag/lab">
+ <div class="index-card-icon index-icon-lab"></div>
+ <div class="index-card-title">
+ Wetlab equipment and processes
+ </div>
+ </a>
+ </div>
+ <div class="index-card">
+ <a href="{{root}}tag/publication">
+ <div class="index-card-icon index-icon-pub"></div>
+ <div class="index-card-title">
+ Publications and Responsible Reproducible Research
+ </div>
+ </a>
+ </div>
+</div>
diff --git a/templates/index.html b/templates/index.html
index 7a686b7..d7eaba0 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,6 +3,7 @@
<body>
{{> header.html}}
{{> searchform.html}}
+{{> bigcards.html}}
{{{body}}}
{{> footer.html}}
</body>
diff --git a/templates/searchresults.html b/templates/searchresults.html
index 4afb6f7..b0dc750 100644
--- a/templates/searchresults.html
+++ b/templates/searchresults.html
@@ -8,7 +8,7 @@
<div id="search_noquery">
<p>Enter a few words into the box above to start the search.</p>
<p>You may use <code>*</code> for wildcard search, and prefixes <code>+</code> for required terms and <code>-</code> for unwanted terms.</p>
- <p><strong>Example:</strong> <code>laboratory noteb* +red -code</code> will find information about <em>laboratory notebooks</em> that must also describe something <em>red</em>, but do not contain any mention of <em>code</em>.</p>
+ <p><strong>Example:</strong> <code>laboratory noteb* +red -code</code> will find cards about <em>laboratory notebooks</em> that must also describe something <em>red</em>, but do not contain any mention of <em>code</em>.</p>
</div>
<div id="search_success" style="display: none">