Compare commits
2 Commits
detect-bet
...
advanced-s
Author | SHA1 | Date | |
---|---|---|---|
4b90057664 | |||
90f49e7626 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
feedback_database.json
|
||||
config_centillion.py
|
||||
config_flask.py
|
||||
vp
|
||||
credentials.json
|
||||
|
@@ -342,10 +342,5 @@ def store_search(query, fields):
|
||||
if __name__ == '__main__':
|
||||
# if running local instance, set to true
|
||||
os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = 'true'
|
||||
port = os.environ.get('CENTILLION_PORT','')
|
||||
if port=='':
|
||||
port = 5000
|
||||
else:
|
||||
port = int(port)
|
||||
app.run(host="0.0.0.0",port=port)
|
||||
app.run(host="0.0.0.0",port=5000)
|
||||
|
||||
|
@@ -1,28 +0,0 @@
|
||||
config = {
|
||||
"repositories" : [
|
||||
"dcppc/project-management",
|
||||
"dcppc/nih-demo-meetings",
|
||||
"dcppc/internal",
|
||||
"dcppc/organize",
|
||||
"dcppc/dcppc-bot",
|
||||
"dcppc/full-stacks",
|
||||
"dcppc/design-guidelines-discuss",
|
||||
"dcppc/dcppc-deliverables",
|
||||
"dcppc/dcppc-milestones",
|
||||
"dcppc/crosscut-metadata",
|
||||
"dcppc/lucky-penny",
|
||||
"dcppc/dcppc-workshops",
|
||||
"dcppc/metadata-matrix",
|
||||
"dcppc/data-stewards",
|
||||
"dcppc/dcppc-phase1-demos",
|
||||
"dcppc/apis",
|
||||
"dcppc/2018-june-workshop",
|
||||
"dcppc/2018-july-workshop",
|
||||
"dcppc/2018-august-workshop",
|
||||
"dcppc/2018-september-workshop",
|
||||
"dcppc/design-guidelines",
|
||||
"dcppc/2018-may-workshop",
|
||||
"dcppc/centillion"
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
@@ -7,18 +7,11 @@
|
||||
<div class="col12sm" id="banner-col">
|
||||
<center>
|
||||
<a id="banner-a" href="{{ url_for('search')}}?query=&fields=">
|
||||
{% if 'betasearch' in request.url %}
|
||||
<img id="banner-img" src="{{ url_for('static', filename='centillion_white_beta.png') }}">
|
||||
{% elif 'localhost' in request.url %}
|
||||
<img id="banner-img" src="{{ url_for('static', filename='centillion_white_localhost.png') }}">
|
||||
{% else %}
|
||||
<img id="banner-img" src="{{ url_for('static', filename='centillion_white.png') }}">
|
||||
{% endif %}
|
||||
<img id="banner-img" src="{{ url_for('static', filename='centillion_white.png') }}">
|
||||
</a>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if config['TAGLINE'] %}
|
||||
<div class="row" id="tagline-row">
|
||||
<div class="col12sm" id="tagline-col">
|
||||
|
@@ -10,12 +10,15 @@
|
||||
<form action="{{ url_for('search') }}" name="search">
|
||||
<p><input type="text" name="query" value="{{ query }}">
|
||||
</p>
|
||||
<p><button id="the-big-one" type="submit" style="font-size: 20px; padding: 10px; padding-left: 50px; padding-right: 50px;"
|
||||
<p><button id="the-big-one" type="submit"
|
||||
style="font-size: 20px; padding: 10px; padding-left: 50px; padding-right: 50px;"
|
||||
value="search" class="btn btn-primary">Search</button>
|
||||
</p>
|
||||
|
||||
<p><a href="#" onClick="advanced_search()">[Advanced Search]</a>
|
||||
|
||||
{% if parsed_query %}
|
||||
<p><a href="{{ url_for('search')}}?query=&fields=">[clear all results]</a>
|
||||
<p><a href="{{ url_for('search')}}?query=&fields=">[Clear All Results]</a>
|
||||
{% endif %}
|
||||
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user