Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI: Use Mustache.jl templates #164

Merged
merged 6 commits into from May 21, 2019
Merged

WebUI: Use Mustache.jl templates #164

merged 6 commits into from May 21, 2019

Conversation

nkottary
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented May 20, 2019

Codecov Report

Merging #164 into master will decrease coverage by 0.14%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
- Coverage   14.14%   13.99%   -0.15%     
==========================================
  Files          27       27              
  Lines        1188     1186       -2     
==========================================
- Hits          168      166       -2     
  Misses       1020     1020
Impacted Files Coverage Δ
src/webui/WebUI.jl 36.61% <ø> (ø) ⬆️
src/webui/webutils.jl 78.57% <100%> (+1.64%) ⬆️
src/webui/routes/select.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45a6ae9...37ff4f9. Read the comment docs.

Copy link
Member

@christopher-dG christopher-dG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea 👍

src/webui/webutils.jl Outdated Show resolved Hide resolved
src/webui/webutils.jl Outdated Show resolved Hide resolved
src/webui/webutils.jl Outdated Show resolved Hide resolved
@nkottary nkottary merged commit 9a35bf2 into master May 21, 2019
@nkottary nkottary deleted the nk/mustache branch May 21, 2019 08:57
</body>
</html>
"""
doc = render_from_file(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, for future reference this is what I mean every time I bring it up:

doc = render_from_file(
    INDEX_TPL,  # Four spaces indented
    # ...
)  # Zero spaces indented

</div>
"""

body = render_from_file(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same thing here -- don't worry about changing it now but just keep it in mind 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants