-
Notifications
You must be signed in to change notification settings - Fork 2
Admin manual
The live page www.encima.one has an admin view that authorized users can use to edit the page's content. It can be reached on www.encima.one/admin
The first time you reach the admin view you'll see a smaller version of the live page inside a blue box and the option to login.
Click on login
to be redirected to a google authorization page. Insert your google credentials. If you are a whitelisted user with admin rights, you'll get back to Encima's admin view and now see this.
The admin editor gives you the option to edit the content on four different parts of the page:
- Header and footer
- Navigation
- Cell descriptions
- Tumor descriptions
Editing the content means mostly editing the text and its formatting in the different parts. There is no option to change the general layout of the page, except from modifying the navigation bar.
You can choose which part to edit by clicking the buttons below the blue box. Insert your changes in the respective input fields. By default, your changes will appear in real-time inside the version of the page shown in the blue box. This mode is specified in the grey box in the top of the page saying "Showing staged version". You can click this box to switch to the mode "Showing live version" to see what's actually on the current live version of the page. Click again to switch back to "Showing staged version".
If you are happy with your changes, click on "Move staging to live" in the grey box in the top of the page. This will save your changes and update the live page. Because you are modifying the live page with this, you'll have click twice to confirm that you want to save.
Inside the blue box, you can click around and use the page at all times in the same way as you would use the real page.
Inside the input fields you can insert text using Markdown. This means that you can format your text using symbols on your keyboard. A short summary of the most important symbols and how to use them can be found here: https://commonmark.org/help/
More advanced formatting can be found online by searching for "markdown cheat sheet" or similar. Note that the purpose of this is mainly to do basic formatting for the text (bold, italic, headings, links, lists etc).
Apart from that it's possible to insert images by using a URL to the image. That means, the image needs to exist somewhere else on the web and is only linked here. You can do that using this syntax: ![Image](http://some-example-url/some-file-name.png)
If the URL is a valid URL, the image will show up like this:
[screenshot]
If the URL is broken, the text you specified within square brackets will show up. Make sure to use some descriptive text. [screen shot of broken link]
The sections "cell descriptions" and "tumor descriptions" have a filter field on top that will filter the input fields by the names of the cell types / tumors in real time.
The navigation section gives you the option to add pages to the navigation bar in the top of the encima-page. To add a page, simply add it's title in the input field "Sections". A new input field for the page will show up in the bottom of the edit view, just scroll down.
In all sections you have the option to switch to a low level edit mode that will show the whole text content of the page in a JSON format. If you prefer, you can edit the sections here, still using symbols for markdown formatting.