diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-04-18 02:38:35 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-04-18 02:50:54 +0200 |
commit | 35a41e63ebd5f6cf9d17419c150eb53a005d2e87 (patch) | |
tree | e0bcc21bbb1e7e200857cfbd52acb82b008a3a6d /app/views/bugs | |
parent | Display version and last update in the footer (diff) | |
download | glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.tar.gz glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.tar.bz2 glsamaker-35a41e63ebd5f6cf9d17419c150eb53a005d2e87.zip |
Add the initial version of the rewritten glsamaker
The glsamaker has been completly rewritten in go. It is
using postgres instead of mysql now. The look and feel is
based on tyrian.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'app/views/bugs')
-rw-r--r-- | app/views/bugs/create.html.erb | 2 | ||||
-rw-r--r-- | app/views/bugs/create.js.erb | 6 | ||||
-rw-r--r-- | app/views/bugs/destroy.html.erb | 2 | ||||
-rw-r--r-- | app/views/bugs/new.html.erb | 34 | ||||
-rw-r--r-- | app/views/bugs/show.html.erb | 2 |
5 files changed, 0 insertions, 46 deletions
diff --git a/app/views/bugs/create.html.erb b/app/views/bugs/create.html.erb deleted file mode 100644 index aa3490b..0000000 --- a/app/views/bugs/create.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -<h1>Bugs#create</h1> -<p>Find me in app/views/bugs/create.html.erb</p> diff --git a/app/views/bugs/create.js.erb b/app/views/bugs/create.js.erb deleted file mode 100644 index 13a466b..0000000 --- a/app/views/bugs/create.js.erb +++ /dev/null @@ -1,6 +0,0 @@ -<% if @error == nil %> -Element.insert('bugtable', { bottom: '<%= escape_javascript(@bugs_text).html_safe %>'}); -Modalbox.hide(); -<% else %> -alert('<%= escape_javascript(@error).html_safe %>'); -<% end %>
\ No newline at end of file diff --git a/app/views/bugs/destroy.html.erb b/app/views/bugs/destroy.html.erb deleted file mode 100644 index b08c545..0000000 --- a/app/views/bugs/destroy.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -<h1>Bugs#destroy</h1> -<p>Find me in app/views/bugs/destroy.html.erb</p> diff --git a/app/views/bugs/new.html.erb b/app/views/bugs/new.html.erb deleted file mode 100644 index 63ca3c8..0000000 --- a/app/views/bugs/new.html.erb +++ /dev/null @@ -1,34 +0,0 @@ -<% if @glsa.nil? %> -<p>No or invalid GLSA ID specified.</p> -<% else %> -<%= form_tag(glsa_bugs_path(@glsa, @bug), :remote => true) do -%> -<%# form_remote_tag( - :url => { :controller => :glsa, :action => :addbugsave, :id => @glsa_id.to_s }, - :update => {:success => 'bugtable'}, - :position => :bottom, - :before => '$("addbugsubmit").value="Loading...";', - :after => '$("addbugsubmit").value="Add bugs";', - :success => 'Modalbox.hide();', - :failure => 'alert(request.responseText);') do -%> -<p><label for="addbugs"> - <%= image_tag 'icons/bug.png' %> - Please enter the relevant bug ID(s), separate more than one bug with a comma:</label> -</p> - -<p><input type="text" name="addbugs" id="addbugs" class="hugetext nice"/></p> -<script language="javascript"> -new Form.Element.Observer('addbugs', 4, function(element, value) { - new Ajax.Request("<%= url_for :controller => 'tools', :action => 'bugs_ajax_info' %>", { - method: 'get', - parameters: { bugs: $('addbugs').getValue() }, - onComplete : function(transport) { - $('ajaxbugs').update(transport.responseJSON.buginfo); - Modalbox.resizeToContent(); - } - }); -}); -</script> -<div id="ajaxbugs"></div> -<p style="text-align: right;"><input type="submit" class="button" value="Add bugs" id="addbugsubmit" /></p> -<% end -%> -<% end %>
\ No newline at end of file diff --git a/app/views/bugs/show.html.erb b/app/views/bugs/show.html.erb deleted file mode 100644 index 736728a..0000000 --- a/app/views/bugs/show.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -<h1>Bugs#show</h1> -<p>Find me in app/views/bugs/show.html.erb</p> |