repo-tree.html
exported SGML document, ASCII text
1{% extends "repo.html" %} 2{% block content %} 3<!-- 4<dialog id="commit-dialog"> 5<x-frame style="--width: 768px; --margin: 0;"> 6<div class="card"> 7<section class="card-main"> 8<form> 9<x-vbox> 10<x-hbox style="align-items: center; justify-content: space-between;"> 11<h3>Commit</h3> 12<button class="button-flat big-button"><iconify-icon icon="mdi:close"></iconify-icon></button> 13</x-hbox> 14<div> 15<h4>Changes (-100, +100)</h4> 16<ul> 17<li>File 1: removed</li> 18<li>File 2: created</li> 19<li>File 3: modified</li> 20</ul> 21</div> 22<x-vbox class="flexible-space nopad"> 23<input id="commit-message" placeholder="Commit message"> 24<textarea rows="6"></textarea> 25</x-vbox> 26<x-buttonbox class="buttonbox-right"> 27<button class="button-flat" onclick="document.getElementById('stash-dialog').showModal(); return false;"> 28<iconify-icon icon="mdi:close-box-multiple"></iconify-icon> 29Stash 30</button> 31<button> 32<iconify-icon icon="mdi:send-check"></iconify-icon> 33Commit 34</button> 35</x-buttonbox> 36</x-vbox> 37</form> 38</section> 39</div> 40</x-frame> 41</dialog> 42<dialog id="stash-dialog"> 43<x-frame style="--width: 320px; --margin: 0;"> 44<div class="card"> 45<section class="card-main"> 46<form method="dialog"> 47<x-vbox> 48<div> 49<h4>Stash changes</h4> 50<p>Are you sure you want to stash your changes? They will be permanently lost.</p> 51</div> 52<x-buttonbox class="buttonbox-right"> 53<button class="button-flat"> 54No 55</button> 56<button class="button-flat"> 57Yes 58</button> 59</x-buttonbox> 60</x-vbox> 61</form> 62</section> 63</div> 64</x-frame> 65</dialog> 66--> 67 68<x-vbox> 69<!-- 70<x-frame style="--width: 896px;"> 71<article class="card"> 72<section class="card-main"> 73<x-hbox style="align-items: center; justify-content: space-between;"> 74You've got uncommitted changes (N files) 75<x-buttonbox> 76<button class="button-flat" onclick="document.getElementById('stash-dialog').showModal();"> 77<iconify-icon icon="mdi:close-box-multiple"></iconify-icon> 78Stash 79</button> 80<button onclick="document.getElementById('commit-dialog').showModal();"> 81<iconify-icon icon="mdi:send"></iconify-icon> 82Commit 83</button> 84</x-buttonbox> 85</x-hbox> 86</section> 87</article> 88</x-frame> 89<dialog id="new-branch"> 90<x-frame style="--width: 448px; --margin: 0;"> 91<div class="card"> 92<section class="card-main"> 93<form method="get"> 94<x-vbox> 95<div> 96<h4>Create new branch</h4> 97<p>The branch will be based on the currently selected branch.</p> 98</div> 99<x-vbox class="nopad"> 100<label for="current">Copy of:</label> 101<input id="current" name="current" value="{{ current }}" disabled> 102</x-vbox> 103<x-vbox class="nopad"> 104<label for="name">Name</label> 105<input id="name" name="name" placeholder="{{ current }}" value="" required> 106</x-vbox> 107<label><input type="checkbox" id="orphan">Orphan branch</label> 108<x-buttonbox class="buttonbox-right"> 109<button class="button-flat" onclick="document.getElementById('new-branch').close(); document.getElementById('branch-selection').value = 'branch-{{ current }}';"> 110Cancel 111</button> 112<button class="button-flat" type="submit"> 113Create 114</button> 115</x-buttonbox> 116</x-vbox> 117</form> 118</section> 119</div> 120</x-frame> 121</dialog> 122--> 123<x-frame style="--width: 896px;" class="flexible-space"> 124<article class="card"> 125<section class="card-main"> 126<x-vbox> 127<x-buttonbox> 128{% include "path-bar.html" %} 129<button onclick="history.back();" class="button-flat big-button"> 130<iconify-icon icon="mdi:arrow-left"></iconify-icon> 131</button> 132<button onclick="history.forward();" class="button-flat big-button"> 133<iconify-icon icon="mdi:arrow-right"></iconify-icon> 134</button> 135<a href="../" class="button button-flat big-button"> 136<iconify-icon icon="mdi:arrow-up"></iconify-icon> 137</a> 138<a href="/{{ username }}/{{ repository }}/tree/{{ current }}/" class="button button-flat big-button"> 139<iconify-icon icon="mdi:home"></iconify-icon> 140</a> 141<a href="" class="button button-flat big-button"> 142<iconify-icon icon="mdi:refresh"></iconify-icon> 143</a> 144</x-buttonbox> 145{% include "tree-view.html" %} 146<!-- 147<x-buttonbox class="buttonbox"> 148<button class="button-flat big-button"> 149<iconify-icon icon="mdi:file-plus"></iconify-icon> 150</button> 151<button class="button-flat big-button"> 152<iconify-icon icon="mdi:upload"></iconify-icon> 153</button> 154<div class="flexible-space"></div> 155<button class="button-flat big-button" disabled> 156<iconify-icon icon="mdi:open-in-app"></iconify-icon> 157</button> 158<button class="button-flat big-button"> 159<iconify-icon icon="mdi:download"></iconify-icon> 160</button> 161<button class="button-flat big-button"> 162<iconify-icon icon="mdi:share"></iconify-icon> 163</button> 164<button class="button-flat big-button" disabled> 165<iconify-icon icon="mdi:content-copy"></iconify-icon> 166</button> 167<button class="button-flat big-button" disabled> 168<iconify-icon icon="mdi:content-cut"></iconify-icon> 169</button> 170<button class="button-flat big-button" disabled> 171<iconify-icon icon="mdi:content-paste"></iconify-icon> 172</button> 173<button class="button-flat big-button" disabled> 174<iconify-icon icon="mdi:rename"></iconify-icon> 175</button> 176<button class="button-flat big-button" disabled> 177<iconify-icon icon="mdi:delete"></iconify-icon> 178</button> 179</x-buttonbox> 180--> 181</x-vbox> 182</section> 183</article> 184</x-frame> 185</x-vbox> 186{% endblock %}